Asterisk Phonebook - automation

Does anyone know if there is a way to do a CSV import from the command line, such that I could use a cron job to automatically load data in to the Asterisk Phonebook?

This also implies the need to be able to clear the address book from the command line as well.

Thanks

Alan

[quote=“w1zz”]Does anyone know if there is a way to do a CSV import from the command line, such that I could use a cron job to automatically load data in to the Asterisk Phonebook?

This also implies the need to be able to clear the address book from the command line as well.

Thanks

Alan[/quote]

Perhaps a perl script to modify the mysql table directly? works for me.