<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(&quot;VariableName&quot;);<br>but it returns false.<br><br>I also tried this (as it is a sip header variable)<br>mysipvar=session.getVariable(&quot;sip_h_VariableName&quot;);<br>
But it also doesn&#39;t work.<br><br><br><br>Thanks<br>Shehzad<br></div>