17 Mar
2010
17 Mar
'10
5:50 p.m.
On Sun, Mar 14, 2010 at 1:01 PM, rentmycoder rentmycoder < rentmycoder@gmail.com> wrote:
Pass them as arguments to your luarun hangup hook. And what about variables are not available before the call setup (like uuid), only during the call progress or after the hangup??? I would need to access the originate_disposition variable...
'luarun hangup.lua ${originate_disposition}' 2010-03-14 18:25:08.122511 [CRIT] switch_channel.c:759 Invalid data (${api_hangup_hook} contains a variable) any other hint???
Use the magic env object, which is an event object with all the chan vars for the channel that just hung up. More info here: http://wiki.freeswitch.org/wiki/Lua#Special_Case:_env_object -MC