Hello.,
<action application="set" data="intercept_uuid=${hash(select/intercept/$1)}" />
<action application="set" data="session_in_hangup_hook=true"/>
<action application="set" data="api_hangup_hook=lua interceptHangup.lua"/>
and in the lua i do:
action = session:getVariable(“sip_bye_h_X-Action”)
But it’s coming back as nil… it is properly set, i execute an info inside the lua and see:
variable_sip_bye_h_X-Action: [Reject]
Any ideas?
Thanks!