[Freeswitch-dev] api_hangup_hook and channel variable

Dome Charoenyost dome at tel.co.th
Tue Jul 5 14:39:33 MSD 2011


This is my lua script

            session:setVariable("session_in_hangup_hook", "true");
            session:setVariable("api_hangup_hook", "lua
hangup/report.lua "..macct);
            session:transfer("dialnow_wh", "XML", "wh");

It's work fine before hangup i cal see session vation in report.lua
but my quession is how to manipulate or create new variable in
report.lua  ?
i want to see variable in cdr

BG

Dome C.



More information about the FreeSWITCH-dev mailing list