[Freeswitch-users] Changing User-Agent String

Ujjval Karihaloo ujjval at simplesignal.com
Wed Nov 18 07:17:04 PST 2009


Not sure I am the only one changing User-Agent....but I just want a way for our Customers to know the purpose of the server when they talk to it. There is FreeSwitch written into the SDP "o" line as well...which I don't care about, I want to have something in there that identifies the purpose of the server.


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mathieu Rene
Sent: Tuesday, November 17, 2009 10:52 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Changing User-Agent String

It needs to go in the profile, not in sofia's global config.

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca<mailto:mrene at avgs.ca>




On 17-Nov-09, at 9:49 PM, Ujjval Karihaloo wrote:


http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#User_Agent_.5Buser-agent-string.5D

As per the above link, we can change the User Agent String, but I added this param name but does not seem to work.

[user at freeswitch autoload_configs]$ vi sofia.conf.xml

<configuration name="sofia.conf" description="sofia Endpoint">

  <global_settings>
    <param name="log-level" value="0"/>
    <!-- <param name="auto-restart" value="false"/> -->
    <param name="debug-presence" value="0"/>
    <param name="user-agent-string" value="Test Server"/>
  </global_settings>

  <!--
      The rabbit hole goes deep.  This includes all the
      profiles in the sip_profiles directory that is up
      one level from this directory.
  -->
  <profiles>
    <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
  </profiles>

</configuration>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091118/70896d2f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list