Customer SIP headers
hello, I'm looking to do custom sip headers. I wan't to send a 302 message and set the content header to something like this: Contact: <tel:+17208886435> ;expires=3600 Also on the From header I would like to add a isup-oli param to set ISUP cause codes. how can i do this? Chad
Hello Chad, I guess you are not supposed to do that because you must only use the standard headers, otherwise you could have compatibility issues. Use <action application="set" data="sip_h_X-myheader"/> To create your own standard headers. If you still want to create your own headers I'm afraid you are gonna have to patch the mod_sofia. Best Regards. 2011/9/30 Chad Vogel <cvogel@lyonl.com>
*hello,* * * *I'm looking to do custom sip headers. I wan't to send a 302 message and set the content header to something like this: Contact: <tel:+17208886435> ;expires=3600 Also on the From header I would like to add a isup-oli param to set ISUP cause codes. **how can i do this? * * * *Chad*
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
look in do_invite in sofia_glue.c you have plenty of things you can modify with just variables but be warned you'll break a lot of things if you change stuff beyond what works. /b On Oct 3, 2011, at 2:33 AM, jcgpoza gonzalez wrote:
Hello Chad,
I guess you are not supposed to do that because you must only use the standard headers, otherwise you could have compatibility issues.
Use
<action application="set" data="sip_h_X-myheader"/>
To create your own standard headers. If you still want to create your own headers I'm afraid you are gonna have to patch the mod_sofia.
Best Regards.
participants (3)
-
Brian West
-
Chad Vogel
-
jcgpoza gonzalez