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.

VAD IVR drop call

Discussion in 'CRM / Helpdesk / App Integration' started by ice, Nov 1, 2011.

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

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
    HI,

    I have a VAD build 3679 (free)
    I configured simple IVR (only prompt playback), it is successfully deployed and registered on 3CX (v.10 not free, Abyss)
    When made test call to IVR extension, it is dropped.
    In 3CXIvrServer.log found this error


    Code:
    15:02:35.484|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/root.vxml
    15:02:35.578|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Main.vxml?dr=851&to=851&from=104
    15:02:35.609|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Root_test.vxml
    15:02:35.719|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Main_MF_promptPlaybackComponent1.vxml
    15:02:35.765|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Root_test.vxml
    15:02:35.797|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 219. URLhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/error.wavMethodGETError-404
    15:02:35.797|0780|.\api\VXIpromptImpl.cpp(246):IvrDll, VXIpromptImpl::Impl::Queue(), Error! Cannot add http://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/error.wav file to queue. Cannot open HTTP stream. VXIinet error # 50
    15:02:35.828|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Main_ErrorHandler.vxml
    15:02:35.875|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Root_test.vxml
    15:02:35.922|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Main_EH_ErrorHandlerContainer.vxml
    15:02:35.953|0780|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(plfrluccx1qwhyucs4h4txg3))/test_4/Root_test.vxml
    15:18:05.525|5628|.\PbxMedia\IVREngine.cpp(1597):IvrService, IVREngine::RegisterLines(), Registering of lines...127.0.0.1:5060127.0.0.1:5060999[851,802,855][][EndCall,IVRForward,MakeCall,PlayFile,RecordFile]
    15:18:05.525|5628|.\PbxMedia\IVREngine.cpp(1654):IvrService, IVREngine::RegisterLines(), Registering IVR:855
    15:18:05.540|5628|.\PbxMedia\IVREngine.cpp(1723):IvrService, IVREngine::RegisterLines(), Registering of lines done.
    15:18:12.681|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/root.vxml
    15:18:12.759|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Main.vxml?dr=855&to=855&from=104
    15:18:12.806|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Root_test4.vxml
    15:18:12.899|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Main_MF_IVR.vxml
    15:18:12.946|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Root_test4.vxml
    15:18:12.978|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 219. URLhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/ivr.wavMethodGETError-404
    15:18:12.978|2164|.\api\VXIpromptImpl.cpp(246):IvrDll, VXIpromptImpl::Impl::Queue(), Error! Cannot add http://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/ivr.wav file to queue. Cannot open HTTP stream. VXIinet error # 50
    15:18:13.024|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Main_ErrorHandler.vxml
    15:18:13.056|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Root_test4.vxml
    15:18:13.103|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Main_EH_ErrorHandlerContainer.vxml
    15:18:13.134|2164|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(x2p1um4lcf0n4l0vardxza0l))/test4_5/Root_test4.vxml
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    If you have just one prompt playback component, then you need to configure it with AllowBargeIn = False. Did you configure it that way?

    This article explains why:
    http://www.3cx.com/blog/docs/config-last-message-to-play-on-a-vad-app/

    Let me know if this fixes your problem.

    Thanks,
     
  3. ice

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
    Hi,

    Situation did not change.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    The log shows a 404 error (file not found) when it tries to load the file "error.wav". Can you confirm that the file is in the folder?

    The folder where the project is deployed is %ProgramData%\3CX\Data\Http\Interface\ivr\test_4. The final number (4) changes with each build. Is that wav file located in your project audio folder?
     
  5. ice

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
    I make new project tets5

    .wav file located in folder


    Code:
    17:08:12.109|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/root.vxml
    17:08:12.187|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Main.vxml?dr=851&to=851&from=104
    17:08:12.234|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Root_test5.vxml
    17:08:12.312|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Main_MF_promptPlaybackComponent1.vxml
    17:08:12.343|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Root_test5.vxml
    17:08:12.375|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 219. URLhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/ivr.wavMethodGETError-404
    17:08:12.375|15512|.\api\VXIpromptImpl.cpp(246):IvrDll, VXIpromptImpl::Impl::Queue(), Error! Cannot add http://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/ivr.wav file to queue. Cannot open HTTP stream. VXIinet error # 50
    17:08:12.390|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Main_ErrorHandler.vxml
    17:08:12.421|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Root_test5.vxml
    17:08:12.453|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Main_EH_ErrorHandlerContainer.vxml
    17:08:12.484|15512|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://localhost:5000/ivr/(S(tld2uqph3y5hkf3sxd15vnk0))/test5_1/Root_test5.vxml
    
    Possible something wrong with path?
    ivr.wav available from browser by this link
    localhost:5000/ivr/test5_1/ivr.wav without this - (S(tld2uqph3y5hkf3sxd15vnk0))
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Please, send me the file "Main_MF_promptPlaybackComponent1.vxml" from your project output folder AND from the deployment folder. Both files should be different because the VAD makes some changes on deployment.

    I want to see if the required changes are being done.

    The URL part (S(tld2uqph3y5hkf3sxd15vnk0)) is the web server session identification. That is something handled by Abyss. It's OK as it is.

    Thanks,
     
  7. ice

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
     

    Attached Files:

    • vad.zip
      File size:
      1.1 KB
      Views:
      190
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    You attached the file for debug and release, from your VAD project output folder.
    Now also attach the file with the same name from your 3CX server, located at %ProgramData%\3CX\Data\Http\Interface\ivr\test5_1\Main_MF_promptPlaybackComponent1.vxml

    Here you're deploying the release version. When the VAD deploys a project, it changes all the references to audio files to use file:// instead of http:// but it seems you're not having that change done because it tries to get the file via http.

    Are you manually copying the output from the VAD to the 3CX server by any chance? You need to use the Deploy function to make it work.
     
  9. ice

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
    Here
    No, I used Deploy.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    Well, the deployed vxml file is exactly the same than the VAD output. That is not OK, and is the cause of the problem.

    When the VAD deploys an application to 3CX, it posts the files to an ASPX page into Abyss which performs the required changes to the file. Here those changes are not being done, so somehow the deployment is not being made using the right ASPX file.

    Are you deploying the project locally? Or is the VAD installed remotely?

    Please, open the file %ProgramData%\3CX\Data\Http\Interface\ivr\VAD_Deploy.aspx with a text editor and check if it has something like this:

    fileContent = fileContent.Replace("audio src=\"", "audio src=\"file:///" + Server.MapPath(projectName + @"\"))
    .Replace("<var name=\"application.project$_WorkingDirectory$\" expr=\"''\" />", "<var name=\"application.project$_WorkingDirectory$\" expr=\"'" + Server.MapPath(projectName).Replace("\\", "\\\\") + "'\" />");


    Just to see if you somehow have an old version of that ASPX file...

    Thanks,
     
  11. ice

    ice New Member

    Joined:
    Jun 11, 2008
    Messages:
    108
    Likes Received:
    0
    Resolved!
    I reinstalled 3CX with SP4 and without 3CXVADServercomponents.msi

    Thanks for help!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    The installer 3CXVADServercomponents.msi is something old. It's not required any more. In fact, that was causing the problem, because there are new files to deploy included in the 3CX installation, and that components installer overrides those files with an older version.
     
Thread Status:
Not open for further replies.