Dynamically Created Audio Files not palyed

Status
Not open for further replies.

linking13

Silver Partner
Advanced Certified
Joined
Nov 14, 2008
Messages
43
Reaction score
0
I have followed the article on URL http://www.3cx.com/blog/docs/vad-play-dynamic-files/ to play a dynamically created audio but nothing is played, nor in case of function as explained in http://www.3cx.com/blog/docs/playback-sequence-of-digits-with-3cx-vad/ nor in a more simple expression like

CONCATENATE('pippo','.wav')

The audio file is correct and are placed on the path as explained on the attachment

What is wrong?
 

Attachments

  • ProgramData.JPG
    ProgramData.JPG
    103.7 KB · Views: 5,239
I have partially resolved changung the expression with

CONCATENATE('Numero',MID(callflow$.Digits,callflow$.Index,1),'.wav')

but remain a strange problem if this function is nested within many other: if this procedure is under e userinput component nested in a loop and included in a user component the debug show me that all flow is correctely execute but I can't hear nothing and the flow has no problem. Exaclty the same procedure (Cute&Paste) used directly on the main flow (only one loop in my case) works well
 
Hi there,

Please, check this article to enable verbose logs in 3CXIvrServer.log file and send me the contents of that file after a failed call:
http://www.3cx.com/blog/voip-howto/troubleshooting-vad-applications/

That way we can check the error that you're experiencing.

Thanks!
 
I'm sorry but I have redesigned the flow and now everything works fine so I can't generate to you a log with the problem
 
The problem is returned. This is the part of 3CXIvrServer.log reguarding my call. As you can notice the prompt is corrected added but nothing is played from Ildocidedaleidigitato.wav to Digitiunoperconfermare.wav

11:24:01.913|8080|VXIMachine.cpp(1072):IvrDll, CallSession::Prompts_Play(), Play Queued files
11:24:05.926|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Digitiorailcodicecdc.wav
11:24:07.363|10944|VXIMachine.cpp(1072):IvrDll, CallSession::Prompts_Play(), Play Queued files
11:24:10.960|10944|VXIMachine.cpp(1108):IvrDll, CallSession::Prompts_Stop(), Stop playback
11:24:15.983|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Ildocidedaleidigitato.wav
11:24:16.007|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Numero4.wav
11:24:16.024|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Numero7.wav
11:24:16.040|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Numero8.wav
11:24:16.059|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Numero9.wav
11:24:16.075|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Numero6.wav
11:24:16.099|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Digitiunoperconfermare.wav
11:24:16.162|10944|VXIMachine.cpp(1072):IvrDll, CallSession::Prompts_Play(), Play Queued files
11:24:20.108|10944|VXIMachine.cpp(1108):IvrDll, CallSession::Prompts_Stop(), Stop playback
11:24:20.108|10944|api\VXIpromptImpl.cpp(266):IvrDll, VXIpromptImpl::Impl::Queue(), Warning! Ignoring TTS in (text/plain;charset=wchar_t). Text is 'Sorry, I didn't understand you. '
11:24:20.108|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Digitiunoperconfermare.wav
11:24:20.120|10944|VXIMachine.cpp(1072):IvrDll, CallSession::Prompts_Play(), Play Queued files
11:24:27.161|10944|VXIMachine.cpp(1108):IvrDll, CallSession::Prompts_Stop(), Stop playback
11:24:27.179|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\lapreghiamodiattendere.wav
11:24:27.721|10944|VXIMachine.cpp(806):IvrDll, CallSession::RegisterPrompt(), Added prompt C:\ProgramData\3CX\Data\Http\Interface\ivr\FirmaDocumenti_5\Attenziocodicenoncorretto.wav
11:24:27.734|10944|VXIMachine.cpp(1072):IvrDll, CallSession::Prompts_Play(), Play Queued files
 
ADDENDUM: the problem doesn't happen always. Sometimes when I launch the component with a code everything works fine, the next call with the exactly the same code doesn't work
 
Finally seems resolved. I have attached 0,5 sec of wav with silence after the loop
 
Maybe this article may help you:
http://www.3cx.com/blog/docs/config-last-message-to-play-on-a-vad-app/

The last message to play in a VAD application needs to be configured with AllowCutThru = False, so it is played and not buffered.

Kind regards.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,322
Messages
591,882
Members
165,469
Latest member
footandankle.my3fcx.us