hello, If i want to store the vm pasword in database , how should i go ahead with the dialplan to fetch the pasword. <domain name="mydomain.com" <user id="101"> <params> <param name="vm-password" value="12345"/> </params> </user> </domain> Regards San
If i want to store the vm pasword in database , how should i go ahead with the dialplan to fetch the pasword.
I'm not sure if i correctly understand your request. If you want to save the voicemail-settings in a db rather than a directory-file, there's a schema for that(http://wiki.freeswitch.org/wiki/Mod_voicemail#Database_Schema), the voicemail-app then fetches the password directly from the db via odbc. Does that help you? Regards, Christian
How Does it access database , does we need to write some syntax somewhere, so that FS fetches it out from DB. Regds Sam On Fri, Jun 10, 2011 at 11:36 AM, Christian Benke <benkokakao@gmail.com>wrote:
If i want to store the vm pasword in database , how should i go ahead with the dialplan to fetch the pasword.
I'm not sure if i correctly understand your request. If you want to save the voicemail-settings in a db rather than a directory-file, there's a schema for that(http://wiki.freeswitch.org/wiki/Mod_voicemail#Database_Schema), the voicemail-app then fetches the password directly from the db via odbc. Does that help you?
Regards, Christian
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 10 June 2011 09:38, Sam <u2nsam@gmail.com> wrote:
How Does it access database , does we need to write some syntax somewhere, so that FS fetches it out from DB.
Hi! I'm still not sure if i understand your question. The default configuration uses a sqlite-DB which is saved in /usr/local/freeswitch/db/voicemail_default.db. The voicemail-application accesses this db without additional configuration. If you however want to save the voicemail-preferences in a non-embedded DB like PostgreSQL or MySQL, you have to configure odbc on your host to access them plus activate odbc in voicemail.conf.xml. Please read the following pages if that is what you want to do: http://wiki.freeswitch.org/wiki/Mod_voicemail#odbc-dsn http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core hth, Christian
If I understand you correctly you want your VM users to have their individual passwords stored in a database. The solution is to use mod_xml_curl instead of static XML for your directory. See mod_xml_curl on the wiki, specifically look for the section on "bindings" for directory. -MC On Fri, Jun 10, 2011 at 1:29 AM, Christian Benke <benkokakao@gmail.com>wrote:
On 10 June 2011 09:38, Sam <u2nsam@gmail.com> wrote:
How Does it access database , does we need to write some syntax somewhere, so that FS fetches it out from DB.
Hi!
I'm still not sure if i understand your question.
The default configuration uses a sqlite-DB which is saved in /usr/local/freeswitch/db/voicemail_default.db. The voicemail-application accesses this db without additional configuration.
If you however want to save the voicemail-preferences in a non-embedded DB like PostgreSQL or MySQL, you have to configure odbc on your host to access them plus activate odbc in voicemail.conf.xml.
Please read the following pages if that is what you want to do: http://wiki.freeswitch.org/wiki/Mod_voicemail#odbc-dsn http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core
hth, Christian
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thankyou. On Sat, Jun 11, 2011 at 4:20 AM, Michael Collins <msc@freeswitch.org> wrote:
If I understand you correctly you want your VM users to have their individual passwords stored in a database. The solution is to use mod_xml_curl instead of static XML for your directory. See mod_xml_curl on the wiki, specifically look for the section on "bindings" for directory.
-MC
On Fri, Jun 10, 2011 at 1:29 AM, Christian Benke <benkokakao@gmail.com>wrote:
On 10 June 2011 09:38, Sam <u2nsam@gmail.com> wrote:
How Does it access database , does we need to write some syntax somewhere, so that FS fetches it out from DB.
Hi!
I'm still not sure if i understand your question.
The default configuration uses a sqlite-DB which is saved in /usr/local/freeswitch/db/voicemail_default.db. The voicemail-application accesses this db without additional configuration.
If you however want to save the voicemail-preferences in a non-embedded DB like PostgreSQL or MySQL, you have to configure odbc on your host to access them plus activate odbc in voicemail.conf.xml.
Please read the following pages if that is what you want to do: http://wiki.freeswitch.org/wiki/Mod_voicemail#odbc-dsn http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core
hth, Christian
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Christian Benke
-
Michael Collins
-
Sam