[asterisk-dev] Realtime autoclear

Kevin P. Fleming kpfleming at digium.com
Thu Mar 23 12:47:26 MST 2006


Johansson Olle E wrote:

> However, the source sets the rtautoclear by default to 120 secs, so if I
> don't miss
> anything, if you set rtautoclear=yes, all registrations will expire in
> 120 secs, not
> as documented in when the registration expires.

No, the registration will not expire, the peer will be flushed from the
in-memory cache. The registration expiry behavior is not affected by the
use of realtime.

Basically, this allows you to decide how long the peer should live in
the in-memory cache: for a fixed amount of time after each time we load
it, or until its registration expires.



More information about the asterisk-dev mailing list