There is no way to do this without code modification to add this feature._________________________________________________________________________On Oct 4, 2018, at 6:01 AM, 薛光宏 <albert.hsueh@cloudigit.com> wrote: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.
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
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
https://freeswitch.com