[Freeswitch-users] Option to hang-up both legs in a bridge

Nik Middleton nik.middleton at noblesolutions.co.uk
Fri Dec 4 12:03:46 PST 2009


Hi,

 

Is there an option to hang-up both call legs in a bridge when one leg
hangs up?

 

In my lua script I only ever see the hang-up for the call I'm in, not
for the bridged b leg.  That said, I can see both a hang-up and un
bridge event being fired for the B leg.  However my issue is that the A
leg is still up, and if I've called 2 Pots numbers, the phone network
will maintain the bridge.

 

Is my only option to subscribe to the unbridge event and fire a hang-up
event using the 'other leg' UID?

 

Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091204/98eb7cbe/attachment-0002.html 


More information about the FreeSWITCH-users mailing list