<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] mod_voicemail accounts on-the-fly</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>That does not provide for User configuration only voicemail metadata storage... Again, at this time you would need to use XML CURL to do what you are trying to do. There at some point in the future may be a way to grab users via direct ODBC or other database driver however at this point its not possible... Your only other possible option is via LDAP for the users &nbsp;<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Adam Wilt &lt;wiltingtree@gmail.com&gt;<BR>
<B>Reply-To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Date: </B>Sat, 13 Jun 2009 18:28:55 -0400<BR>
<B>To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Subject: </B>Re: [Freeswitch-users] mod_voicemail accounts on-the-fly<BR>
<BR>
Thanks. I would really like mod_voicemail to be database driven, instead of by XML and cURL. <BR>
I noticed in the documentation that you can provide an ODBC handle in the voicemail.conf.xml file, and so I tried it with MySQL.<BR>
It created the two tables, voicemail_msgs and voicemail_prefs properly, and voicemail_msgs works the way I expect; when a new voicemail is created it writes a new record in this table.  But I don't understand the purpose of voicemail_prefs;  when I add a record here with a username and password, mod_voicemail ignores it. So I still have to use the config file or xml_curl to set-up the users. It doesn't seem like mod_voicemail reads from or writes to this table.<BR>
 <BR>
 <BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>