<div dir="ltr">gateway_name is set on every call that exits a gateway, uuid_dump a call to verify.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 18, 2014 at 2:21 PM, Jason Holden <span dir="ltr">&lt;<a href="mailto:jason.holden@start.ca" target="_blank">jason.holden@start.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="EN-US" link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I am looking to force disconnections of channels
if for example an emergency number is dialed and there are active calls on a specific
gateway where the emergency call would be routed to.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> The purpose of this is to ensure that the
outbound emergency call connects to its end destination and does not experience
any busy lines.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Brian West
[mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, November 17, 2014
5:41 PM<br>
<b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
lua script to disconnect active outboundcalls to a specific gateway</span></font><u></u><u></u></p>

</div><div><div class="h5">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">fsctl hupall
matching var &lt;var_name&gt; &lt;var_value&gt;<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Been there since
2010 :)<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Mon, Nov 17, 2014 at 3:33 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;
wrote:<u></u><u></u></span></font></p>

<div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I&#39;m sure it&#39;s possible. I
think the bigger question is: what is the endgame? Is there a bigger picture
here?<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">In any case, if you&#39;re
not using the presence_data field you could always set that value on the
outbound leg and then find the corresponding channels with &quot;show channels
like &#39;foo&#39;&quot; and from there do something like &quot;uuid_kill &lt;uuid&gt;
&lt;cause&gt;&quot; on each one.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">In any case, look before
you leap. Using a tool that supposedly kills all calls to a particular gateway
may have unintended consequences.<u></u><u></u></span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">-MC<u></u><u></u></span></font></p>

</div>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Mon, Nov 17, 2014 at 8:11 AM, Jason Holden &lt;<a href="mailto:jason.holden@start.ca" target="_blank">jason.holden@start.ca</a>&gt;
wrote:<u></u><u></u></span></font></p>

<div link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Is this
possible?</span></font><u></u><u></u></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">           
</span></font><u></u><u></u></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> <u></u><u></u></span></font></p>

</div>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><u></u><u></u></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><u></u><u></u></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<u></u><u></u></span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">-- <u></u><u></u></span></font></p>

<div>

<div>

<p><b><i><font size="4" face="Courier New"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;font-weight:bold;font-style:italic">Brian West</span></font></i></b><font face="Courier New"><span style="font-family:&quot;Courier New&quot;"><br>
</span></font><font face="Courier New"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font><u></u><u></u></p>

<p><font size="1" face="Courier New"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"><img border="0" width="240" height="73" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"></span></font><u></u><u></u></p>

<p><b><i><font size="3" face="Courier New"><span style="font-size:12.0pt;font-family:&quot;Courier New&quot;;font-weight:bold;font-style:italic">Twitter:
@FreeSWITCH , @briankwest</span></font></i></b><font face="Courier New"><span style="font-family:&quot;Courier New&quot;"><br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></span></font><u></u><u></u></p>

<p><b><font size="3" face="Courier New"><span style="font-size:12.0pt;font-family:&quot;Courier New&quot;;font-weight:bold">T:</span></font></b><font face="Courier New"><span style="font-family:&quot;Courier New&quot;"><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b><span style="font-weight:bold">F:</span></b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b><span style="font-weight:bold">M:</span></b>+1918424WEST
(9378)<br>
<b><span style="font-weight:bold">iNUM:</span></b>+883 5100 1420 9001 | <b><span style="font-weight:bold">ISN:</span></b>410*543 | <b><span style="font-weight:bold">Skype:</span></b>briankwest</span></font><u></u><u></u></p>

</div>

</div>

</div>

</div></div></div>

</div>


<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>