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
[EMAIL PROTECTED]     Internetloesungen vom Feinsten
Fon. +49 2166 9149-32                      Fax. +49 2166 9149-10
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to