bind_digit_action delay
Hello list, I'm using to bind_digit_action application to launch an event when a particular sequence of keys (##) is pressed. It works fine, the only problem is that the application is launched 5 seconds after the last key is pressed. I've tried with a simple playback application and it's just the same: 2011-06-20 07:22:55.641019 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1560 2011-06-20 07:22:56.121025 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1480 2011-06-20 07:22:56.121025 [DEBUG] mod_dptools.c:151 sofia/internal/ 34917019888@79.170.64.151 Digit match binding [exec:playback][/var/local/sounds/common/en/last_time] (...) 2011-06-20 07:22:56.441011 [DEBUG] switch_ivr.c:567 sofia/internal/ 34661574758@79.170.68.169:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/internal/34661574758@79.170.68.169:5060playback(local_stream://moh) 2011-06-20 07:22:56.441011 [WARNING] mod_local_stream.c:393 Unknown source moh, trying 'default' 2011-06-20 07:22:56.441011 [ERR] mod_local_stream.c:402 Unknown source default (...) 2011-06-20 07:23:01.281067 [DEBUG] switch_ivr.c:567 sofia/internal/ 34917019888@79.170.64.151 Command Execute playback(/var/local/sounds/common/en/last_time) EXECUTE sofia/internal/34917019888@79.170.64.151playback(/var/local/sounds/common/en/last_time) My first question is why does fs tries to play moh? And the second one is if there is a way to shorten the lapse between the last key and the execution of the application. I've played a bit with the bind_digit_input_timeout variable that I've seen in the code, with no success. Does anyone have faces the same issue? I'm using version FreeSWITCH Version 1.0.head (git-7768808 2011-06-18 11-52-37 -0500) Thanks in advance Javi
Could you please pastebin your dialplan where you set the target actions for these digits? -MC On Mon, Jun 20, 2011 at 4:37 AM, Javier Gallart <jgallartm@gmail.com> wrote:
Hello list,
I'm using to bind_digit_action application to launch an event when a particular sequence of keys (##) is pressed. It works fine, the only problem is that the application is launched 5 seconds after the last key is pressed. I've tried with a simple playback application and it's just the same: 2011-06-20 07:22:55.641019 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1560 2011-06-20 07:22:56.121025 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1480 2011-06-20 07:22:56.121025 [DEBUG] mod_dptools.c:151 sofia/internal/ 34917019888@79.170.64.151 Digit match binding [exec:playback][/var/local/sounds/common/en/last_time] (...) 2011-06-20 07:22:56.441011 [DEBUG] switch_ivr.c:567 sofia/internal/ 34661574758@79.170.68.169:5060 Command Execute playback(local_stream://moh) EXECUTE sofia/internal/34661574758@79.170.68.169:5060playback(local_stream://moh) 2011-06-20 07:22:56.441011 [WARNING] mod_local_stream.c:393 Unknown source moh, trying 'default' 2011-06-20 07:22:56.441011 [ERR] mod_local_stream.c:402 Unknown source default (...) 2011-06-20 07:23:01.281067 [DEBUG] switch_ivr.c:567 sofia/internal/ 34917019888@79.170.64.151 Command Execute playback(/var/local/sounds/common/en/last_time) EXECUTE sofia/internal/34917019888@79.170.64.151playback(/var/local/sounds/common/en/last_time)
My first question is why does fs tries to play moh? And the second one is if there is a way to shorten the lapse between the last key and the execution of the application. I've played a bit with the bind_digit_input_timeout variable that I've seen in the code, with no success. Does anyone have faces the same issue? I'm using version FreeSWITCH Version 1.0.head (git-7768808 2011-06-18 11-52-37 -0500)
Thanks in advance
Javi
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Javier Gallart
-
Michael Collins