Hi,
I need help in building a multilevel IVR.
There is a 5 seconds delay after a DTMF key is pressed till the next appropriate action which is playing the sound.
I did some searches and changed some configurations such as the codec (gsm, ulaw), the db driver (from odbc to mysql).
Lastly I modified the app_speech_utils.c file to reduce the DTMF timeout from 5 seconds to 1 second. But it still has the delay. Here is the code of app_speech_utils.c which I modified:
/* Change timeout to be 5 seconds for DTMF input */
timeout = (ast_channel_pbx(chan) && ast_channel_pbx(chan)->dtimeoutms) ? ast_channel_pbx(chan)->dtimeoutms : 1000;
And here is some of my dialplan:
[main_menu]
exten => 100,1,Answer()
exten => 100,2,Background(main_menu)
exten => 100,3,Background(silence/3)
exten => 100,4,Goto(2)
exten => 0,1,Dial(SIP/113)
exten => 1,1,Goto(menu_div_mkt,_12[3-8],1)
exten => i,1,Background(sorry)
[menu_div_mkt]
exten => _12[3-8],1,Background(menu_div_mkt)
exten => _12[3-8],2,Background(silence/3)
exten => _12[3-8],3,Goto(1)
exten => 0,1,Dial(SIP/123)
exten => 1,1,Goto(info_pmb,_12[3-8],1)
exten => i,1,Background(sorry)
exten => 9,1,Goto(main_menu,100,2)
[info_pmb]
exten => _12[3-8],1,Background(menu_info_pmb)
exten => _12[3-8],2,Background(silence/3)
exten => _12[3-8],3,Goto(1)
exten => 0,1,Dial(SIP/123)
exten => 1,1,Goto(juk,_12[3-8],1)
exten => i,1,Background(sorry)
exten => 9,1,Goto(menu_div_mkt,_12[3-8],1)
Is there anyway I can reduce this delay? Please kindly help me…
Thank you.