Assertion on reregistration

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

 



Hello benny,
I can explain what I done to run this...

1. Make a new empy file config_site.h in pjlib\include\pj and write
"#include <pj/config_site_sample.h>" on it.
2. Edit bld.inf and symbian_ua_gui.mmp like #define SND_USE_APS 1
3. Then build in Carbide-1.3 with GCCE phone debug and launch this in Nokia
E65 and N95.
4. Then add an new account(IP: 192.168.10.62, user:1111, pass:1111) using
settings menu  and then press done (this time it register ok).
5. Then I make call to sip:3333 at 192.168.10.62 <sip%3A3333 at 192.168.10.62> it
also ok.
6. Then I again try to re change my account as IP:192.168.10.62 user:2222
and pass:2222 this time this assertion fail(pj_assert(uri != NULL);) occured
at line 591 in pjsua_acc.c.

 We try to analize log file and our sip message I find that when pjsip try
to send reresister message then it first send unregister message and then it
send new register message. But when it receive the responce of register
message then this acc_check_nat_addr function called by the regc_cb callback
function and  here this assertion is occured and we find that in this
function the Contact header field is malformed.

I attatch a log file please review this.

Thanks,

On Wed, Sep 10, 2008 at 3:31 PM, Salahuddin Ahmed <bd.rubel at gmail.com>wrote:

> Thanks for replying,
>  I using symbian_ua_gui in pjsip-apps for my mobile.
> And I enable APS as you said in this link
> http://trac.pjsip.org/repos/wiki/APS . I didn't change anything else. Just
> build in carbide and launch this in my E65 everything is working fine. But
> problem is when I retry to register with my server by changing the IP, user
> and password in setting menu and got this assertion fail message with this
> line number(line 591 in pjsua_acc.cpp).
>
> Thanks
>
>
> On Wed, Sep 10, 2008 at 4:36 PM, Benny Prijono <bennylp at pjsip.org> wrote:
> > On Wed, Sep 10, 2008 at 8:30 AM, Salahuddin Ahmed <bd.rubel at gmail.com>
> > wrote:
> >>
> >> Hello,
> >>
> >> I install PJSIP(rev.2259) in my E65. I got an problem to using this.
> >> That is when I start this application then this register with my
> >> Asterisk server successfully. But when I want to change my IP, User
> >> and Password and press on done then it failed and give an assertion
> >> fail message. I got this assertion in 591(pj_assert(uri != NULL);)
> >> line in pjsua_acc.cpp file. I test this in emulator that is ok. Please
> >> give me an solution how can I resolve this.
> >>
> >
> > What application are you using? And could you list in detail exactly what
> > settings did you set (and which you did not).
> >
> >  -benny
> >
> >
> >>
> >> Thanks,
> >> Salahuddin Ahmed
> >>
> >
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
>
>
>
> --
> Salahuddin Ahmed
>
>


-- 
Salahuddin Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080911/8e4dacff/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjsip.log
Type: application/octet-stream
Size: 19921 bytes
Desc: not available
Url : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080911/8e4dacff/attachment-0001.log 


[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