When the user changes his password through the voicemail app, a custom ESL event is fired: vm::maintenance
You can listen for it through an esl client to get and save the new password to DB.
.
> On 30 Sep 2019, at 07:26, H Yavari via FreeSWITCH-users <
freeswitch-users@lists.freeswitch.org> wrote:
>
>
> From: H Yavari <
hyavari@rocketmail.com>
> Subject: Re: [Freeswitch-users] Voicemail DB Authentication
> Date: 30 September 2019 at 07:25:29 CEST
> To: FreeSWITCH Users Help <
freeswitch-users@lists.freeswitch.org>, David Villasmil <
david.villasmil.work@gmail.com>
>
>
> Thank David.
>
> But how we should save the pass in DB? user comes through phone and changes his/her password, so we have to use ODBC for voicemails? although it would be different db with xml_curl for user configs and we should manage both db sync ourselves.
>
> What do you think?
> I thought FreeSwitch should be more flexible than this.
>
> Regards,
> HY
>
> On Saturday, September 28, 2019, 08:35:15 AM PDT, David Villasmil <
david.villasmil.work@gmail.com> wrote:
>
>
> It’s been a while, but I’m pretty sure if you change a password in the dB, and you’re serving the config via XML_CURL it’ll take effect immediately. Every time a request comes into fs, the config is requested from the xml_curl server, which means it’ll server the current config.
>
> On Sat, 28 Sep 2019 at 15:18, H Yavari via FreeSWITCH-users <
freeswitch-users@lists.freeswitch.org> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: H Yavari <
hyavari@rocketmail.com>
> To: FreeSWITCH Users Help <
freeswitch-users@lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Sat, 28 Sep 2019 13:47:04 +0000 (UTC)
> Subject: Voicemail DB Authentication
> Hi to all,
>
> I've searched a little in wiki to find a solution for VM user authentication through remote DB, but couldn't find enough hints. Anyone can give some idea about it?
>
> Currently, I noticed that we can't store just user / pass for extensions in external DB and query when we need it, we should use mod_xml_curl and load the directory xml in this way. So, it would be included vm pass also, but problem comes when user changes his/her vm's pass. I couldn't find any method to handle it.
>
> Thanks for help.
>
> Regards,
> HY
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: H Yavari via FreeSWITCH-users <
freeswitch-users@lists.freeswitch.org>
> To: FreeSWITCH Users Help <
freeswitch-users@lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Sat, 28 Sep 2019 07:18:38 -0700 (PDT)
> Subject: [Freeswitch-users] Voicemail DB Authentication
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire
https://signalwire.com> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
https://signalwire.community>
> Professional FreeSWITCH Services
>
sales@freeswitch.com>
https://freeswitch.com>
> Official FreeSWITCH Sites
>
https://freeswitch.com/oss>
https://freeswitch.org/confluence>
https://cluecon.com>
> 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>
https://freeswitch.com> --
> Regards,
>
> David Villasmil
> email:
david.villasmil.work@gmail.com> phone: +34669448337
>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire
https://signalwire.com> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
https://signalwire.community>
> Professional FreeSWITCH Services
>
sales@freeswitch.com>
https://freeswitch.com>
> Official FreeSWITCH Sites
>
https://freeswitch.com/oss>
https://freeswitch.org/confluence>
https://cluecon.com>
> 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>
https://freeswitch.com