<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Hi Freeswitch Experts,<br></div><div dir="ltr"><div><br></div><div>I am using session_in_hangup_hook = true and api_hangup_hook to call my lua script where I want to change the value of my channel variable through session:setVariable("custom_channel_variable", "new_value"). But I can see that I cannot do that. It is not getting changed. I am able to access the channel variables through session:getVariable("custom_channel_variable") but I cannot set them after the call is hung up. </div><div><br></div><div>How can I do that? If I cannot do that then what is the reason? I do not see any reason yet in the Freeswitch documentation.</div><div><br></div><div>Can anyone enlighten me over this?</div><div><br></div><div>Thanks and Regards</div><div>Varun Singh</div></div>
</div></div>