<div> <font face="Arial, Helvetica, sans-serif">Got it. Thanks Tony.</font><br>
</div>

<div> <br>
</div>

<div> <br>
</div>
-----Original Message-----<br>
From: Anthony Minessale &lt;anthony.minessale@gmail.com&gt;<br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Mon, 27 Apr 2009 1:59 pm<br>
Subject: Re: [Freeswitch-users] Problem with a hang up event on transfer.<br>
<br>






<div id="AOLMsgPart_3_a71a5dc0-236e-4ebe-b1f4-0d6d0ae501a0">

it happens on both hangup and transfer<br>
you look at the arg to the hangup hook to tell if it was transfer or hangup and act accordingly <br>
<br>
<br>

<div class="gmail_quote">On Mon, Apr 27, 2009 at 3:40 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">This only makes the call not hangup when the script exits.
<div><br>
</div>

<div>
/b</div>

<div>
<div class="im"><br>

<div>
<div>On Apr 27, 2009, at 3:29 PM, <a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a> wrote:</div>
<br>
<blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="font-family: Arial;">If setAutoHangup(false) is working correctly then is there a method to "unset" the hang up hook before the transfer?<br>

<br>
Mark.</span></span></blockquote></div>
<br>
</div>

<div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div style="">

<div>Brian West</div>

<div><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></div>

<div><br>
</div>
</div>
</span>-- Meet us at ClueCon! &nbsp;<a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>


<div><br>
</div>
</div>
</span><br>
</div>
</span><br>
 </div>
<br>
</div>
</div>
<br>
_______________________________________________<br>

Freeswitch-users mailing list<br>

<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>

<a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>

<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>

<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>

<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>


</div>
 <!-- end of AOLMsgPart_3_a71a5dc0-236e-4ebe-b1f4-0d6d0ae501a0 -->


<div id="AOLMsgPart_4_a71a5dc0-236e-4ebe-b1f4-0d6d0ae501a0" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">

<pre style="font-size: 9pt;"><tt>_______________________________________________<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>
</tt></pre>
</div>
 <!-- end of AOLMsgPart_4_a71a5dc0-236e-4ebe-b1f4-0d6d0ae501a0 -->

<div id='MAILCIADA011-5c5d49f6268b3e4' class='aol_ad_footer'><br/><font style="color:black;font:normal 10pt arial,san-serif;"> <hr style="margin-top:10px"/>Can't afford a new spring wardrobe?  <a href="http://www.stylelist.com/spring-fashion/spring-style/shopping-in-your-closet?ncid=emlweusstyl00000001">Go shopping in your closet instead</a>!</font> </div>