If you hang up leg B then what should happen to leg A? Can you not just transfer the B leg to a hangup extension or something? What's the application here?<div>-MC<br><div><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 7:57 AM, 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>
Hi,<br>
<br>
I moved the bind_digit_action so my dialplan looks something like this:<br>
<div class="im"><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>
</div><div class="im"> <action application="bind_digit_action" data="start,##,exec:hangup,unknown"/><br>
.......<br>
</condition><br>
</extension><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="digit_action_set_realm" data="start"/><br>
</condition><br>
</extension><br>
<br>
</div>Unfortunalety, now when leg A presses ##, it hangs up leg A. I would like to make it hang up leg B only.<br>
<br>
I am sure it is my lack of understanding of bind_digit_action.<br>
<br>
Apreciate all the help I can get.<br>
<br>
Cheers<br>
<br>
Raf<br>
<br>
<br>
________________________________<br>
> Date: Mon, 10 Jan 2011 23:04:52 +0000<br>
> From: <a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a><br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] bind_digit_action<br>
<div class="im">><br>
> Just to confirm: you want Leg A to press ## to hangup leg B? If so then<br>
> you need to set the bind_digit_action on Leg A. The way you have it now<br>
> is that Leg B would need to dial ##.<br>
><br>
> -MC<br>
><br>
> On Mon, Jan 10, 2011 at 10:46 PM, Rafqat .<br>
</div><div class="im">> > wrote:<br>
><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<br>
> presses ##, but it doesn't seem to be working. The INFO message is<br>
> displayed but when I press ##, nothing happens.<br>
><br>
> Any help will be much appreciated.<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div>> .........<br>
<div class="im">> > data="bridge_pre_execute_bleg_app=execute_extension"/><br>
</div><div class="im">> > data="bridge_pre_execute_bleg_data=START_LISTENING XML private"/><br>
> .......<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div><div class="im">> > data="start,##,exec:hangup,unknown"/><br>
><br>
><br>
><br>
><br>
><br>
</div><div class="im">> 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>
><br>
><br>
</div>> _______________________________________________ FreeSWITCH-users<br>
<div><div></div><div class="h5">> mailing list <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>
<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>
</div></div></blockquote></div><br></div></div>