21 Jan
2011
21 Jan
'11
4:50 p.m.
On Fri, Jan 21, 2011 at 6:44 PM, Steven Ayre <steveayre@gmail.com> wrote:
That won't work if the channel no longer exists (it accesses the channel's object and gets the variable stored there).
You can either use a hangup hook as someone else suggested (runs after hangup but before the session is destroyed so the channels are still available) or look at my event patch which raises an event containing a header with that variable's value.
-Steve
Could be off topic here, but we are using linger for this: http://wiki.freeswitch.org/wiki/Event_socket_outbound#Events George