[Freeswitch-users] adding sip header without X-

Christian Löschenkohl christian.loeschenkohl at xpirio.com
Wed Feb 3 14:33:17 PST 2010


hello

do anybody know a way to add "Alert-Info: <http://www.notused.com>;info=alert-group;x-line-id=0"
as a custom sip header to the invite message?

<action application="set" data="sip_h_X-Alert-Info=<http://www.notused.com>\;info=alert-internal\;x-line-id=0"/>
works but "X-Alert-Info" as a header isn't usefull at all

the purpose is to distinguish internal and external calls in a pbx. it is also described here
http://wiki.snom.com/Web_Interface/V7/Preferences/Alert-Info_Ringer

there was also a posting on the list by Kristian Kielhofner who suggested a very flexible solution

-----
mail from: 2009-10-09 21:10

2)  Make the behavior configurable with a channel variable and/or
     sofia config option: {sip_pass_headers=all|none|X-MyCustomHeaderByName}
-----

br


-- 
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl at xpirio.com




More information about the FreeSWITCH-users mailing list