Hi all,

I am currently stuck trying to get a Sofia SIP agent to properly register to a 
registrar (Open IMS core).
Whenever the agent gets challenged it does not reattempt to provide its 
credentials : the registration keeps failing.

Basically, a nua_authenticate() is triggered on nua_r_register 401 but Sofia 
says there is no matching challenge (904) although:
 o realm (enclosed within double quotes),  login and password provided are 
accurate,
 o same operation handle is used than received event (hope this is the way to 
go).
I expected the framework to resubmit REGISTER after this nua_authenticate() 
call (i.e. I am not re-registering after).

The dialog looks like this:

Agent (Sofia) ====== REGISTER ===========> Registrar (OpenIMS) : register with 
no authent and local IP
Agent (Sofia) <===== 401 (challenging)==== Registrar (OpenIMS) : no 
credentials, challenging UE
Agent (Sofia) ==== REGISTER public IP ===> Registrar (OpenIMS) : register with 
no authent and public IP
Agent (Sofia) <===== 401 (challenging)==== Registrar (OpenIMS) : still no 
credentials, challenging UE

I hoped that the 2nd REGISTER attempt (automatically resent by Sofia) would 
have answered the authentication challenge received with the credentials 
provided but nothing.

I am very probably doing something wrong but could not figured it out :(

Please, find enclosed network traces and sofia verbose output of the scenario 
described above.

Thanks,

Laurent


Attachment: net.log
Description: Binary data

Attachment: sofia.log
Description: Binary data


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to