07-25-2017 09:08 AM - edited 03-14-2019 05:28 PM
Trying to get my HelloWorld application working before I go any further with CCB.
Call flow -
CellPhone > CUBE > CVP > ICM > application
My app seems to fail, I believe the audio file cannot be found or is unreachable for some reason. I have my media server set, "application=HelloWorld;", and my app is deployed and running on all vxml servers.
I have my default audio set in the application to http://<ip>:7000/en-us/app. I am just playing a file I created called Successful.wav and it is placed in the en-us/app directory.
Attached is the error and cvp logs from the call.
Solved! Go to Solution.
07-25-2017 01:32 PM
you can not have wav file within app, those have to be served by media server(and mostly by iis web server running on cvp itself).
so the the default should be
http://mediaserver/en-us/app (no port 7000)
if your files are under c:/inetpub/wwwroot/en-us/app directory.
and in audio element check the default uri and just put the wavfile name.
you can also not choose to use default uri by just unchecking that option from audio element and input the entire wav file url as a input like http://mediaserver/en-us/app/1000.wav where 1000.wav is file you want play and is under c:/inetpub/wwwroot/en-us/app directory.
07-25-2017 09:35 AM
You are setting media server to as below:
user.microapp.media_server=mediaserver
for VXML server it does not work like that:
You have to set it to
user.microapp.media_server="http://<VXML SERVER IP or HOSTNAME>:7000/CVP"
also please post full CVP logs, i also dont see RUN_SCRIPT_REQUEST from ICM.
07-25-2017 09:39 AM
and yes if "mediaserver" is being resolved by VXML gateway or VVB to VXML servers IP running the "HelloWorld" application then you can also do it like below:
user.microapp.media_server="http://mediaserver:7000/CVP"
you basically need ip host entry on VXML gateway or similer thing on VVB for "mediaserver" to get that work.
07-25-2017 12:15 PM
I changed the user variable to what you have above and I get the same results. I hear, "I'm sorry, we are experiencing technical difficulties. Please call back at a later time".
I have attached the full CVP log. callguid=C5A5888000010000003F7BC0652F6B0A.
Attached is the error log as well the relevant cube config. I do notice for some reason that there are two references to our media servers via the ip host command. Not sure but I believe someone forgot to remove the "media" ip host reference when the last upgrade was done.
07-25-2017 12:28 PM
it says TTS resources unavailable. are you using built in HelloWorld application or built by your own??
if you have built your own make sure you dont have any text in tts field on audio element and also make sure you have correct mediafile referenced.
you can also check vxml application activity log available at c:\cisco\cvp\vxmlserver\application\[app name]\
CALL_ERROR: CALLGUID=C5A5888000010000003F7BC0652F6B0A DNIS=77777777770007066 TTS Error:(MEDIA_RESOURCE_TTS(32)) (Client: 10.107.47.240) [id:3023] 347178: 10.107.47.57: Jul 25 2017 14:48:03.131 -0400: %CVP_10_5_IVR-3-CALL_ERROR: CALLGUID=C5A5888000010000003F7BC0652F6B0A DNIS=77777777770007066 Primary TTS Server has failed. Trying Backup TTS Server [id:3023] 347179: 10.107.47.57: Jul 25 2017 14:48:03.131 -0400: %CVP_10_5_IVR-7-CALL: {Thrd=http-processor59}
07-25-2017 01:22 PM
I took out the TTS portion as we are not using that. Still I get the same error. I'm thinking I have the default audio URI configured wrong.
If my files are located on the media server in c:/inetpub/wwwroot/en-us/app directory.
Call studio Default Audio Path = http://mediaserver:7000/en-us/app
Should be the correct path right?
Or do all my audio files need to be within the app itself?
07-25-2017 01:32 PM
you can not have wav file within app, those have to be served by media server(and mostly by iis web server running on cvp itself).
so the the default should be
http://mediaserver/en-us/app (no port 7000)
if your files are under c:/inetpub/wwwroot/en-us/app directory.
and in audio element check the default uri and just put the wavfile name.
you can also not choose to use default uri by just unchecking that option from audio element and input the entire wav file url as a input like http://mediaserver/en-us/app/1000.wav where 1000.wav is file you want play and is under c:/inetpub/wwwroot/en-us/app directory.
07-25-2017 02:06 PM
Thanks Chintan.
I was under the impression that the Call Studio app itself also needed the :7000 for a port number.
So,
ICM, user.microapp.media_server="http://mediaserver:7000/CVP"
user.microapp.app_media_lib=".."
Default URI in studio = "http://mediaserver/en-us/app
Save and deploy and it worked like a charm. Now that I know the app is working.... time to tackel CCB lol.
Thanks again.
07-26-2017 06:37 AM
I would still say to play a bit around with VXML application, try to send data back and forth from ICM.
and once you feel confident pick CCB, because CCB scripts are quite complex to understand, most of them are pre-built and you never need to change them and one script is opened to change to match the queuing behavior you are looking for.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide