[sr-dev] git:master: usrloc(k): keep time of the last keepalive for natted UDP contacts

Juha Heinanen jh at tutpro.com
Thu Sep 13 16:08:51 CEST 2012


Klaus wrote:

   Why only UDP? Are TCP contacts removed when the TCP connections is closed?

   IMO there should also be a mechanism to remove ALL expired unresponsive 
   contacts.

how about the following for tcp contacts:

- set_forward_no_connect();
- if t_relay() fails because tcp connection does not exist,
  unregister the AoR/contact

what would be needed is a find out that t_relay() failed due to
non-existing connection and a script function to do un-registration of
an AoR/contact.

perhaps both of these two things already exist?

-- juha



More information about the sr-dev mailing list