Thanks for that, no didn't see the message, there seems to be a big delay in the messages getting turned around on the list.
Yup, works great thanks. Script doesn't get events, so there was no way to check for the b leg hang-up. Regards, ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Anthony Minessale Sent: 04 December 2009 20:57 To: [email protected] Subject: Re: [Freeswitch-users] Option to hang-up both legs in a bridge did you see my reply to the other thread? set the channel variable hangup_after_bridge=true on the a leg your script must not be checking for the case when b leg hangs up that A leg does not hangup unless that var is set. On Fri, Dec 4, 2009 at 2:03 PM, Nik Middleton <[email protected]> wrote: 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, _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:[email protected] <mailto:msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected] <mailto:paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <mailto:sip%[email protected]> iax:[email protected]/888 googletalk:[email protected] <mailto:googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
