Just to confirm: you want Leg A to press ## to hangup leg B? If so then you need to set the bind_digit_action on Leg A. The way you have it now is that Leg B would need to dial ##.<div><br></div><div>-MC<br><br><div class="gmail_quote">
On Mon, Jan 10, 2011 at 10:46 PM, Rafqat . <span dir="ltr"><<a href="mailto:rafonline@hotmail.com">rafonline@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
Hi,<br>
<br>
Can someone please help here. <br>
<br>
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.<br>
<br>
Any help will be much appreciated.<br>
<br>
<br>
<br>
<extension name="call-me-service"><br>
<condition field="destination_number" expression="^9999$"><br>
<action application="answer"/><br>
.........<br>
<action application="set" data="bridge_pre_execute_bleg_app=execute_extension"/><br>
<action application="set" data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/><br>
.......<br>
</condition><br>
</extension><br>
<br>
<br>
<extension name="setup bind_digit_action_listening"> <br>
<condition field="destination_number" expression="^START_LISTENING$"><br>
<action application="log" data="INFO Configuring bind_digit_action to listen..."/><br>
<action application="bind_digit_action" data="start,##,exec:hangup,unknown"/><br>
<action application="digit_action_set_realm" data="start"/><br>
</condition> <br>
</extension><br>
<br>
<br>
Cheers<br>
<br>
Raf <br>
<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></div>