Hi all, Is there a way to read custom sip headers (eg: P-MyHeader or X-MyHeader) in the freeswitch dialplan? I am using freeswitch as a SBC and would like to pass certain variables to it for the cdr. Thanks! Jesse Cloutier
Have you used the info app to see that most if not all those are already turned into variables for you to use. ;) /b On Aug 9, 2010, at 8:06 AM, Jesse Cloutier wrote:
Hi all, Is there a way to read custom sip headers (eg: P-MyHeader or X-MyHeader) in the freeswitch dialplan?
I am using freeswitch as a SBC and would like to pass certain variables to it for the cdr.
Thanks! Jesse Cloutier
${sip_h_X-MyHeader} On Monday 09 August 2010, Jesse Cloutier wrote:
Hi all, Is there a way to read custom sip headers (eg: P-MyHeader or X-MyHeader) in the freeswitch dialplan?
I am using freeswitch as a SBC and would like to pass certain variables to it for the cdr.
Thanks! Jesse Cloutier
Perfect!, after more digging I found this line in the documentation of for mod sofia All inbound SIP calls will install any X- headers into local variables but I wasnt sure about the syntax, Thanks! On 08/09/2010 09:36 AM, Sergey Okhapkin wrote:
${sip_h_X-MyHeader}
On Monday 09 August 2010, Jesse Cloutier wrote:
Hi all, Is there a way to read custom sip headers (eg: P-MyHeader or X-MyHeader) in the freeswitch dialplan?
I am using freeswitch as a SBC and would like to pass certain variables to it for the cdr.
Thanks! Jesse Cloutier
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Jesse Cloutier
-
Sergey Okhapkin