[Asterisk-Users] MySQL
Bill
admin at vci.net
Fri Dec 10 15:31:43 MST 2004
Thanks for the help so far.
You mean this line in the app_voicemail.c file?
var = ast_load_realtime("voicemail", "mailbox", mailbox, "context",
retval->context, NULL);
I assume this is the CVS version you are referring to? If so, this
version also has the "mysql-vm-routines.h" in asterisk-addons.
This is my extconfig.conf file. Most of it is defaulted.
;
; Static configuration files:
;
; file.conf => driver,database[,table]
;
; maps a particular configuration file to the given
; database driver, database and table (or uses the
; name of the file as the table if not specified)
;
;uncomment to load queues.conf via the odbc engine.
;
;queues.conf => odbc,asterisk,ast_config
;
; Realtime configuration engine
;
; maps a particular family of realtime
; configuration to a given database driver,
; database and table (or uses the name of
; the family if the table is not specified
;
;iaxfriends => odbc,asterisk
;sipfriends => odbc,asterisk
voicemail => mysql,asterisk,users
;extensions => odbc,asterisk
Bill
----- Original Message -----
From: Matthew Boehm
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Friday, December 10, 2004 4:10 PM
Subject: Re: [Asterisk-Users] MySQL
Now I am totally lost. Do you want to use old vm-routines or do you want to
use RealTime? If RealTime, then you need to be using most recent CVS. Verify
this by searching app_voicemail for the phrase "ast_load_realtime". If you
find it, good. If not. Update.
Now, send me your extconfig,conf. Are you trying to use the MySQL RealTime
driver inside asterisk-addons or are you using ODBC=>MySQL?
-Matthew
----- Original Message -----
From: "Bill" <admin at vci.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Friday, December 10, 2004 1:59 PM
Subject: Re: [Asterisk-Users] MySQL
> The only references I have to the context in voicemail.conf is pretty
> much blank. Most of this file is untouched so far since I am trying to use
> the MySQL. I have the following in voicemail.conf but the mailboxes are
> commented out so I can test the MySQL. Am I supposed to have a reference
to
> a context using the MySQL somehow in this file? If so, how?
>
> [from-sip]
> ;0060 => 1111,Test Mailbox,email at address.net
>
> Bill
>
>
>
>
> ----- Original Message -----
> From: Matthew Boehm
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Sent: Friday, December 10, 2004 1:45 PM
> Subject: Re: [Asterisk-Users] MySQL
>
>
> > Any ideas where the "default" context may be coming from in the
MySQL
> > statement mentioned below? The only context I have specified in sip.conf
> and
> > extensions.conf is called "from-sip".
>
> Yea, what is the context stored in your voicemail.conf file?
>
> Matthew
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list