Assertion failing on second call

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

 



Hi Coleman,

I just did quick test with our sample application, symbian_ua[_gui],
consecutive calls were fine.

It seems your app ended the call using pjsip API
pjsip_inv_end_session(), not pjsua-lib API as used by
symbian_ua[_gui], if it is intended, please make sure your app manages
the pjmedia parts well, since the assertion happened in the pjmedia
transport [UDP] (it is attached, something to do with pjmedia in the
first call session). So pjmedia was not cleaned up as it should be.

Regards,
nanang


2008/6/13 S Coleman <scoleman2012 at gmail.com>:
> I'm using the pjsip framework on Symbian. The first call I make works fine.
> After I end the call and try to connect another call I get an assertion
> error in transport_attach()
>     /* Must not be "attached" to existing application */
>     PJ_ASSERT_RETURN(!udp->attached, PJ_EINVALIDOP);
>
>
> I'm ending the call with:
>     status = pjsip_inv_end_session(g_inv, 603, NULL, &tdata);
>     if (status==PJ_SUCCESS && tdata!=NULL)
>         pjsip_inv_send_msg(g_inv, tdata);
>
> Do I need to do anything else to get rid of this error?
>
> Thanks, Scott..
>
> _______________________________________________
> 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
>
>



[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