[asterisk-users] Realtime changes not reflected realtime

Jonathan Thurman jonathan at thurmantech.com
Sat Apr 17 14:37:18 CDT 2010


On Sat, Apr 17, 2010 at 11:14 AM, Jonas Kellens
<jonas.kellens at telenet.be> wrote:
>
> Is rtcachefriends=yes a wrong setting ??
>
>
> No, not if you want caching enabled.  I enable sip realtime caching on all
> of my systems.
>
>
> What if I do not enable caching ? What would be the effect on my realtime
> configuration with sip_buddies in my mysql-DB ?

At the bottom of the page it talks a little about caching:
http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip

I know that "sip show peers" doesn't work, and I believe that qualify
does not work without caching (but I haven't tested that).  I enable
caching because I don't change the names of sip_accounts that
frequently, and why have Asterisk hit the database constantly if you
aren't changing the information?  Asterisk will then save all of the
results in RAM, and only do a look-up for an unknown account.  If you
have a web interface for updating information you could always use AMI
to issue the prune/reload after committing the changes.

-Jonathan



More information about the asterisk-users mailing list