[Freeswitch-users] default_context changed?
Ivan C Myrvold
ivan at myrvold.org
Mon Dec 3 00:08:02 PST 2007
I have been running Freeswitch since August 9 without doing any
upgrade, as I have been satisfied with how it worked for me.
But I thought I should upgrade today, and I checked out the newest svn
version.
Running Freeswitch now, I only gets 2 of my 3 extensions authenticated
with my SIP provider. 37397855 is the only one getting registered,
37048300 and 37048867 is not getting registered.
I can see from the log that Freeswitch tries to authenticate 37048300
and 37048867 with 'Digest:"213.160.242.135":37397855:xxxxxx' (x-ing
out the password here)
Here is part of the log( I wan unable to log in to pastebin, it
wouldn't accept my login name and password, even as i was already
logged in to freeswitch):
2007-12-03 07:43:20 [DEBUG] sofia_reg.c:774
sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with
'Digest:"213.160.242.135":37397855:xxxxxxxx'.
outbound(0x3bb230): detected NAT: 192.168.207.203 != 85.165.221.194
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_i_outbound] status [101][NAT detected] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia.c:245 sofia_event_callback()
nua_i_outbound: unknown event 8: 101 NAT detected
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_r_register] status [401][Unauthorized] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia_reg.c:774
sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with
'Digest:"213.160.242.135":37397855:xxxxxxxx'.
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_r_register] status [401][Unauthorized] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia_reg.c:774
sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with
'Digest:"213.160.242.135":37397855:xxxxxxxx'.
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_r_authenticate] status [904][No matching challenge] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia.c:245 sofia_event_callback()
nua_r_authenticate: unknown event 47: 904 No matching challenge
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_r_register] status [401][Unauthorized] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia_reg.c:774
sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with
'Digest:"213.160.242.135":37397855:xxxxxxxx'.
2007-12-03 07:43:20 [DEBUG] sofia.c:114 sofia_event_callback() event
[nua_r_authenticate] status [904][No matching challenge] session: n/a
2007-12-03 07:43:20 [DEBUG] sofia.c:245 sofia_event_callback()
nua_r_authenticate: unknown event 47: 904 No matching challenge
And here is part of sofia_conf.xml:
<configuration name="sofia.conf" description="sofia Endpoint">
<profiles>
<profile name="$${domain}">
<!-- Outbound Registrations -->
<gateways>
<gateway name="ip24_37048300">
<!--/// account username *required* ///-->
<param name="username" value="37048300"/>
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<param name="realm" value="213.160.242.135"/>
<!--/// account password *required* ///-->
<param name="password" value="xxxxxxxx"/>
<!--/// extension for inbound calls: *optional* same as username,
if blank ///-->
<!--<param name="extension" value="cluecon"/>-->
<!--/// proxy host: *optional* same as realm, if blank ///-->
<param name="proxy" value="213.160.242.135"/>
<!--/// expire in seconds: *optional* 3600, if blank ///-->
<!--<param name="expire-seconds" value="60"/>-->
</gateway>
<gateway name="ip24_37048867">
<!--/// account username *required* ///-->
<param name="username" value="37048867"/>
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<param name="realm" value="213.160.242.135"/>
<!--/// account password *required* ///-->
<param name="password" value="xxxxxxxx"/>
<!--/// extension for inbound calls: *optional* same as username,
if blank ///-->
<!--<param name="extension" value="cluecon"/>-->
<!--/// proxy host: *optional* same as realm, if blank ///-->
<param name="proxy" value="213.160.242.135"/>
<!--/// expire in seconds: *optional* 3600, if blank ///-->
<!--<param name="expire-seconds" value="60"/>-->
</gateway>
<gateway name="ip24_37397855">
<!--/// account username *required* ///-->
<param name="username" value="37397855"/>
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<param name="realm" value="213.160.242.135"/>
<!--/// account password *required* ///-->
<param name="password" value="xxxxxxxx"/>
<!--/// extension for inbound calls: *optional* same as username,
if blank ///-->
<!--<param name="extension" value="cluecon"/>-->
<!--/// proxy host: *optional* same as realm, if blank ///-->
<param name="proxy" value="213.160.242.135"/>
<!--/// expire in seconds: *optional* 3600, if blank ///-->
<!--<param name="expire-seconds" value="60"/>-->
</gateway>
</gateways>
If I delete the two last gateways, I can get 37048300 registered. What
have changed here since August?
Ivan
More information about the FreeSWITCH-users
mailing list