6 Jul
2009
6 Jul
'09
11:11 p.m.
I woud like to do some processing after hangup like in asterisk on the "h,1,..." extension. If I try to exec a lua script using api_hangup_hook, the the session will be nil in: number = session:getVariable("caller_id_number") If I try to transfer the call using the transfer commmand, I got "invalid command" error. <action application="set" data="session_in_hangup_hook=true" /> <action application="set" data="api_hangup_hook=lua hangup.lua"/> <!--action application="set" data="api_hangup_hook=transfer hangup_ext" /--> Any other idea to do some processing after hangup?