<div dir="ltr">I want to exit my perl script after bridge if a-leg has hung up. (the script is running on a-leg through fs_ivrd)<div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 9:59 AM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is your goal? or end result you&rsquo;re wishing to accomplish as this doesn&rsquo;t feel like the most efficient way to accomplish that.<br>

<br>
--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=950f18fc-5a5c-4e8b-a815-3c65771f69ef&amp;cm_destination=http://www.freeswitchbook.com" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=08afdbc2-cc26-4f2f-bcd3-06c06885fc8e&amp;cm_destination=http://www.freeswitchbook.com">http://www.freeswitchbook.com</a><br>

<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=befc8de6-18f2-4bba-997c-7fb56be79d1f&amp;cm_destination=http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>

<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a> &nbsp;| &nbsp;F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a> &nbsp;| &nbsp;M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=b1e30461-7aea-4a1d-a1a7-0bc7fb76e943&amp;cm_destination=http://www.bkw.org/key.txt" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=fa6e5c58-8deb-431e-afc9-1fab772577c3&amp;cm_destination=http://www.bkw.org/key.txt">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>

<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mar 5, 2014, at 9:20 PM, Ali Pey &lt;<a href="mailto:alipey@gmail.com">alipey@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi Brian,<br>
&gt;<br>
&gt; In my ESL script, if a-leg hangs up, the perl script continues execution after the bridge even though the channel doesn&#39;t exist anymore. I want to do uuid_exists on a-leg after the bridge to exit the script if a-leg has hung up.<br>

&gt;<br>
&gt; I have hangup_after_bridge=false because I want the script to continue after b-leg hangs up but I don&#39;t want it to continue if the a-leg hangs up.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Ali Pey<br>
<br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=aa933ae0-8f1b-4e3d-bc03-23e496a31c80&amp;cm_destination=http://www.freeswitchsolutions.com" target="_blank">http://www.</a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=bba8e788-52cd-46a4-b80c-50a478b5b1ec&amp;cm_destination=http://freeswitchsolutions.com">freeswitchsolutions.com</a><br>

<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=5258db70-e715-47b0-8c2a-ae3f9eb9c7de&amp;cm_destination=http://www.cudatel.com" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=e848e46f-79c5-40aa-85b4-d885a2bb814a&amp;cm_destination=http://www.cudatel.com">http://www.cudatel.com</a><br>

<br>
Official FreeSWITCH Sites<br>
<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=050877a3-9d7d-4587-81da-89cd9776e938&amp;cm_destination=http://www.freeswitch.org" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=8af6198b-ccfd-4069-9128-6be98a6a1d5e&amp;cm_destination=http://www.freeswitch.org">http://www.freeswitch.org</a><br>

<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=a379ad07-0e4c-4aed-9fe7-92abace739c5&amp;cm_destination=http://wiki.freeswitch.org" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=cc77fec1-76cb-4906-a91f-ae30b566a4f2&amp;cm_destination=http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>

<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=e2efafb5-bb25-4679-98d7-e9ce1e178639&amp;cm_destination=http://www.cluecon.com" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=b6a7640d-7a81-45ef-8354-0e70069b1b04&amp;cm_destination=http://www.cluecon.com">http://www.cluecon.com</a><br>

<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.</a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=a3f3a47d-7eac-4e0a-af7a-dd73d35a9362&amp;cm_destination=http://freeswitch.org">freeswitch.org</a><br>

<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=78ca35b2-677c-4b6f-862d-e682e0a3bc0f&amp;cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=226a1869-3b2f-4761-a0f6-4f0dc561659a&amp;cm_destination=http://lists.freeswitch.org/">http://lists.freeswitch.org/</a>mailman/listinfo/freeswitch-users<br>

UNSUBSCRIBE:<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=253b7cc6-99fd-4956-bcfa-dfb759df0cc1&amp;cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.</a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=688c65ca-088a-496e-a20c-bb49474f0923&amp;cm_destination=http://freeswitch.org/mailman/">freeswitch.org/mailman/</a>options/freeswitch-users<br>

<a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=0f73dba1-a983-4920-b619-bb452560b5d4&amp;cm_destination=http://www.freeswitch.org" target="_blank"></a><a href="https://contactmonkey.com/api/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=link&amp;cm_link=d0751e02-2505-4ad3-b80f-1c63c0eb0728&amp;cm_destination=http://www.freeswitch.org">http://www.freeswitch.org</a><br>

<br></blockquote></div><br></div></div><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com" width="0" height="0" style="border:0; width:0px; height:0px;"><img class="cm-tracker" src="https://contactmonkey.com/api/v1/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com" width="0" height="0" style="border:0; width:0px; height:0px;"><font class="cm-tracker" face="https://contactmonkey.com/api/v1/tracker?cm_session=0dc9e3d6-d81b-400c-9606-66dc12345b93&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com" style></font></div>