Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Dynamically Created Audio Files not palyed

Discussion in 'CRM / Helpdesk / App Integration' started by linking13, Oct 29, 2013.

Thread Status:
Not open for further replies.
  1. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    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?
     

    Attached Files:

  2. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    0
    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
     
  3. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    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!
     
  4. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    0
    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
     
  5. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    0
    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
     
  6. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    0
    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
     
  7. linking13

    Joined:
    Nov 14, 2008
    Messages:
    42
    Likes Received:
    0
    Finally seems resolved. I have attached 0,5 sec of wav with silence after the loop
     
  8. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    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.
     
Thread Status:
Not open for further replies.