Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] override/redefine asterisk DB function


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rentorbuy at yahoo.com
Guest





PostPosted: Sun Mar 02, 2008 6:33 am    Post subject: [asterisk-users] override/redefine asterisk DB function Reply with quote

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





PostPosted: Sun Mar 02, 2008 7:41 am    Post subject: [asterisk-users] override/redefine asterisk DB function Reply with quote

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





PostPosted: Sun Mar 02, 2008 5:17 pm    Post subject: [asterisk-users] override/redefine asterisk DB function Reply with 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?
/Benny
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Mar 02, 2008 5:23 pm    Post subject: [asterisk-users] override/redefine asterisk DB function Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services