[asterisk-users] replace astdb with a cluster-capable sql database engine

Rob Hillis rob at hillis.dyndns.org
Sun Mar 9 13:20:13 CDT 2008


To be perfectly honest, the REALTIME function is absolutely hideous when
it comes to reading data from the RealTime database.  What on earth the
Asterisk developers were thinking when they replaced the perfectly
usable RealTime (which sets a channel variable for each field in the
database) with the REALTIME function that requires massive amounts of
additional code to get /any/ useful information out of it, I have no idea.

How replacing one application that can give you a phone's IP address in
a channel variable with a function that requires a dozen or more lines
of code to achieve the same end result can be considered an improvement,
I have no idea.  If the REALTIME function would allow you to specify a
single field to retrieve, then yes, it would be an improvement.  Because
it doesn't, it looks to be damn near unusable.

Atis Lezdins wrote:
> For your own custom data you can use Realtime engine - it has INSERT
> and DELETE support in 1.6, and it's easily backportable to 1.4 (if
> you're interested i can give you working patches). All you have to do
> is declare realtime class in extconfig.conf, and then use
> Set(REALTIME(....)=...). For more info on this see
> http://www.voip-info.org/wiki/index.php?page=Asterisk+func+realtime
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080310/c7bcc56a/attachment.htm 


More information about the asterisk-users mailing list