[Asterisk-Users] app_voicemail.c still looking for config file even I try to configure the voicemail from database.

Wei Kun wei-kun at mediaring.com
Wed Aug 10 12:04:19 MST 2005


Hi
I am trying to make asterisk load config from database, so far I get the
sip, extension working, but voicemail seems still looking for config file,
not from the database.

the extconfig.conf looks like
...
sipusers => mysql,asterisk,sip_buddies
sippeers => mysql,asterisk,sip_buddies
extensions => mysql,asterisk,extensions_table
voicemail => mysql,asterisk,voicemail_users
..

the table looks like
mysql> select * from voicemail_users;
+----------+-------------+---------+---------+----------+----------+--------
---------------+------+
| uniqueid | customer_id | context | mailbox | password | fullname | email
| page |
+----------+-------------+---------+---------+----------+----------+--------
---------------+------+
|        1 |        2000 | local   |    2000 | 4321     | Wei Kun  |
wei-kun at mediaring.com |      |
|        2 |        2001 | local   |    2001 | 8765     | Wei Kun  |
kunwei2005 at gmail.com  |      |
+----------+-------------+---------+---------+----------+----------+--------
---------------+------+

But when I call, it prints

Aug 11 15:04:08 WARNING[9316] app_voicemail.c: No entry in voicemail config
file for '2001'

Do I need put something in voicemail.conf to instruct app_voicemail.c to
look it up from database?

Thanks
Kun




More information about the asterisk-users mailing list