At 12:54 PM -0500 8/9/03, Benjamin Miller wrote:

As far as I understand you do not want to open this DB while Asterisk has it open. Even though it is in standard db1 format.

A project _way_ down my list was to write some perl DBI commands that
allowed access to the asterisk db via the manager interface.

Yes, I had looked into the manager interface as well. For the very limited hacks I need to do, I think actually running the "asterisk -rx 'database blah'" commands will suffice. I was just looking for a more "graceful" hack, which I suppose is a contradiction in terms. :)


However, for now, I am looking at implementing most of my DB needs in an
external postgres database.   This allows for mulitple asterisk boxes to
access it via an asterisk native app or an agi app, as well as external
programs.

Of course, that is the correct way to do it. However, often the best way is sometimes not the best way, and an SQL database of some type is overkill right now for me.


If you really need to access the astdb, you might want to pursue doing
it through the manager interface.
Ben

Thanks! You gave me the info I needed, which was "asterisk probably locks the db when in use".


JT



-----Original Message----- From: John Todd [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:06 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] UNIX command-line interaction with astdb



I'm wondering if there is any command-line interface available for
working with values stored in astdb.  Of course, I can run "asterisk
-rx "database show" " or other commands like that, but I was hoping
for a local command that would allow manipulation or output in some
other form.  Is astdb in a standard db format?

JT
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to