Hello, I got the same problem. But I solved it by deleting the previous acc with pjsua_acc_del before adding a new one. Best Regards Ferdous Ahmed ________________________________ From: Even Andr? Fiskvik <eaf@xxxxxxxxxx> To: pjsip list <pjsip at lists.pjsip.org> Sent: Wed, May 18, 2011 1:05:39 AM Subject: Re: iphone crashes when registering and unregistering account If I understand you correctly you are adding the same account multiple times. This is the same as adding three different accounts, and I think there is an adjustable limit set somewhere on how many accounts you can use. What you are probably trying to achieve though is to unregister and register the same account, and for those cases you should use the same account ID and only add it with pjsua_acc_add ONCE. Best regards, Even Andr? On 17. mai 2011, at 16.22, Laxman Pandey wrote: > Dear Sir, > > When i try to register correct sip info. > > 1- it get register and return the reg id =2 from general_call_register(); > then successfully unregister. > > 2- it get register and return the reg id =3 from general_call_register(); > then successfully unregister. > > In third attempt it gets crash the application at the function-: status = >pjsua_acc_add(&acc_cfg, PJ_TRUE, &accid); > > GDB Display: > > Current language: auto; currently c > Assertion failed: (pjsua_var.acc_cnt < >(sizeof(pjsua_var.acc)/sizeof(pjsua_var.acc[0]))), function pjsua_acc_add, file >../src/pjsua-lib/pjsua_acc.c, line 290. > Program received signal: ?SIGABRT?. > > Could you please help me to solve this issue, I will be greatly thankful for >the help. > > Regards > Laxman Pandey > > _______________________________________________ > 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 _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110519/5e0ca216/attachment.html>