[asterisk-dev] Enable SIP keepalive (OPTIONS?) for calls from unregistered but authenticated peers

Walter Doekes walter+asterisk-dev at osso.nl
Mon Jun 3 04:59:59 CDT 2013


On 03/06/13 11:53, Johan Sandgren wrote:
> I need activate SIP keepalives "OPTIONS"-packet (over UDP) for unregistered, but authenticated calls into asterisk.
> I have played with the sip.conf settings but have not been able to enable any SIP keepalives when not registered when calling with SIP into Asterisk.
> So I decided to go into the source code to modify it to send then even for unregistered calls.

Assuming you want this to keep NAT holes open, can't you use 
session-timers with a low expiry for this purpose?

Cheers,
Walter



More information about the asterisk-dev mailing list