On Sat, May 29, 2010 at 10:21 AM, Frank @ Impact <frank@impactfax.com>wrote:
Yes. I understand that. So, after the bridge is done, how can I get the hangup disposition of both legs? Again, I am just trying to record which leg said bye.
Okay, I think the point that Brian is trying to drive home is that since the hangup disposition isn't known until hangup occurs you cannot know the disposition inside of a session. The session ceases to exist at hangup so the only way to know the disposition is to look at the CDRs or to play around with "set_hangup_hook" and "session_in_hangup_hook" chan vars. -MC
-----Original Message----- *From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Brian West *Sent:* Saturday, May 29, 2010 11:07 AM *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] how to get session of bridged Bleg
You can't get the hangup disposition till the channel is hung up. That is why they call it hangup disposition.
/b
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org