[asterisk-dev] Realtime caching or something else? (SIPretransmit #1)

Bill Kunyiha bill at freeway.com
Tue Oct 31 18:12:12 MST 2006


I think there should be a new variable (cluster=yes/no),where by if
cluster=yes is enabled, and the peer is not in cache, asterisk should look
for the peer in the database(Postgres, Mysql etc). This, way users will
still have MWI and phones could register in any machine.  

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Sergey Okhapkin
Sent: Tuesday, October 31, 2006 5:22 AM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Realtime caching or something else?
(SIPretransmit #1)

To my understanding, most of asterisk users (including myself) want static 
realtime (item 2 in your list).

On Tuesday 31 October 2006 07:59, Olle E Johansson wrote:
> I don't want to continue fixing a broken implementation. My suggestion:
>
> * Implement real caching: A configuration option that says how many  
> devices we should
> keep in memory (a max level) and a way to determine which ones to  
> expire when we hit
> this level. Do *not* provide NAT keepalives or MWI for these.
> Maybe we need manager/CLI commands for deleting cached objects that  
> have changed
> in the database.
>
> * Implement static realtime: When a device registers, load it in  
> memory from realtime
> storage and keep it in memory. Provide services like NAT keepalives  
> and MWI during registration.
> Only delete these from memory when they unregister or registration  
> expires.
>
> * We could additionally implement manager commands (and CLI) for  
> forcing a load
>    into memory from static storage. So if you configure for static  
> and add a device during
>    runtime, there's no need for full reload, just tell asterisk that  
> there's a new device
>    that needs to be loaded into memory.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list