Predictable nat keepalive OPTIONS from server

"Jon Bonilla (Manwe) via sr-users" <[email protected]> Tue, 12 May 2026 17:00:01 +0200
Newsgroups gmane.comp.voip.ser
Message-ID <20260512165421.21ae8cb9@multivac>
Hi

I'm experiencing an issue when trying to keep open the natted registrations of
the phones. 

It happens since upgraded from 5.6 to 6.0

The modparams in 5.6:
modparam("usrloc", "timer_interval", 30)
modparam("nathelper", "natping_interval", 0)




The modparams are these in 6.0:

modparam("usrloc", "timer_interval", 30)
modparam("usrloc", "ka_interval", 20)
modparam("usrloc", "ka_randomize", 5)
modparam("nathelper", "natping_interval", 0)

I let the ursloc ka system to send the keepalives. It does send them every 30
seconds with that configuration but the first one after the REGISTER can take
a minute and by that time some routers have closed the port and the OPTIONS
don't make it to the phone.

Is there a way to ensure that the first OPTIONS is sent before 30 seconds have
elapsed since the REGISTER?

Should I keep both ka and nathelper mechanisms?



cheers,

Jon

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEeCM0ZbH8r7OFHtBdv/8mNWfCIT8FAmoDQHEACgkQv/8mNWfC
IT/JYw//ZHi0cFueI5LdvdoMWy0xYs7QlDKYA9zjiJVnbO3XEdC2OkCZMYPcm4a4
vUtqnlwQHVEZRJ1DoagZppuue7hb3wlWdWakzXjTZDRFilPyK48EfNjDRGHCDBwS
6peJ8T2a+PrXB/UYTPCZiC2ZnhwnO5n91nQuKOW3J7OeALZdEA+nk/V21vuCVd12
bp7EByqY0zImbJjSqn//YSxVhZikV++O9voOmcli2uc+XngKw305JG32FY7cwhba
CZ/nDnMPvyCN5kXjfSidg45FmOMBDVZgDUS+zOS5v0qHrKhNZPHu6O5nEIOYP6jz
4pwjYaM4rkqqk5tbUT0tF15VJkrmbotY0NwnoYaq2P8+87V45lwtvcsEvfzSqghv
Hc1zaAG3PckMUhQGkaXVeXD/w7fIvkaR2Sy/3jS8u62PvSiavBffOXWc47HNPVbT
uOSnmg/I8ecw4k+I8fwKyeQUgRr/egpYfkUNVQuoJoMtfsNe7+JPV7ciDOwu2ZiX
0MRyuxzPMsuR9z1J1cyODk0T5v0Fx1KdCPnhJBNiItp8F7vw4i7OBDIvw8sAGw+a
K8TokusVPMBKxbfBYqj+vp2NwkkRXRDrzppyuOMeoUKiIxBK5YcveFjkEND7prMQ
UyugrP0qI31+L7pa35yQRmMtD+eKN6JL1/bvtYDQd+5Jblt0NK0=
=ucpC
-----END PGP SIGNATURE-----