[Asterisk-Users] voicemail and mysql

Francesco Castellano tit at lcm.mi.infn.it
Fri Jul 1 07:27:12 MST 2005


Dear list members,
I am trying to use mysql for the mailbox definitions of the voicemail
system. All works fine, but my asterisk does not catch the options of
the mailbox. In particular, 'attach=no' has no effect. Here is my test
table:

mysql> select * from users where email='tit at miodominio.com';
+---------+---------+----------+----------------------+-------------------+-------+--------------------+----------------+
| context | mailbox | password | fullname             | email
| pager | options            | stamp          |
+---------+---------+----------+----------------------+-------------------+-------+--------------------+----------------+
| default | 212     | 1978     | Francesco Castellano |
tit at miodominio.com |      | tz=italy|attach=no | 20050624171320 |
+---------+---------+----------+----------------------+-------------------+-------+--------------------+----------------+
1 row in set (0.00 sec)

Even if the only option is 'attach=no', it doesn't work.

And then I have a couple of question on voicemail: when asterisk reads
the mailbox definitions? At startup? Is it enough a "reload" to reread
the definitions, or is it necessary a "restart"?

Finally, is it possible to use at the same time some mailbox from mysql
and some from voicemail.conf? At cli prompt "show voicemail users"
doesn't work for mysql-defined mailboxes?

I've not found any documentation on these issues, and I have some
difficulties to get informations from the source code.

Any suggestions are welcomed!
Thanks, bye
Francesco




More information about the asterisk-users mailing list