Hello,<div><br></div><div> 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:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div>if(caller_channel = switch_core_session_get_channel(session)){</div></div><div><div> switch_channel_set_variable(caller_channel, "var", "val")</div></div><div><div>}</div></div></blockquote>
<div><div><br></div><div> If the caller hangs up the call, the app returns and I try to get the val of var as:</div></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>session:getVariable("var")</div>
</blockquote><div><br></div><div> but a nil value is returned. Do you know why?</div><div><br></div><div>Regards</div><div><br></div>