You need to set the digit action realm:<br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_digit_action_set_realm">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_digit_action_set_realm</a><br><br>-MC<br>
<br><div class="gmail_quote">On Tue, Feb 26, 2013 at 7:13 AM, Igor Cappello <span dir="ltr"><<a href="mailto:igor.cappello@edistar.com" target="_blank">igor.cappello@edistar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We are experiencing some problems with bind_digit_action. We are trying to get a notification of the digits pressed by the bleg of a bridged call.<br>
<br>
Our simple test dialplan is the following:<br>
<br>
<extension name="log_bind_digit_action"><br>
<condition field="destination_number" expression="^MYLOG$"/><br>
<action application="log" data="INFO dtmf ok"/><br>
</extension><br>
<br>
<extension name="setup_bind_digit_action"><br>
<condition field="destination_number" expression="^MYSETUP$"/><br>
<action application="bind_digit_action" data="myrealm,*12,exec:execute_extension,MYLOG"/><br>
</extension><br>
<br>
<extension name="set binding action"><br>
<condition field="context" expression="public"/><br>
<condition field="destination_number" expression="^test_bind_dtmf$"><br>
<action application="log" data="INFO extension callback"/><br>
<action application="start_dtmf"/><br>
<action application="export" data="execute_on_answer_1=start_dtmf"/>--><br>
<action application="export" data="execute_on_answer_2=execute_extension MYSETUP"/><br>
<action application="digit_action_set_realm" data="myrealm"/><br>
<action application="bridge" data="sofia/gateway/voipcard1/723331"/><br>
<action application="log" data="INFO extension callback . Originate terminated"/><br>
</condition><br>
</extension><br>
<br>
<br>
We can use only inband DTMF.<br>
<br>
Here you can find the log of a call (IPs are obscured for security)<br>
<br>
<a href="http://pastebin.com/j8pBFVDL" target="_blank">http://pastebin.com/j8pBFVDL</a><br>
<br>
Any hint on why the extension MYLOG is not executed? Maybe we are missing something obvious..<br>
<br>
Thanks<br>
Igor Cappello<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>