cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
652
Views
0
Helpful
3
Replies

VXML App timeout Problem

zain.iftikhar
Level 1
Level 1

We have built VXML script in which we are calling database(thirdparty) through a jar file. We are sending request to database to fetch some record if response from database take more then 10 sec our vxml app(using jac) through timeout exception ("Sorry we are experiencing some difficulty " vxml standard prompt for error ).
Timeout exception time in jar file is set to 60 sec but our vxml through exception after 10 sec using JAC, if jar file receive response from DB after 10 sec then it hadn't received at jac end (already through exception).

Already check by setting timeoutfetch=0 sec in vxml property.

3 Replies 3

Chintan Gajjar
Level 8
Level 8

try implementing fetchtimeout with fetchaudio and see if during blank period you are able to heal the the music.

looking at your post you are trying timeoutfetch but as per my experience it should be fetchtimeout.

and yes its very important that you configure the correct variable and value, otherwise it will not work.

Thanks Chintan for your reply. 
Actually the issue is not with the audio file or  media server related things. The issue we are facing is, while dealing with 3rd Party Integration. 
We have integrated our VXML app with some third party database and we want our VXML session to wait until we receive response,  doesn't matter how much time it take but due to some unknown reason VXML  (in JAC) throw timeout exception after 10 second and it didn't wait more then that. and we want our VXML session to wait until we receive response (can take any amount of time 10,20,30 sec).
Note: We don't have any setting for timeout in JAC. 
Note: We have set VXML session timeout to 30 Minute. 


Appreciate if you can help in this regard. 


Hi, Thats why you have to implement the fetchtimeout and fetchaudio.

fetchtimeout property is essentially something which tells your VXML gateway to wait for certian time before timing out waiting for a VXML doc from VXML server.

in your case the db integration is taking longer than usual to fetch the data, and it will also result in delay providing VXML document what vxml gateway is waiting for, and VXML gateway will timeout and play error message.

so you can implement the fetchtimeout to 60s and see if your VXML gateway waits till 60s before failing your call, with fetchtimeout you can also add fetchaudio and which will instruct vxmlgateway to play some music while its waiting for response from VXML server.

and also look at your application side and find out why its taking longer to do a DB dip, normally 10s es acceptable behavior for a DB response and caller experience. you certainly don't want your caller to wait for 60s just because your DB lookup is slow.