Changing User-Agent String
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#User_Agent_.5Buser... 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@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>
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@avgs.ca On 17-Nov-09, at 9:49 PM, Ujjval Karihaloo wrote:
http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#User_Agent_.5Buser...
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
AH you are hiding the fact you use FreeSWITCH... Great... but why? /b On Nov 17, 2009, at 11:52 PM, Mathieu Rene wrote:
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@avgs.ca
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Mathieu Rene Sent: Tuesday, November 17, 2009 10:52 PM To: freeswitch-users@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@avgs.ca<mailto:mrene@avgs.ca> On 17-Nov-09, at 9:49 PM, Ujjval Karihaloo wrote: http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#User_Agent_.5Buser... 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@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@lists.freeswitch.org<mailto: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
you do realize that is NOT the purpose of the user-agent string... changing might break things in some people's configs due to some assumptions made about the user agent on the far side for interop purposes... its your choice to change it but it servers NO purpose doing so. /b On Nov 18, 2009, at 9:17 AM, Ujjval Karihaloo wrote:
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.
That's *exactly* why I change the User-Agent string. If they're changing their behavior in some way based on the assumption I'm using FreeSWITCH I want to know about it :). On Wed, Nov 18, 2009 at 10:21 AM, Brian West <brian@freeswitch.org> wrote:
you do realize that is NOT the purpose of the user-agent string... changing might break things in some people's configs due to some assumptions made about the user agent on the far side for interop purposes... its your choice to change it but it servers NO purpose doing so. /b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
There are a few behaviors in FreeSWITCH that get triggered based on the remote side... you know all about those? :P I'm just saying its usually not wise to change it just in case. /b On Nov 18, 2009, at 9:39 AM, Kristian Kielhofner wrote:
That's *exactly* why I change the User-Agent string. If they're changing their behavior in some way based on the assumption I'm using FreeSWITCH I want to know about it :).
Brian, I see some things based on SDP originator (we all know what those are about) but nothing for SIP user agent... More curious than anything else, am I missing something? On Wed, Nov 18, 2009 at 11:08 AM, Brian West <brian@freeswitch.org> wrote:
There are a few behaviors in FreeSWITCH that get triggered based on the remote side... you know all about those? :P I'm just saying its usually not wise to change it just in case.
/b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
We do in sofia_reg and sofia_sla, and some where we do updates so we don't send things to phones we know will piss their pants. /b On Nov 18, 2009, at 10:42 AM, Kristian Kielhofner wrote:
Brian,
I see some things based on SDP originator (we all know what those are about) but nothing for SIP user agent...
Ah, that explains it. I don't do any registration or presence/sla with FS - yet ;). On Wed, Nov 18, 2009 at 12:14 PM, Brian West <brian@freeswitch.org> wrote:
We do in sofia_reg and sofia_sla, and some where we do updates so we don't send things to phones we know will piss their pants.
/b
-- Kristian Kielhofner http://www.astlinux.org http://blog.krisk.org http://www.star2star.com http://www.submityoursip.com http://www.voalte.com
I had a voip provider which wouldn't accept calls from Freeswitch because of the user-agent string. I had to change it to "Asterisk" and then everything worked. Nico On Wed, Nov 18, 2009 at 12:21 PM, Brian West <brian@freeswitch.org> wrote:
you do realize that is NOT the purpose of the user-agent string... changing might break things in some people's configs due to some assumptions made about the user agent on the far side for interop purposes... its your choice to change it but it servers NO purpose doing so.
/b
On Nov 18, 2009, at 9:17 AM, Ujjval Karihaloo wrote:
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.
_______________________________________________ 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
Sounds like you need to take a baseball bat to their forehead. /b On Nov 18, 2009, at 3:13 PM, Nicolas Brenner wrote:
I had a voip provider which wouldn't accept calls from Freeswitch because of the user-agent string. I had to change it to "Asterisk" and then everything worked.
Nico
lol! we have to play nice in the wiki but the mailing list is another story. On Nov 18, 2009, at 3:20 PM, Brian West wrote:
Sounds like you need to take a baseball bat to their forehead.
/b
On Nov 18, 2009, at 3:13 PM, Nicolas Brenner wrote:
I had a voip provider which wouldn't accept calls from Freeswitch because of the user-agent string. I had to change it to "Asterisk" and then everything worked.
Nico
_______________________________________________ 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
Well this is a bit more informal vs the wiki where people take it as fact! :) Plus its a little humpday humor! /b On Nov 18, 2009, at 3:30 PM, Rob Forman wrote:
lol!
we have to play nice in the wiki but the mailing list is another story.
On Nov 18, 2009, at 3:20 PM, Brian West wrote:
Sounds like you need to take a baseball bat to their forehead.
/b
maybe you could send them 183 then 4 180's or send them an invite and pretend to deadlock and not send any more sip traffic as a way of identifying yourself On Wed, Nov 18, 2009 at 4:05 PM, Brian West <brian@freeswitch.org> wrote:
Well this is a bit more informal vs the wiki where people take it as fact! :) Plus its a little humpday humor!
/b
On Nov 18, 2009, at 3:30 PM, Rob Forman wrote:
lol!
we have to play nice in the wiki but the mailing list is another story.
On Nov 18, 2009, at 3:20 PM, Brian West wrote:
Sounds like you need to take a baseball bat to their forehead.
/b
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
lol: 2009/11/19 Anthony Minessale <anthony.minessale@gmail.com>
maybe you could send them 183 then 4 180's or send them an invite and pretend to deadlock and not send any more sip traffic as a way of identifying yourself
On Wed, Nov 18, 2009 at 4:05 PM, Brian West <brian@freeswitch.org> wrote:
Well this is a bit more informal vs the wiki where people take it as fact! :) Plus its a little humpday humor!
/b
On Nov 18, 2009, at 3:30 PM, Rob Forman wrote:
lol!
we have to play nice in the wiki but the mailing list is another story.
On Nov 18, 2009, at 3:20 PM, Brian West wrote:
Sounds like you need to take a baseball bat to their forehead.
/b
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
participants (8)
-
Anthony Minessale
-
Brian West
-
Kristian Kielhofner
-
Mathieu Rene
-
Nicolas Brenner
-
Rob Forman
-
Seven Du
-
Ujjval Karihaloo