[Freeswitch-users] Problem setting up bind_digit_action
Michael Collins
msc at freeswitch.org
Tue Feb 26 20:42:37 MSK 2013
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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130226/553cc229/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list