If you use this method, what happens when a user tries to change their password from within the voicemail app? Is there some sort of hook in mod_voicemail that we can use to push the update to the database via the web server? -Tim Steven Ayre wrote:
Try using mod_xml_curl to provide the user directory.
voicemail password is a param in the user directory, you can generate that dynamically querying a database (e.g. MySQL) via a scripting language (e.g. PHP) using mod_xml_curl to get the current password (or a1 hash if you want to store it encrypted).
You can have a dialplan extension that's executed prior to the extension that connects them to their voicemail if there's no password set that collects DTMF and then sends it to the webserver to update the database using Mod_curl
http://wiki.freeswitch.org/wiki/Mod_voicemail#vm-password http://wiki.freeswitch.org/wiki/Mod_xml_curl http://wiki.freeswitch.org/wiki/Mod_curl
On 6 July 2010 17:12, Ghulam Mustafa <mustafa.pk <http://mustafa.pk>@gmail.com <http://gmail.com>> wrote:
i have not done something like this before, but you can create an event socket script to check first time login (possibly by checking _default_ password in db/xml) and then and then ask user to change the password.
check it out http://wiki.freeswitch.org/wiki/IVR
-m
On Tue, Jul 6, 2010 at 8:54 PM, Peder <peder@networkoblivion.com <mailto:peder@networkoblivion.com>> wrote: > Any idea how? > > -----Original Message----- > From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Ghulam Mustafa > Sent: Tuesday, July 06, 2010 10:35 AM > To: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> > Subject: Re: [Freeswitch-users] VM Force Password Change > > i don't think so, but you can definitely make it possible in dialplan. > > -m > > On Tue, Jul 6, 2010 at 5:58 PM, Peder <peder@networkoblivion.com <mailto:peder@networkoblivion.com>> wrote: >> Is there a way to force a password change upon first login to a voicemail >> account? We set the password to 1234 and would like to force users to >> change it the first time they login to the account. >> >> Peder >> >> >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org <mailto: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 >> > > > > -- > Ghulam Mustafa > cell: +92 333.611.7681 > sip: cyrenity@ekiga.net <mailto:cyrenity@ekiga.net> > mail: mustafa.pk <http://mustafa.pk>@gmail.com <http://gmail.com> > web: cyrenity.wordpress.com <http://cyrenity.wordpress.com> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org <mailto: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 <mailto: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 >
-- Ghulam Mustafa cell: +92 333.611.7681 sip: cyrenity@ekiga.net <mailto:cyrenity@ekiga.net> mail: mustafa.pk <http://mustafa.pk>@gmail.com <http://gmail.com> web: cyrenity.wordpress.com <http://cyrenity.wordpress.com>
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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