cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1781
Views
4
Helpful
8
Replies

PCCE 10.5 - HelloWorld

stork
Level 1
Level 1

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.  

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

8 Replies 8

Chintan Gajjar
Level 8
Level 8

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.

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.

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.

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} 

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?

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.

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.

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.