Jason Goecke
2004-Dec-12 02:06 UTC
[Asterisk-Users] Problems getting Asterisk Realtime to work
I have installed the CVS Head as of 12/12/04, as well as the asterisk-addons to ensure that /usr/lib/asterisk/modules/res_config_mysql.so exists. I have configured the following (after building a new DB with the appropriate SQL examples, with mods to drop the invalid keys, on the Wiki): - /etc/asterisk/res_mysql.conf [general] dbhost = 127.0.0.1 dbname = my_db dbuser = my_uname dbpass = my_secret dbport = 3306 dbsock = /tmp/mysql.sock - /etc/asterisk/extconfig.conf ; Extconfig.conf for realtime configuration voicemail => mysql,my_db,voicemail_users (Just want to try something simple such as voicemail for the initial testing.) I have removed the [default] section from my voicemail.conf. When I try to access voicemail after restarting Asterisk, no voicemail config is found. Anyone have any luck? --------------------- I notice I get this error at startup: parse error: No category context for line 1 of /etc/asterisk/extconfig.conf If I change my extconfig.conf to: ; Extconfig.conf for realtime configuration [default] voicemail => mysql,my_db,voicemail_users The error goes away, but the config still does not work. Can't find anything on the new Wiki pages on the subject though. --------------------- Also posted here: http://asterisk.xvoip.com/viewtopic.php?t=764&start=0&postdays=0&postorder=asc&highlight=
Jason Goecke
2004-Dec-12 04:52 UTC
[Asterisk-Users] Problems getting Asterisk Realtime to work
I have installed the CVS Head as of 12/12/04, as well as the asterisk-addons to ensure that /usr/lib/asterisk/modules/res_config_mysql.so exists. I have configured the following (after building a new DB with the appropriate SQL examples, with mods to drop the invalid keys, on the Wiki): - /etc/asterisk/res_mysql.conf [general] dbhost = 127.0.0.1 dbname = my_db dbuser = my_uname dbpass = my_secret dbport = 3306 dbsock = /tmp/mysql.sock - /etc/asterisk/extconfig.conf ; Extconfig.conf for realtime configuration voicemail => mysql,my_db,voicemail_users (Just want to try something simple such as voicemail for the initial testing.) I have removed the [default] section from my voicemail.conf. When I try to access voicemail after restarting Asterisk, no voicemail config is found. Anyone have any luck? --------------------- I notice I get this error at startup: parse error: No category context for line 1 of /etc/asterisk/extconfig.conf If I change my extconfig.conf to: ; Extconfig.conf for realtime configuration [default] voicemail => mysql,my_db,voicemail_users The error goes away, but the config still does not work. Can't find anything on the new Wiki pages on the subject though. --------------------- Also posted here: http://asterisk.xvoip.com/viewtopic.php?t=764&start=0&postdays=0&postorder=asc&highlight=
Matthew Boehm
2004-Dec-13 07:57 UTC
[Asterisk-Users] Problems getting Asterisk Realtime to work
It should be [settings] in your extconfig.conf not [default]. -Matthew ----- Original Message ----- From: "Jason Goecke" <jsgoecke@yahoo.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, December 12, 2004 3:06 AM Subject: [Asterisk-Users] Problems getting Asterisk Realtime to work> I have installed the CVS Head as of 12/12/04, as well > as the asterisk-addons to ensure that > /usr/lib/asterisk/modules/res_config_mysql.so exists. > > I have configured the following (after building a new > DB with the appropriate SQL examples, with mods to > drop the invalid keys, on the Wiki): > > - /etc/asterisk/res_mysql.conf > > [general] > dbhost = 127.0.0.1 > dbname = my_db > dbuser = my_uname > dbpass = my_secret > dbport = 3306 > dbsock = /tmp/mysql.sock > > - /etc/asterisk/extconfig.conf > > ; Extconfig.conf for realtime configuration > > voicemail => mysql,my_db,voicemail_users > > (Just want to try something simple such as voicemail > for the initial testing.) > > I have removed the [default] section from my > voicemail.conf. When I try to access voicemail after > restarting Asterisk, no voicemail config is found. > > Anyone have any luck? > --------------------- > I notice I get this error at startup: > > parse error: No category context for line 1 of > /etc/asterisk/extconfig.conf > > If I change my extconfig.conf to: > > ; Extconfig.conf for realtime configuration > > [default] > voicemail => mysql,my_db,voicemail_users > > The error goes away, but the config still does not > work. Can't find anything on the new Wiki pages on the > subject though. > --------------------- > Also posted here: > >http://asterisk.xvoip.com/viewtopic.php?t=764&start=0&postdays=0&postorder=asc&highlight> _______________________________________________> Asterisk-Users mailing list > Asterisk-Users@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
Jason Goecke
2004-Dec-13 10:10 UTC
[Asterisk-Users] Problems getting Asterisk Realtime to work
Hello, Thank you. I changed the /etc/asterisk/extconfig.conf to: [settings] voicemail => mysql,my_db,my_table Still no luck, as it is not picking up the voicemail boxes in realtime, says they do not exist (they are correctly in the database, I believe). Jason --- Matthew Boehm <mboehm@cytelcom.com> wrote:> It should be [settings] in your extconfig.conf not > [default]. > > -Matthew==== Jason Goecke www.goecke.net Ph: +31.707.504.634 Mb: +31.707.504.634 Fx: +31.847.598.006 Alt#s: +1.720.946.6451 (US) /+44.844.986.9270 (UK) jason@goecke.net