<HTML>
<HEAD>
<TITLE>Bridge problem...</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi,<BR>
<BR>
In my module (written in C) I spin up a session using the recipe you gave me a few weeks ago. I then use switch_ivr_originate twice to establish two endpoints and bridge them using switch_ivr_multi_threaded_bridge. I inherited some of this code, but I think it’s using the multithreaded bridge to be able to pass a DTMF callback. <BR>
<BR>
In any case, the above is working fine. My problem comes in when one of the ends hangsup, it’s not exiting the bridge function. It’s like the calls are still bridged (because I think they are). Running “show channels”, does in fact, show the two legs sitting there. Using the “hupall” command, does hang them up, handlers called and my world then shutsdown. <BR>
<BR>
I’m not sure what I have wrong here. Is there something special I need to do to detect when an endpoint hangup? <BR>
<BR>
Thanks<BR>
<BR>
Kevin</SPAN></FONT>
</BODY>
</HTML>