Have you taken a look at pjsua_med_tp_state_cb ? On Fri, Sep 6, 2013 at 6:14 PM, Norbert Weyrich < norbert.weyrich at tennet-hh.de> wrote: > Hello, > > I'm writing an application with PJSUA and everything works fine! > > Next I need the possibility to detect the disconnection of the network > connection. > I didn't find any callback or other method which the application notifies > that the network connection is disconnected. > > I have tested with pjsua_transport_info but there is no information about > the state of the network connection (used protocol and the SIP server IP > address). > > The application works with the memory/buffer-based capture and pjsip fills > the buffer with the silence pattern if no RTP packages are received. But I > can not see any notification that the connection is lost. > > I use the UDP as transfer protocol. > > Has anybody an idea to resolve this problem? > > Thank you very much > > Norbert > > > > > > > > > > > > > > ______________________________**_________________ > 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<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> > -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130906/223439f6/attachment-0001.html>