[SR-Users] detect failed socket

Daniel Tryba d.tryba at pocos.nl
Mon Sep 5 11:02:31 CEST 2016


On Mon, Sep 05, 2016 at 09:19:59AM +0200, Daniel-Constantin Mierla
wrote:
> > I would be interested in if it is possible to detect such situations
> > on Kamailio side when for example a message cannot be delivered
> > because of such network conditions like airplane mode?
> You can use failure_route blocks to get a callback in the kamailio.cfg
> when a sip request is not forwarded successfully -- there you can take
> decisions like re-routining the request or close the tcp connection.

Just out of curiosity, but is kamailio notified (some event in the
config) that a socket died when using tcp keepalives on the OS level?




More information about the sr-users mailing list