[Freeswitch-users] bind_digit_action delay

Javier Gallart jgallartm at gmail.com
Mon Jun 20 15:37:12 MSD 2011


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 at 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 at 79.170.68.169:5060 Command Execute playback(local_stream://moh)
EXECUTE sofia/internal/34661574758 at 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 at 79.170.64.151 Command Execute
playback(/var/local/sounds/common/en/last_time)
EXECUTE sofia/internal/34917019888 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110620/921a338a/attachment-0001.html 


More information about the FreeSWITCH-users mailing list