[Freeswitch-users] bind_digit_action
Rafqat .
rafonline at hotmail.com
Tue Jan 11 01:46:05 MSK 2011
Hi,
Can someone please help here.
I am trying to use bind_digit_action to hangup leg B only, if leg A presses ##, but it doesn't seem to be working. The INFO message is displayed but when I press ##, nothing happens.
Any help will be much appreciated.
<extension name="call-me-service">
<condition field="destination_number" expression="^9999$">
<action application="answer"/>
.........
<action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/>
<action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/>
.......
</condition>
</extension>
<extension name="setup bind_digit_action_listening">
<condition field="destination_number" expression="^START_LISTENING$">
<action application="log" data="INFO Configuring bind_digit_action to listen..."/>
<action application="bind_digit_action" data="start,##,exec:hangup,unknown"/>
<action application="digit_action_set_realm" data="start"/>
</condition>
</extension>
Cheers
Raf
More information about the FreeSWITCH-users
mailing list