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&#39;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">&lt;<a href="mailto:rafonline@hotmail.com">rafonline@hotmail.com</a>&gt;</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>
&lt;extension name=&quot;call-me-service&quot;&gt;<br>
  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9999$&quot;&gt;<br>
    &lt;action application=&quot;answer&quot;/&gt;<br>
    .........<br>
    &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_bleg_app=execute_extension&quot;/&gt;<br>
    &lt;action application=&quot;set&quot; data=&quot;bridge_pre_execute_bleg_data=START_LISTENING XML private&quot;/&gt;<br>
</div><div class="im">    &lt;action application=&quot;bind_digit_action&quot; data=&quot;start,##,exec:hangup,unknown&quot;/&gt;<br>
    .......<br>
  &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
&lt;extension name=&quot;setup bind_digit_action_listening&quot;&gt;<br>
  &lt;condition field=&quot;destination_number&quot; expression=&quot;^START_LISTENING$&quot;&gt;<br>
    &lt;action application=&quot;log&quot; data=&quot;INFO Configuring bind_digit_action to listen...&quot;/&gt;<br>
    &lt;action application=&quot;digit_action_set_realm&quot; data=&quot;start&quot;/&gt;<br>
  &lt;/condition&gt;<br>
&lt;/extension&gt;<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>
&gt; Date: Mon, 10 Jan 2011 23:04:52 +0000<br>
&gt; From: <a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a><br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Subject: Re: [Freeswitch-users] bind_digit_action<br>
<div class="im">&gt;<br>
&gt; Just to confirm: you want Leg A to press ## to hangup leg B? If so then<br>
&gt; you need to set the bind_digit_action on Leg A. The way you have it now<br>
&gt; is that Leg B would need to dial ##.<br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Mon, Jan 10, 2011 at 10:46 PM, Rafqat .<br>
</div><div class="im">&gt; &gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Can someone please help here.<br>
&gt;<br>
&gt; I am trying to use bind_digit_action to hangup leg B only, if leg A<br>
&gt; presses ##, but it doesn&#39;t seem to be working. The INFO message is<br>
&gt; displayed but when I press ##, nothing happens.<br>
&gt;<br>
&gt; Any help will be much appreciated.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; .........<br>
<div class="im">&gt; &gt; data=&quot;bridge_pre_execute_bleg_app=execute_extension&quot;/&gt;<br>
</div><div class="im">&gt; &gt; data=&quot;bridge_pre_execute_bleg_data=START_LISTENING XML private&quot;/&gt;<br>
&gt; .......<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; &gt; data=&quot;start,##,exec:hangup,unknown&quot;/&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; Cheers<br>
&gt;<br>
&gt; Raf<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________ FreeSWITCH-users<br>
<div><div></div><div class="h5">&gt; mailing list <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <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>