09-27-2017 10:56 AM - edited 03-15-2019 06:32 AM
Gents,
I had an interesting issue a few days ago and it brought this old topic again to mind.
My VXML gateway couldnt connect to the primary VXML server due to network issues. Hence it tried to contact the backup vxml using the http:media-backup..
While this worked, media prompts couldnt be played because the media files were hosted on the primary CVP COMBO server and since media url is hard coded into vxml application ( using call studio), there is no way to failover. So the point of the redundancy is essentially defeated. We had to manually redirected the media to also go to the backup CVP.
Is there way around this?
Solved! Go to Solution.
09-27-2017 02:11 PM
In Call Studio, I use the Application_Modifier element (under Context) and set my media path in the Default Media Path under the Settings tab. So in my case, this is what it looks like for me for Default Media Path...
http://{Data.Session.host}/{Data.Session.lang}/app/{Data.Session.path}
So I'm passing in three variables (Session Data) from ICM to VXML
host= mediaserver... this is where I would put in Call.user.cvp_server_info
lang= locale, such as en-us
path= subfolder of app, such as sales, marketing or any other line of business
This method has worked really well for me, especially for global projects where all the media servers are expected to back up one another.
09-27-2017 12:59 PM
You set your media path to be local to the CVP server and you keep a media server in every CVP server.
david
09-27-2017 01:53 PM
David,
May I am not getting you.Or maybe you are not getting me ;)
I have a combo CVP server. I also have my default audio properties pointint to that CVP server
There was a network outage..While my active CVP server was processing the call..( active CVP server defined based on ICM script )
eg media_server on ICM script = cvp1.
default audio url on vxml app= http://cvp1
When cvp1 failed..
vxml tried cvp1-backup..which worked however media was still going to http://cvp1..hence no promtp could be played and call eventually failed..
This is what I am trying to get across
09-27-2017 01:47 PM
09-27-2017 01:54 PM
Omar,
So how do you reference this on call studio when building your application.
09-27-2017 02:11 PM
In Call Studio, I use the Application_Modifier element (under Context) and set my media path in the Default Media Path under the Settings tab. So in my case, this is what it looks like for me for Default Media Path...
http://{Data.Session.host}/{Data.Session.lang}/app/{Data.Session.path}
So I'm passing in three variables (Session Data) from ICM to VXML
host= mediaserver... this is where I would put in Call.user.cvp_server_info
lang= locale, such as en-us
path= subfolder of app, such as sales, marketing or any other line of business
This method has worked really well for me, especially for global projects where all the media servers are expected to back up one another.
09-27-2017 02:13 PM
Omar,
Thats brilliant as I have seen this in another script. This I totally agree is the way to go as compared to the current static definitions.
09-27-2017 02:20 PM
That's great! Hopefully it helps... if it doesnt, just reply back in this thread and I can post screen shots for you.
Step 1 is to create the ECC variable user.cvp_server_info and make it persistent
Step 2 is to properly use this ECC variable to setup your media path, so your Set Variable node when calling on user.microapp.media_server should have a value of concatenate("http://",Call.user.cvp_server_info,":7000/CVP")
Step 3 is to pass in the media server value (Call.user.cvp_server_info) from ICM to VXML as session data
Step 4 (which really should be step 1a or something) is to leverage the application modifier element to properly setup your default media path as I explained above.
09-27-2017 03:50 PM
Omar,
Screen shots would be great. Would help me much better
09-27-2017 05:11 PM
06-18-2019 08:45 AM - edited 06-21-2019 10:14 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: