Options   VAD IVR drop call

Board index  >  Categories  >  3CX Voice Application Designer (VAD)

Post Reply
VAD IVR drop call

Quote
VAD IVR drop call
by ice » Tue Nov 01, 2011 1:26 pm
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: Select all

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

Quote
Re: VAD IVR drop call
by VAD_Support » Tue Nov 01, 2011 3:15 pm
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,

Quote
Re: VAD IVR drop call
by ice » Wed Nov 02, 2011 8:57 am
Hi,

Situation did not change.

02-11-2011 11-53-42.png
02-11-2011 11-53-42.png (28 KiB) Viewed 3664 times

Quote
Re: VAD IVR drop call
by VAD_Support » Wed Nov 02, 2011 1:59 pm
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?

Quote
Re: VAD IVR drop call
by ice » Wed Nov 02, 2011 2:23 pm
I make new project tets5

.wav file located in folder
02-11-2011 17-11-44.png
02-11-2011 17-11-44.png (6.31 KiB) Viewed 3663 times


Code: Select all

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))

Quote
Re: VAD IVR drop call
by VAD_Support » Wed Nov 02, 2011 2:35 pm
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,

Quote
Re: VAD IVR drop call
by ice » Wed Nov 02, 2011 2:42 pm
vad.zip
(1.07 KiB) Downloaded 175 times

Quote
Re: VAD IVR drop call
by VAD_Support » Wed Nov 02, 2011 3:10 pm
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.

Quote
Re: VAD IVR drop call
by ice » Thu Nov 03, 2011 6:31 am
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
test5_1.zip
(220.09 KiB) Downloaded 217 times

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.


No, I used Deploy.

Quote
Re: VAD IVR drop call
by VAD_Support » Thu Nov 03, 2011 2:44 pm
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,

Quote
Re: VAD IVR drop call
by ice » Fri Nov 11, 2011 9:02 am
Resolved!
I reinstalled 3CX with SP4 and without 3CXVADServercomponents.msi

Thanks for help!

Quote
Re: VAD IVR drop call
by VAD_Support » Fri Nov 11, 2011 2:20 pm
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.