This document was generated from CDN thread
Created by: Karthik Bahiradhan on 31-08-2009 04:17:52 PM
Hi,
I have developed a CVP application. CVP Application contains a database hit to execute a stored procedure. This stored procedure takes 32 seconds to 45 seconds to return back the response to the CVP application. Because of this delay the calls are getting disconnected. To overcome this issue, i have put a hold music prompt before this database hit (Database hit is achevied by using the decision element). This hold music file have a duration of 50 seconds. After this also some calls are dropped for this scenario. In the audio element i have set the below properties.
fetchaudio=holdmusci.wav
fetchaudiominimum=32s
i have attached the pictorial representation for this scenario.
Thanks
Muthu
Subject: RE: Reg : CVP application problem
Replied by: Janine Graves on 31-08-2009 11:33:52 PM
First, you definitely do NOT want to set the fetchaudiominimum to 32s. This means that you are telling the gateway to play 32s of music, EVEN IF the next vxml page comes back sooner. This will lengthen your calls. You are correct to set your fetchaudio to use hold music. You should also set the VXML Property named fetchtimeout - this specifies how long the gateway will wait for the next vxml page. This could likely be what's causing your problem. The other thing to check is under Project > Properties > GeneralSettings for your Studio App. Make sure that the SessionTimeout value is not too short. The default is 30minutes (much longer than necessary), but someone might have made it too short.
Hope this helps.
Janine
Subject: RE: Reg : CVP application problem
Replied by: Karthik Bahiradhan on 01-09-2009 05:31:08 AM
Hi,
Thanks for your kind reply. i have set my fetchtimeout property globally in my application as "80s". In the gateway also i have set the http client reponse time out as "90s". currently i have set the session timeout as "5" minutes. suppose if i have increased that session timeout to 30 seconds any of the caller abruptly disconnects the call, it will take 30 seconds to clear that session. At that time this session timeout will be an impact. Kindly guide me to proceed further..
Thanks
Muthu
Subject: RE: Reg : CVP application problem
Replied by: Ranjana Narayan on 02-09-2009 06:15:05 AM
Muthu,
The sessiontimeout that you set in the Studio, should be optimal as in, it should not be too short like 30s which will make even a valid call to be disconnected, or too long during which a call that doesnot end normally (hangup) will have its session lingering on for timeout value, making use of the resource and the license.
Thumb of rule, calculate the sessiontimeout based on longest wav file length, no of times it plays before the user inputs and a good amount of time consideration for the network latency.
Hope this helps,
Ranjana.