> Option A: Use the manager interface. > Tzafrir , Thanks, the idea to use the manager interface is wonderful. It is really fast and no data gets lost. I don't think 4000 Rows are a noticeable amaount of data for a db1 database.
I coded this: #!/usr/bin/perl use Asterisk::Manager; my $astman = new Asterisk::Manager; $astman->user('admin'); $astman->secret('bla'); $astman->host('localhost'); $astman->connect || die "Could not connect to " . $astman->host . "!\n"; foreach $num(1..5000) { $astman->command("database put callerids willi$num $num"); } $astman->disconnect; -- 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