Hi, can anyone suggest an easy way to read and write the astdb from a perl or php scripting language? So far we have been unable to get perl to talk to it. And have been unable to find any kind of sample scripts.
Even a simple “hello world” example would be wonderful… like a script to fetch the value associated with /myfamily/mykid/mytoken in the database.
Asterisk made it SO easy to work with the Astdb, we’re hoping to find a comparably easy way to write scripts than can read (and maybe write) to the same database. We’re using the AstDb and dialplans very extensively to develop some kinda fun telephony apps.
We’re using trixbox 1.2.3 for the development platform, which has (I think) Berkeley Db 1.85. The trixbox-pre-installed Perl module DB_FILE is v1.809. I have no idea what if any PHP module is installed already with trixbox for accessing the Berkeley database.