<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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 <i>any</i> useful information out of
it, I have no idea.<br>
<br>
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.<br>
<br>
Atis Lezdins wrote:
<blockquote
cite="mid:670f60170803090601r5a467df9i2524f8581f341c86@mail.gmail.com"
type="cite">
<pre wrap="">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
<a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/index.php?page=Asterisk+func+realtime">http://www.voip-info.org/wiki/index.php?page=Asterisk+func+realtime</a>
</pre>
</blockquote>
</body>
</html>