DISCONNECTED in on_state_changed

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

 



PJSIP_INV_STATE_DISCONNECTED means when the call is disconnected by caller ,
callee or anyother reason.

On Fri, May 29, 2009 at 3:48 PM, David Andrey <David.Andrey at netmodule.com>wrote:

>  Hi everybody,
>
>
>
> What exactly has to be done in the on_state_changed() callback for the
> ?PJSIP_INV_STATE_DISCONNECTED? state ?
>
>
>
> My start point is the ?simple_pjsua.c? sample, split in init / makeCall
> parts. Works fine until I try to made a second call.
>
> The second call ends with    PJ_ASSERT_RETURN(!udp->attached,
> PJ_EINVALIDOP) in transport_attach().
>
>
>
> Have I to add some closing actions, like pjmedia_session_destroy() ? Which
> is the media state by PJSIP_INV_STATE_DISCONNECTED ?
>
>
>
> Thank you for tips and overview !
>
>
>
> Best regards
>
> David
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
>
>


-- 
S. M. Nazmul Hasan Opu
Software Engineer
R & D Application
Dhaka, Bangladesh
Mob: +880 1712 901 764
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090530/15a9ac59/attachment.html>


[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