This Question is Answered

2 "helpful" answers available (1 pts)
2 Replies Last post: Jan 15, 2010 11:45 AM by nate187  
Click to view nate187's profile   27 posts since
Sep 29, 2009

Jan 13, 2010 9:20 AM

Registration with authentication failing

Here's my setup - I'm using latest CVS and running in Upper Registration mode. Trying to connect with the iphone app nimbuzz thru OpenSBC to my Metaswitch.
From the attached log, it appears that:
The phone first tries to register without authentication, OpenSBC sends the register to the switch which replies with 401 Unauthorized
Then the phone sends another register with WWW-Authenticate and OpenSBC sends a 401 without sending it to the switch first.

My understanding could be wrong, but shouldn't it send every register to the switch when in All-Reg-As-Upper-Reg is enabled?
Attachments:
Click to view joegen's profile   467 posts since
Apr 28, 2007
1. Jan 13, 2010 8:35 PM in response to: nate187
Re: Registration with authentication failing
This is not a BUG in OpenSBC. OpenSBC is sending the 407 as a retransmission because it thinks the the new register (with auth) is still the original REGISTER without auth. Reason? Your UA (nimbuzz?) is sending the same via branch in the new REGISTER with auth (via branch indentifies a transaction). Thus, OpenSBC thinks its a retransmission and would naturally just retransmit its response. Also the UA is ACKIng reponses for REGISTER? File a bug report to the implementor and tell them ACK only applies to INVITEs not REGISTER.