[Freeswitch-users] LUA getVariable
Juan Antonio Ibañez Santorum
juanito1982 at gmail.com
Fri Jan 6 15:46:23 MSK 2012
Hello,
I have one LUA script that make calls to one custom FS app. That app
sets up some session channel variables and makes an outgoing call:
if(caller_channel = switch_core_session_get_channel(session)){
switch_channel_set_variable(caller_channel, "var", "val")
}
If the caller hangs up the call, the app returns and I try to get the
val of var as:
session:getVariable("var")
but a nil value is returned. Do you know why?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120106/6f97928f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list