[asterisk-users] Re: Adding 4000 Lines to asteriskdb via asterisk -rx ?

Steven asterisk at tescogroup.com
Mon Jan 8 09:45:48 MST 2007


How much would all of  that data slow down asterisk?
Is astdb made to handle that much data?

-- 
-- 
Steven

http://www.glimasoutheast.org



"Christoph Adomeit" <Christoph.Adomeit at gatworks.de> wrote in message news:20070108155958.GA443 at mp3.niederrhein.de...
> 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
> _______________________________________________
> --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
> 





More information about the asterisk-users mailing list