Hello,

On 30/11/15 14:52, Marino Mileti wrote:

I would like to use nathelper module in order to "ping" all registered client and "delete" (from locations table) clients that are not reachable (maybe there's some network issue, or some other problem)

 

I've seen that it's possible to have this feature for natted contact using nathelper (but i haven't tried this functionaliy)

 

Is there a way to remove records from location table without wait that its expire is 0?


see:
http://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.p.keepalive_timeout

Also, look at the parameter of usrloc module for handling contacts that have the tcp connection cut.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu