DISCONNECTED in on_state_changed

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

 



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

 

 

 






 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090529/f2afc300/attachment-0001.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