[Freeswitch-users] Reading SIP headers

Kristian Kielhofner kkielhofner at star2star.com
Mon Oct 13 13:23:20 PDT 2008


Hello everyone,

  I'm trying to read SIP headers as described here:

http://wiki.freeswitch.org/wiki/Channel_Variables#variable_xxxx

  It sounds like I should be able to grab an arbitrary SIP header and
use it in my XML dialplan, right?  However I've tried this and it
doesn't seem to work.  Here's the header I'm attaching:

X-conf-pin: 1234

  However, reading sip_X-conf-pin doesn't return anything.  What am I
missing here?  Is there any other way to read SIP headers?

Thanks!

-- 
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com




More information about the FreeSWITCH-users mailing list