cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1740
Views
10
Helpful
10
Replies

UCCE Media Failover

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

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?

Please rate all useful posts
1 Accepted Solution

Accepted Solutions

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. 

View solution in original post

10 Replies 10

You set your media path to be local to the CVP server and you keep a media server in every CVP server.

 

david

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

Please rate all useful posts

Omar Deen
Spotlight
Spotlight

What I've done is leverage the cvp_server_info ECC variable and used that value as my mediaserver. This value will follow the call all the way through. This will not work on CTI-RPs though

 

Omar,

So how do you reference this on call studio when building your application.

Please rate all useful posts

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. 

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.

Please rate all useful posts

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. 

Omar,

Screen shots would be great. Would help me much better

Please rate all useful posts

 
Getting Started

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: