[Freeswitch-users] Is it possible add new item in sip message header?

薛光宏 albert.hsueh at cloudigit.com
Thu Oct 4 10:01:31 UTC 2018


Hi All,

We run a mobile app to *register* FreeSWITCH 1.6.20 via sip. This app will
check value of server field in message header but the packet sent from
FreeSWITCH doesn't have this field.
We would like to know is it possible to add filed "Server" to message
header by adjusting FreeSWITCH configuration?

We tried this by adjusting dialplan (
https://freeswitch.org/confluence/display/FREESWITCH/Sofia+SIP+Stack)
        <action application="set"><![CDATA[sip_h_Server=xxxxxx]]></action>

it works in invite stage, but can not work in register stage. The app
checks the filed "Server" in register stage.

Thanks in advance.

-- 
Sincerely

Albert Hsueh
System Engineer
Cloudpe Corporation
02-8712 5955 ext. 831
www.cloudpe.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181004/e6d44315/attachment.html>


More information about the FreeSWITCH-users mailing list