<font face="Arial, Helvetica, sans-serif">Using 13157 and some prior builds, I'm having a problem with the hang up hook activating on a transfer at the end of the script. The hook is suppose to fire with hang ups except when the transfer occurs and I thought setAutoHangup(false) would prevent this but it doesn't. Here is how things are set up.<br>
<br>
session.setHangupHook(on_hangup);<br>
....<br>
....<br>
session.setAutoHangup(false);<br>
session.execute("transfer", "NOTIFY_ME XML default");<br>
session = undefined;<br>
<br>
If setAutoHangup(false) is working correctly then is there a method to "unset" the hang up hook before the transfer?<br>
<br>
Mark.<br>
</font><div id='MAILCIAMA034-5c5349f615bd37a' 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>