PJSUA: notification if the network connection is lost

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

 



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















[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