[asterisk-users] Adding 4000 Lines to asteriskdb via asterisk -rx ?
Christoph Adomeit
Christoph.Adomeit at gatworks.de
Mon Jan 8 08:59:58 MST 2007
Hi there,
I want to add 4000 Callerids and Callernames to my asterisk-db.
(/var/lib/asterisk/astdb)
I do not want an external database or an sql-database because I do
not want asterisk to depend on external processes.
However, when I do 4000 "database put number name" via a shellscript
and "asterisk -rx" I only have 600 entries later in my asterisk-
database. The asterisk sockets seems not to be designed for
bulk updates to the asterisk-db. I also don't want to add 4000
"sleep 1" to my shell-script.
Does anybody have an Idea how to add these lines to asterisk ? I
managed to Build a Perl DB_File Module for db1.8.5 but I do not
have the know how how to use DB_file and db1 databases.
Are there some external utilities to lock and update the asteriskdb ?
Is there a better way ?
Thanks
Christoph
--
Two hours of trial and error can save ten minutes of manual reading.
GATWORKS GmbH
Christoph.Adomeit at gatworks.de Internetloesungen vom Feinsten
Fon. +49 2166 9149-32 Fax. +49 2166 9149-10
More information about the asterisk-users
mailing list