Hi, I'm very new to Freeswitch - I want to move from Asterisk to Freeswitch for my home VoIP switch. In Asterisk sip.conf I have defined extensions like this [201] type=friend username=201 secret=mypass <...SNIP...> If I create ${FREESWITCH_CONF}/directory/default/201.xml starting like this: <include> <user id="201"> <params> <param name="password" value="mypass"/> <...SNIP...> and just change the server the phone connects to to be my new freeswitch server then the phone cannot authentcate: 2010-05-04 11:48:28.936358 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER) on sofia profile 'internal' for [201@10.0.0.10] from ip 10.0.0.228 But if I set the value element of the password param to a number and also change the password in the phone to that number then the phone will authenticate. Does freeswitch only allow numeric passwords for SIP phones? I can't see a definition on the freeswitch web site for what is valid for a password, and all my Googling has failed too :-( I'd _like_ to keep the passwords unchanged, but I can live with changing them if needed. I was just wondering if I missed something on the freeswitch web site. Thanks in advance. -- Mark
There is no such limitation did you do reloadxml and or restart FS after you changed the configuration? On Tue, May 4, 2010 at 7:00 AM, Mark Himsley <mark@mdsh.com> wrote:
Hi,
I'm very new to Freeswitch - I want to move from Asterisk to Freeswitch for my home VoIP switch.
In Asterisk sip.conf I have defined extensions like this
[201] type=friend username=201 secret=mypass <...SNIP...>
If I create ${FREESWITCH_CONF}/directory/default/201.xml starting like this:
<include> <user id="201"> <params> <param name="password" value="mypass"/> <...SNIP...>
and just change the server the phone connects to to be my new freeswitch server then the phone cannot authentcate:
2010-05-04 11:48:28.936358 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER) on sofia profile 'internal' for [201@10.0.0.10] from ip 10.0.0.228
But if I set the value element of the password param to a number and also change the password in the phone to that number then the phone will authenticate.
Does freeswitch only allow numeric passwords for SIP phones? I can't see a definition on the freeswitch web site for what is valid for a password, and all my Googling has failed too :-(
I'd _like_ to keep the passwords unchanged, but I can live with changing them if needed. I was just wondering if I missed something on the freeswitch web site.
Thanks in advance.
-- Mark
_______________________________________________ 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> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Thanks for your unequivocal answer. FS was sent a HUP signal with `sudo /etc/init.d/freeswitch reload` with the standard FS apt-get install Ubuntu server 9.10. I now realise that this command was not reloading ${FREESWITCH_CONF}/directory/default/201.xml and I needed to do a restart instead. I can see that I need to get to the freeswitch command line (like *'s -r) for better configuring/debugging so I'll look into running FS in screen, hopefully without destroying the Ubuntu standard init script too much. Thanks. Your unequivocal answer made me do a lot more debugging :-) On 04/05/2010 17:48, Anthony Minessale wrote:
There is no such limitation did you do reloadxml and or restart FS after you changed the configuration?
On Tue, May 4, 2010 at 7:00 AM, Mark Himsley <mark@mdsh.com <mailto:mark@mdsh.com>> wrote:
Hi,
I'm very new to Freeswitch - I want to move from Asterisk to Freeswitch for my home VoIP switch.
In Asterisk sip.conf I have defined extensions like this
[201] type=friend username=201 secret=mypass <...SNIP...>
If I create ${FREESWITCH_CONF}/directory/default/201.xml starting like this:
<include> <user id="201"> <params> <param name="password" value="mypass"/> <...SNIP...>
and just change the server the phone connects to to be my new freeswitch server then the phone cannot authentcate:
2010-05-04 11:48:28.936358 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER) on sofia profile 'internal' for [201@10.0.0.10 <mailto:201@10.0.0.10>] from ip 10.0.0.228
But if I set the value element of the password param to a number and also change the password in the phone to that number then the phone will authenticate.
Does freeswitch only allow numeric passwords for SIP phones? I can't see a definition on the freeswitch web site for what is valid for a password, and all my Googling has failed too :-(
I'd _like_ to keep the passwords unchanged, but I can live with changing them if needed. I was just wondering if I missed something on the freeswitch web site.
Thanks in advance.
-- Mark
_______________________________________________ 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
-- 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 <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
fs_cli -x reloadxml On May 5, 2010, at 8:28 AM, Mark Himsley wrote:
Thanks for your unequivocal answer.
FS was sent a HUP signal with `sudo /etc/init.d/freeswitch reload` with the standard FS apt-get install Ubuntu server 9.10.
I now realise that this command was not reloading ${FREESWITCH_CONF}/directory/default/201.xml and I needed to do a restart instead.
I can see that I need to get to the freeswitch command line (like *'s -r) for better configuring/debugging so I'll look into running FS in screen, hopefully without destroying the Ubuntu standard init script too much.
Thanks. Your unequivocal answer made me do a lot more debugging :-)
On 04/05/2010 17:48, Anthony Minessale wrote:
There is no such limitation did you do reloadxml and or restart FS after you changed the configuration?
participants (3)
-
Anthony Minessale
-
Mark Himsley
-
Michael Jerris