TTS Outbound Survey Readling Wrong List ID

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Thu Apr 26, 2018 2:10 pm

Well, I've been researching and testing my head off on this one. Hope someone can help. Here it is. We have one server in our cluster dedicated to Cepstral TTS outbound surveys. It has always performed well. It is relative light load and uses a single HDD. We always clone with CloneZilla after any updates to it. 2 weeks ago, the drive went bad. No problem, replace the bad drive with identical spare, restore from clone image and fire it up. Not quite. I ran my test list with my cell phone number in the list to verify correct function. It called me, no audio. No such tts wav file.

[Apr 26 10:07:20] WARNING[10507][C-00000007]: file.c:701 ast_openstream_full: File /var/lib/asterisk/sounds/tts/d3/tts-d3a773a9a11032ad4384e050898f3f79 does not exist in any format

Created new TTS entry and got audio to work but, it calls my number in the assigned camp list and Allison is reading the fname lname from a list that is in a different campaign!!!! It does this every time, the same lead_id name from the wrong list. First thought, database server load. Nope, it's fine. Is the Cepstral install toast?
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mflorell » Thu Apr 26, 2018 2:28 pm

Might want to try clearing out your /var/lib/asterisk/sounds/tts/ directory, it will use cached audio files if they are present and that may be what's happening.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Thu Apr 26, 2018 3:00 pm

Gotcha. Will try
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Thu Apr 26, 2018 3:16 pm

Did that and tts not playing . CLI says:
WARNING[7823][C-00000016]: file.c:701 ast_openstream_full: File /var/lib/asterisk/sounds/tts/d3/tts-d3a773a9a11032ad4384e050898f3f79 does not exist in any format

That is the same file it was looking for earlier.
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mflorell » Thu Apr 26, 2018 4:28 pm

Well, it's not generating for some reason, try looking in the Asterisk CLI output to see if there are any messages about it. Also, if you have AGI output set to BOTH for the server, it should show you the actual command that is being run to generate the audio file, then you can test that command.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Thu Apr 26, 2018 4:50 pm

I set AGI Ouput to BOTH. Tested again and I do not see the command happening to generate. You are correct, not generating the file but it does generate the directory for it in /var/lib/asterisk/sounds/tts such as d3 or c9 etc. I have posted to the Cepstral forums for help
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Thu Apr 26, 2018 5:06 pm

[Apr 26 16:43:16] -- <SIP/voipinnovationsoutbound2-00000018>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr 26 16:43:16] -- Executing [8374@default:3] AGI("SIP/voipinnovationsoutbound2-00000018", "agi-VDAD_ALL_outbound.agi,SURVEYCAMPCEP-----LB") in new stack
[Apr 26 16:43:16] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Apr 26 16:43:16] -- <SIP/voipinnovationsoutbound2-00000018> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Apr 26 16:43:16] WARNING[16509][C-00000019]: file.c:701 ast_openstream_full: File /var/lib/asterisk/sounds/tts/d3/tts-d3a773a9a11032ad4384e050898f3f79 does not exist in any format
[Apr 26 16:43:17] -- <Local/912107222479@default-00000019;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --11-----0 completed, returning 0
[Apr 26 16:43:17] == Spawn extension (default, 912107222479, 3) exited non-zero on 'Local/912107222479@default-00000019;2'
[Apr 26 16:43:27] -- <SIP/voipinnovationsoutbound2-00000018>AGI Script agi-VDAD_ALL_outbound.agi completed, returning -1

This is what I am seeing, looks like running wrong script.
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mflorell » Thu Apr 26, 2018 6:42 pm

I forgot that I threw those in a separate log file, take a look at "Cepstral.2018-04-26"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Fri Apr 27, 2018 12:56 pm

I ran swift -V and get this on the CLI:
swift -V
/opt/swift/bin/swift.bin: Symbol `swift_param_descriptors' has different size in shared object, consider re-linking
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mflorell » Fri Apr 27, 2018 2:37 pm

No clue on that one, haven't installed cepstral in a while though either, but I've never seen that error.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Mon Apr 30, 2018 1:15 pm

Fixed it! If anyone has similar issue, uninstall Swift by doing the following.
As root, "rm -rf /opt/swift/"
This un-installs all swift applications, voices, voice licenses, port licenses and write-to-file licenses.
Reboot, then run "updatedb".
Re-install your purchased voices by extracting your voice files, cd into the extracted directory and run "./install.sh"
Re-active your voice license(s). cd /opt/swift/bin and run "swift -reg-voice" and follow prompts.
Re-active your port license(s). cd /opt/swift/bin and run "swift -reg-ports" and follow prompts.
Re-activate your write-to-file license. cd /opt/swift/bin and run "swift -ref-filewrite" and follow prompts.

Worked for me.
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm

Re: TTS Outbound Survey Readling Wrong List ID

Postby mflorell » Mon Apr 30, 2018 2:24 pm

Thanks for posting your solution!
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: TTS Outbound Survey Readling Wrong List ID

Postby mstopkey » Mon Apr 30, 2018 2:27 pm

Like to help others where I can.
ViciBox 7.0.4 | Version 2.14-694a | SVN Trunk | 2803| Asterisk 11.25.1-vici |Build 181005-1738 | DB Schema 1561 | 7 64bit Telephony servers | 3 64bit Web servers | 1 64bit Database server | 1 64bit Archive server
mstopkey
 
Posts: 180
Joined: Sun Dec 28, 2008 1:01 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 78 guests