[pjsip] SIP REGISTER problem encountered in symbian build

Alex T. W. LEUNG alexleung at astri.org
Mon Apr 21 03:12:30 EDT 2008

Dear Benny,

You advice is very helpful. I add the below line to ua.cpp:
cfg.allow_contact_rewrite = PJ_FALSE;

This disables the registration update due to contact being different
from ip-addr/port values in Via. Thanks so much.


-----Original Message-----
From: pjsip-bounces at lists.pjsip.org
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono
Sent: Saturday, April 19, 2008 8:30 PM
To: pjsip list
Subject: Re: [pjsip] SIP REGISTER problem encountered in symbian build

On Thu, Apr 17, 2008 at 3:54 AM, Alex T. W. LEUNG <alexleung at astri.org>
> Hello,
> The symbian_ua failed to register successfully. Instead, it returns:
> pjsua_acc.c SIP registration error: Credential failed to authenticate 
> 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.
> 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
> 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

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


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

Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org

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.

More information about the pjsip mailing list