[Freeswitch-users] Problem setting up bind_digit_action

Igor Cappello igor.cappello at edistar.com
Tue Feb 26 18:13:45 MSK 2013

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 name="setup_bind_digit_action"> 
  <condition field="destination_number" expression="^MYSETUP$"/> 
    <action application="bind_digit_action" data="myrealm,*12,exec:execute_extension,MYLOG"/> 

<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"/> 

We can use only inband DTMF. 

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


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

Igor Cappello

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list