Hi.
Is it possible to override the standard DB function in
Asterisk?
My dialplan contains a lot of calls to "Set(DB(...))"
and "${DB(...)} which of course use astdb to
store/read data. I would like to stop using astdb and
switch to Clustered MySQL (I don't suppose "clustered
astdb" exists?).
So instead of rewriting extensions.conf and replacing
the DB calls with MYSQL calls, would it be possible to
just "user-define" the DB function so that I can leave
the extensions file intact but make the appropriate
MYSQL function calls?
Thanks.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Tilghman Lesher
2008-Mar-02 12:41 UTC
[asterisk-users] override/redefine asterisk DB function
On Sunday 02 March 2008 05:33:49 Vieri wrote:> Is it possible to override the standard DB function in > Asterisk?No. -- Tilghman
Benny Amorsen
2008-Mar-02 22:17 UTC
[asterisk-users] override/redefine asterisk DB function
Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:> On Sunday 02 March 2008 05:33:49 Vieri wrote: >> Is it possible to override the standard DB function in >> Asterisk? > > No.Is it permitted to modify the astdb outside Asterisk, while Asterisk is running? It is a SQLite file, right? /Benny
Tzafrir Cohen
2008-Mar-02 22:23 UTC
[asterisk-users] override/redefine asterisk DB function
On Sun, Mar 02, 2008 at 11:17:20PM +0100, Benny Amorsen wrote:> Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes: > > > On Sunday 02 March 2008 05:33:49 Vieri wrote: > >> Is it possible to override the standard DB function in > >> Asterisk? > > > > No. > > Is it permitted to modify the astdb outside Asterisk, while Asterisk > is running? It is a SQLite file, right?Nope. Berkeley DB. Of an old vintage (1.86? the last one before the license change to the sleepycat license). -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir