[reSIProcate] Network Down notification

Alan Hawrylyshen alan at jasomi.com
Tue Oct 25 21:41:50 CDT 2005


On Oct 25, 2005, at 17:22, Amit Rastogi wrote:

> Hello,
>
> is there a way to know for a UA using resip that the network  
> connection is down ( somebody unplugged the cable), wireless  
> network down etc. etc..
>
> although the UA is able to reconnect to the proxy once the network  
> is up but does not get any msg/notification for network disconnect..
>
> can this be done ? or UA need to somehow know that the network has  
> gone down and unregister and register when network comes back....
>

The details of detecting a loss of network connectivity vary from OS  
to OS.
Therefore, it is not currently implemented in reSIProcate. You could  
notice that your requests timeout. (local 408) for UDP and get 503s  
on TCP. Beyond that, we'd have to implement something specific to the  
OS or use some keep-alive mechanism.

NOTE: You don't have to 'unregister' and if you don't move (and are  
using UDP) you don't have to re-REGISTER either.

Alan




More information about the resiprocate-devel mailing list