<div dir="ltr">Hi all,<br><br>I have to fetch the variable from SIP header of incoming calls which comes from SIP proxy, <br><br>The SIP proxy adds custom variable into sip header.<br><br>When call comes at freeswitch, it is routed to Javascript, I need to fetch that sip variable in script.<br>
<br>I tried <br><br>mysipvar=session.getVariable("VariableName");<br>but it returns false.<br><br>I also tried this (as it is a sip header variable)<br>mysipvar=session.getVariable("sip_h_VariableName");<br>
But it also doesn't work.<br><br><br><br>Thanks<br>Shehzad<br></div>