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

Olle E. Johansson oej at edvina.net
Mon Jun 3 08:43:55 CDT 2013


3 jun 2013 kl. 11:59 skrev Walter Doekes <walter+asterisk-dev at osso.nl>:

> 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?
> 
The OPTIONs are not related to "calls", Johan. It's just related to peers.

As Walter said, session timers are activated on a per call basis.


/O


More information about the asterisk-dev mailing list