Hi<br><br>you can ignore this issue, it was a stupid fault in my config. The /usr/local/freeswitch/sounds dir was empty (we have our custom sounds in a different path), but at vars.xml the following directives were still present:<br>
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/><br><X-PRE-PROCESS cmd="set" data="sound_prefix=/usr/local/freeswitch/sounds/en/us/callie"/><br><br>Thanks anyway<br>
<br><br>Javi<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>---------- Forwarded message ----------<br>From: Javier Gallart <<a href="mailto:jgallartm@gmail.com">jgallartm@gmail.com</a>><br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Date: Tue, 21 Jun 2011 12:18:29 +0200<br>Subject: Re: [Freeswitch-users] bind_digit_action delay<br>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><extension name="bridge_session" continue="false"><br> <condition field="${call_type}" expression="prepaid"><br> <action application="set" data="continue_on_fail=1"/><br>
<action application="export" data="execute_on_answer=event Event-Subclass=schedule,Event-Name=CUSTOM"/><br> (...here we assign some custom variables...)<br> <action application="export" data="bridge_pre_execute_aleg_app=bind_digit_action"/><br>
<action application="export" data="bridge_pre_execute_aleg_data=test1,##,exec:event,Event-Subclass=reoriginate,Event-Name=CUSTOM"/><br> <action application="digit_action_set_realm" data="test1"/><br>
<action application="bridge" data="sofia/internal/${dest_number}@${gateway}"/><br> </condition><br></extension><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 <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><br>
To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><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"><<a href="mailto:jgallartm@gmail.com" target="_blank">jgallartm@gmail.com</a>></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'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:<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 'default'<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'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?<br>
I'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>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>