View previous topic :: View next topic |
Author |
Message |
rentorbuy at yahoo.com Guest
|
Posted: Sun Mar 02, 2008 6:33 am Post subject: [asterisk-users] override/redefine asterisk DB function |
|
|
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 |
|
Back to top |
|
|
tilghman at mail.jeffa... Guest
|
Posted: Sun Mar 02, 2008 7:41 am Post subject: [asterisk-users] override/redefine asterisk DB function |
|
|
On Sunday 02 March 2008 05:33:49 Vieri wrote:
Quote: | Is it possible to override the standard DB function in
Asterisk?
|
No.
--
Tilghman |
|
Back to top |
|
|
benny+usenet at amorse... Guest
|
Posted: Sun Mar 02, 2008 5:17 pm Post subject: [asterisk-users] override/redefine asterisk DB function |
|
|
Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:
Quote: | On Sunday 02 March 2008 05:33:49 Vieri wrote:
Quote: | 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 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Sun Mar 02, 2008 5:23 pm Post subject: [asterisk-users] override/redefine asterisk DB function |
|
|
On Sun, Mar 02, 2008 at 11:17:20PM +0100, Benny Amorsen wrote:
Quote: | Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:
Quote: | On Sunday 02 March 2008 05:33:49 Vieri wrote:
Quote: | 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 |
|
Back to top |
|
|
|