Hi all,

I have to fetch the variable from SIP header of incoming calls which comes
from SIP proxy,

The SIP proxy adds custom variable into sip header.

When call comes at freeswitch, it is routed to Javascript, I need to fetch
that sip variable in script.

I tried

mysipvar=session.getVariable("VariableName");
but it returns false.

I also tried this (as it is a sip header variable)
mysipvar=session.getVariable("sip_h_VariableName");
But it also doesn't work.



Thanks
Shehzad
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to