[OpenSIPS-Users] Nat_Traversal and keepalive messages

Dan Pascu dan at ag-projects.com
Tue Jan 6 18:11:18 CET 2009


On Monday 29 December 2008, mmarzuola at interfree.it wrote:
> Hi all.
> I'm trying to use the nat_traversal module.
> Sniffing the traffic I have noticed that even if a user agent stops its
> registering, the keepalive messages (I chose NOTIFY) continue to be
> sent by proxy to the UAs who had previously registered. Is there a
> configuration error, or is there a way to stop these messages in case
> of no response from the UAs?

To keep the implementation simple, only 1 timer is kept for the register 
condition and one for the subscribe condition. Since this timer may be 
servicing multiple registrations from the same NAT address, when one 
un-registers, the timer is not deleted to allow keeping the others alive. 
As a result it will keep sending keepalives until it expires, even if it 
has un-registered in the meanwhile.

-- 
Dan



More information about the Users mailing list