You need to set the digit action realm:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_digit_action_set_realm

-MC

On Tue, Feb 26, 2013 at 7:13 AM, Igor Cappello <igor.cappello@edistar.com> wrote:
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.

Our simple test dialplan is the following:

<extension name="log_bind_digit_action">
  <condition field="destination_number" expression="^MYLOG$"/>
    <action application="log" data="INFO dtmf ok"/>
</extension>

<extension name="setup_bind_digit_action">
  <condition field="destination_number" expression="^MYSETUP$"/>
    <action application="bind_digit_action" data="myrealm,*12,exec:execute_extension,MYLOG"/>
</extension>

<extension name="set binding action">
  <condition field="context" expression="public"/>
  <condition field="destination_number" expression="^test_bind_dtmf$">
    <action application="log" data="INFO extension callback"/>
    <action application="start_dtmf"/>
    <action application="export" data="execute_on_answer_1=start_dtmf"/>-->
    <action application="export" data="execute_on_answer_2=execute_extension MYSETUP"/>
    <action application="digit_action_set_realm" data="myrealm"/>
    <action application="bridge" data="sofia/gateway/voipcard1/723331"/>
    <action application="log" data="INFO extension callback . Originate terminated"/>
  </condition>
</extension>


We can use only inband DTMF.

Here you can find the log of a call (IPs are obscured for security)

http://pastebin.com/j8pBFVDL

Any hint on why the extension MYLOG is not executed? Maybe we are missing something obvious..

Thanks
Igor Cappello

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org