[asterisk-users] Reading/Writing the Astdb
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Jan 24 15:23:40 CST 2009
On Sat, Jan 24, 2009 at 11:00:58AM -0500, cbbs70a at hotmail.com wrote:
>
> All;
> I have a question regarding the Astdb. When reading more than a few values, it can
> take quite a while to grab several
> values in the astdb using say, asterisk -rx "database show" >
> output.txt and work with that and then set a new value such as asterisk
> -rx "database put $key $value". The whole process can take over 1
> second for EACH ENTRY which adds up for more than a few keys.
Either do that through the manager interface, or (if you want to batch
commands) send them directly over the unix-domain socket asterisk.ctl .
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list