[pjsip] SIP REGISTER problem encountered in symbian build

Alex T. W. LEUNG alexleung at astri.org
Thu Apr 17 03:54:29 EDT 2008


Hello,
 
The symbian_ua failed to register successfully. Instead, it returns:
pjsua_acc.c SIP registration error: Credential failed to authenticate
(PJSIP_EFAILEDCREDENTIAL [status=171100]
 
Both symbian_ua on emulator and symbian_ua on actual device (N82) will
see the same error. However, strangely, pjsua of release 0.8.0 can
register successfully on Windows, using the same sip credentials.
 
Here is the packet flow captured:
|Time     | 10.6.104.18       | proxy     |
|0.000    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 43983)
|         |(5060)   ------------------>  (5060)   |
|0.123    |         Status: 401 Unautho           |SIP: Status: 401
Unauthorized - no credentials are provided in the request    (0
bindings)
|         |(5060)   <------------------  (5060)   |
|0.503    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 43984)
|         |(5060)   ------------------>  (5060)   |
|0.591    |         Status: 200 OK    (           |SIP: Status: 200 OK
(1 bindings)
|         |(5060)   <------------------  (5060)   |
|0.887    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 43985)
|         |(5060)   ------------------>  (5060)   |
|0.981    |         Status: 401 Unautho           |SIP: Status: 401
Unauthorized - no credentials are provided in the request    (0
bindings)
|         |(5060)   <------------------  (5060)   |
|1.038    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 29318)
|         |(5060)   ------------------>  (5060)   |
|1.144    |         Status: 401 Unautho           |SIP: Status: 401
Unauthorized - no credentials are provided in the request    (0
bindings)
|         |(5060)   <------------------  (5060)   |
|1.384    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 43986)
|         |(5060)   ------------------>  (5060)   |
|1.482    |         Status: 200 OK    (           |SIP: Status: 200 OK
(0 bindings)
|         |(5060)   <------------------  (5060)   |
|1.718    |         Request: REGISTER s           |SIP: Request:
REGISTER sip:proxy (CSeq: 29319)
|         |(5060)   ------------------>  (5060)   |
|1.810    |         Status: 401 Unautho           |SIP: Status: 401
Unauthorized - server-specified nonce should be uniquely generated    (0
bindings)
|         |(5060)   <------------------  (5060)   |
 
The above are facts gathered. I suspect that the error may be due to the
existence of REGISTER requests with strange CSeq number. In the above
capture, CSeq series of 43xxx seems to be normal. But the REGISTER with
CSeq 29xxx seems to be quite strange and unnecessary. By the way, pjsua
(rel 0.8.0) on Windows don't generate these kind of strange CSeq series
in the REGISTER process.
 
Thank you for shedding some lights on this issue! Wish you all a good
day.
 
Alex Leung.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This message (including any attachments) is for the named
addressee(s)'s use only. It may contain sensitive, confidential,
private proprietary or legally privileged information intended for a
specific individual and purpose, and is protected by law. If you are
not the intended recipient, please immediately delete it and all copies
of it from your system, destroy any hard copies of it
and notify the sender. Any use, disclosure, copying, or distribution of
this message and/or any attachments is strictly prohibited.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080417/f7e61c53/attachment.html>


More information about the pjsip mailing list