Now that I've slogged through everyone else's reply and got to the original post, here's an idea. You seem to have the dialplan part worked out; why not do a simple HTML interface to do the Berkley maint using asterisk -rx to do the CLI reads/pokes? With asterisk -rx you can automate 90+ percent of CLI functions.
-----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of sean darcy Sent: Monday, May 25, 2009 4:29 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] howto store local exchange prefixes ? The local telco is now going 10 digit dialing even for local (free) calls which used to be 7 digit. For a while no problem, everyone will continue to dial 7 digits, and I'll add the area code. But pretty soon everyone will become used to 10 digits. There are about 40 3 digit local exchanges. I'd like to store the exchanges in a database, and use the dialplan to check them. I can figure that out. I've looked at the Berkeley DB. That works pretty well, if the exchanges are all stored. But it looks like the exchanges have to be entered 1 by 1 from the CLI. And can only be reviewed, corrected, or deleted from the CLI. I haven't found any simple frontend for the DB. I'd also consider sqlite3, but from the sqlite3 .conf.sample, it's only for CDR. In any event, I couldn't find a simple frontend. I'd prefer not to go into mysql etc for such a simple project. sean _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users