Hello,

I am using Freeswitch as my SIP proxy, I am trying to outbound register
to a SIP proxy/location server. Whenever I send out a REGISTER method I
get acknowledged back with a 401 asking me to respond to a challenge.
The challenge contains the nonce

2007-09-18 12:19:05 [DEBUG] sofia.c:73 sofia_event_callback() event
[nua_r_authenticate] status [904][No matching challenge] session: n/a

REGISTER sip:mydomain.com SIP/2.0
Via: SIP/2.0/UDP 75.153.46.106;rport;branch=z9hG4bK9074BUv13929D
Max-Forwards: 70
From: <sip:[EMAIL PROTECTED]>;tag=6FySH81a4ajpm
To: <sip:[EMAIL PROTECTED]>
Call-ID: 43ea1ef0-e0bf-122a-9698-00111155e117
CSeq: 88953326 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060>
Expires: 3600
User-Agent: FreeSWITCH(mod_sofia)
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: 100rel, precondition, path
Content-Length: 0

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 75.153.46.106;branch=z9hG4bK9074BUv13929D;rport=5060
From: <sip:[EMAIL PROTECTED]>;tag=6FySH81a4ajpm
To: <sip:[EMAIL PROTECTED]>
Call-ID: 43ea1ef0-e0bf-122a-9698-00111155e117
CSeq: 88953326 REGISTER
WWW-Authenticate: DIGEST
realm="mydomain.com",qop="auth",algorithm=MD5,nonce="BroadWorksXf6qshd2oT7o6htzBW"
Content-Length: 0

This is where it fails, It comes back there is no matching challenge
being sent. I have verified the realm, username, password are all
correct. I am able to use Asterisk to register to this gateway also sipsak.

# sipsak -U -s sip:[EMAIL PROTECTED] -a password -u username -vv
warning: ignoring -i option when in usrloc mode
registering user 6046379621_0003... authorizing
registering user 6046379621_0003...     OK

Could someone explain to me a bit why I am getting a 904 back from this
library and if there is any way I can solve this problem or if there are
any fixes, or solutions to this problem.

Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to