[sr-dev] db version of nat pinger

Juha Heinanen jh at tutpro.com
Sat Sep 15 09:22:07 CEST 2012

current implementation of nathelper nat pinging is based on obtaining
contact info from usrloc module:

static void
nh_timer(unsigned int ticks, void *timer_idx)
	rval = ul.get_all_ucontacts(buf, cblen, (ping_nated_only?ul.nat_flag:0),
		((unsigned int)(unsigned long)timer_idx)*natping_interval+iteration,

would it be feasible to have another mode where the contact info is
obtained from database location table?  this would make it possible to
ping nated contacts also from other hosts than the registrar, such as a

any comments?

-- juha

More information about the sr-dev mailing list