SIP REGISTER problem encountered in symbian build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 17, 2008 at 3:54 AM, Alex T. W. LEUNG <alexleung at astri.org> wrote:
>
>
> 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.

Hi Alex,

Since release 0.8.0, we have a feature to automatically update the
registration if the Contact address is different than the Via
received/rport value. Have a look at
http://trac.pjsip.org/repos/ticket/381

This works fine with most servers so far, and it should. Could it be
that your server doesn't like this?

Cheers
 Benny

> Thank you for shedding some lights on this issue! Wish you all a good day.
>
> Alex Leung.
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux