Thanks Michael<br><br>the session has been answered by a lua script and transferred back to the dialplan to be bridged. Once in the dialplan this is the extension executed. The CUSTOM schedule event is sent 5 seconds after the ## is pressed.<br>
<br>&lt;extension name=&quot;bridge_session&quot; continue=&quot;false&quot;&gt;<br>        &lt;condition field=&quot;${call_type}&quot; expression=&quot;prepaid&quot;&gt;<br>            &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=1&quot;/&gt;<br>
            &lt;action application=&quot;export&quot; data=&quot;execute_on_answer=event Event-Subclass=schedule,Event-Name=CUSTOM&quot;/&gt;<br>            (...here we assign some custom variables...)<br>            &lt;action application=&quot;export&quot; data=&quot;bridge_pre_execute_aleg_app=bind_digit_action&quot;/&gt;<br>
            &lt;action application=&quot;export&quot; data=&quot;bridge_pre_execute_aleg_data=test1,##,exec:event,Event-Subclass=reoriginate,Event-Name=CUSTOM&quot;/&gt;<br>            &lt;action application=&quot;digit_action_set_realm&quot; data=&quot;test1&quot;/&gt;<br>
            &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/${dest_number}@${gateway}&quot;/&gt;<br>        &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>Regards<br><br>Javi<br><br><br><div class="gmail_quote">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">---------- Forwarded message ----------<br>From: Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Date: Mon, 20 Jun 2011 10:32:42 -0700<br>Subject: Re: [Freeswitch-users] bind_digit_action delay<br>
Could you please pastebin your dialplan where you set the target actions for these digits?<div>-MC<br><br><div class="gmail_quote">On Mon, Jun 20, 2011 at 4:37 AM, Javier Gallart <span dir="ltr">&lt;<a href="mailto:jgallartm@gmail.com" target="_blank">jgallartm@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello list,<br><br>I&#39;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&#39;ve tried with a simple playback application and it&#39;s just the same:<br>


2011-06-20 07:22:55.641019 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1560<br>2011-06-20 07:22:56.121025 [DEBUG] switch_rtp.c:3302 RTP RECV DTMF #:1480<br>2011-06-20 07:22:56.121025 [DEBUG] mod_dptools.c:151 sofia/internal/<a href="mailto:34917019888@79.170.64.151" target="_blank">34917019888@79.170.64.151</a> Digit match binding [exec:playback][/var/local/sounds/common/en/last_time]<br>


(...)<br>2011-06-20 07:22:56.441011 [DEBUG] switch_ivr.c:567 sofia/internal/<a href="http://34661574758@79.170.68.169:5060" target="_blank">34661574758@79.170.68.169:5060</a> Command Execute playback(local_stream://moh)<br>

EXECUTE sofia/internal/<a href="http://34661574758@79.170.68.169:5060" target="_blank">34661574758@79.170.68.169:5060</a> playback(local_stream://moh)<br>
2011-06-20 07:22:56.441011 [WARNING] mod_local_stream.c:393 Unknown source moh, trying &#39;default&#39;<br>2011-06-20 07:22:56.441011 [ERR] mod_local_stream.c:402 Unknown source default<br>(...)<br>2011-06-20 07:23:01.281067 [DEBUG] switch_ivr.c:567 sofia/internal/<a href="mailto:34917019888@79.170.64.151" target="_blank">34917019888@79.170.64.151</a> Command Execute playback(/var/local/sounds/common/en/last_time)<br>


EXECUTE sofia/internal/<a href="mailto:34917019888@79.170.64.151" target="_blank">34917019888@79.170.64.151</a> playback(/var/local/sounds/common/en/last_time)<br><br>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&#39;ve played a bit with the bind_digit_input_timeout variable that I&#39;ve seen in the code, with no success. Does anyone have faces the same issue?<br>


I&#39;m using version FreeSWITCH Version 1.0.head (git-7768808 2011-06-18 11-52-37 -0500)<br><br>Thanks in advance<br><br>Javi<br>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div><br></blockquote></div>