<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="http://wiki.freeswitch.org/wiki/Mod_lua#session:setAutoHangup">http://wiki.freeswitch.org/wiki/Mod_lua#session:setAutoHangup</a><div><br></div><div>But I don't get why you're doing this in such a convoluted way... I'm still not clear why you're going at the task in this manner. &nbsp;Can you clearly outline what exactly you're trying to accomplish?</div><div><br></div><div>/b</div><div><br><div><div>On Feb 12, 2010, at 9:04 PM, Adam Wilt wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks again for the help Michael.<br><br>I'm now upgraded to version 1.5, but I'm still getting the same<br>problem. When I try to bridge sessions from two separate lua scripts,<br>both sessions hang up on me. I think maybe I don't understand how<br>"intercept" works.<br>Anyway, I posted the debug trace here:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://pastebin.freeswitch.org/12121">http://pastebin.freeswitch.org/12121</a><br><br>And I also put together a small example which exhibits the problem.<br>The first script is started by an inbound call and starts the second<br>script. The second script places an outbound call and tries to bridge<br>the two sessions together:<br><br>Inbound script: &nbsp;<a href="http://pastebin.freeswitch.org/12122">http://pastebin.freeswitch.org/12122</a><br>Outbound script:<span class="Apple-converted-space">&nbsp;</span><a href="http://pastebin.freeswitch.org/12123">http://pastebin.freeswitch.org/12123</a><br><br>Thanks,<br>Adam<br></blockquote></div><br></div></body></html>