<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">When you use xml-curl, the vm password is retrieved from the xml user directory that you provide through your app. So, you shouldn't need to update any FS instance's internal DB.</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""><br class=""></span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">Best Regards,</span><br class=""><div class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">-- <br class="">Vallimamod Abdullah<br class="">SIP Solutions<br class=""><a href="mailto:vma@sip.solutions" class="">vma@sip.solutions</a><br class="">linkedin.com/in/vallimamod<br class="">.<br class=""><br class=""></div></div>
</div>

<div><br class=""><blockquote type="cite" class=""><div class="">On 5 Oct 2019, at 16:43, H Yavari <<a href="mailto:hyavari@rocketmail.com" class="">hyavari@rocketmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="ydp555de877yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div class=""></div>
        <div dir="ltr" data-setdir="false" class="">Hi to all,</div><div dir="ltr" data-setdir="false" class=""><br class=""></div><div dir="ltr" data-setdir="false" class="">About this solution, when you have multi FS instances, how we can manage share info on DB? currently I handle the vm event, and update my DB, but how update other FS instances' internal DB?</div><div dir="ltr" data-setdir="false" class=""><br class=""></div><div dir="ltr" data-setdir="false" class="">Regards,</div><div dir="ltr" data-setdir="false" class="">HY</div><div dir="ltr" data-setdir="false" class=""><br class=""></div><div class=""><br class=""></div>
        
        </div><div id="ydp9e2ebf0cyahoo_quoted_0586792594" class="ydp9e2ebf0cyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
                
                <div class="">
                    On Monday, September 30, 2019, 06:15:22 PM GMT+3:30, H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:
                </div>
                <div class=""><br class=""></div>
                <div class=""><br class=""></div>
                <div class=""><div id="ydp9e2ebf0cymsg30963" class="ydp9e2ebf0cymsg3993579331"><div id="ydp9e2ebf0cyiv5147868923" class=""><div class=""><div class="ydp9e2ebf0cyiv5147868923ydp9a254692yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div class=""></div>
        <div dir="ltr" class="">Thank you.</div><div dir="ltr" class="">I will check this solution.</div><div dir="ltr" class=""><br clear="none" class=""></div><div dir="ltr" class="">Regards,</div><div dir="ltr" class="">HY</div><div class=""><br clear="none" class=""></div>
        
        </div><div class="ydp9e2ebf0cyiv5147868923yqt2271241397" id="ydp9e2ebf0cyiv5147868923yqt41147"><div class="ydp9e2ebf0cyiv5147868923ydp15077d8cyahoo_quoted" id="ydp9e2ebf0cyiv5147868923ydp15077d8cyahoo_quoted_0144603083">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
                
                <div class="">
                    On Monday, September 30, 2019, 06:14:16 AM PDT, Vallimamod Abdullah <<a href="mailto:vma@vallimamod.org" class="">vma@vallimamod.org</a>> wrote:
                </div>
                <div class=""><br clear="none" class=""></div>
                <div class=""><br clear="none" class=""></div>
                <div class=""><div dir="ltr" class="">Hi,<br clear="none" class=""><br clear="none" class="">Yes, you have the following params[1]:<br clear="none" class=""><br clear="none" class="">VM-Action: change-password<br clear="none" class="">VM-User-Password: <new password><br clear="none" class="">VM-User: <user><br clear="none" class="">VM-Domain: <domain><br clear="none" class=""><br clear="none" class="">To my knowledge, freeswitch doesn't save the new password to the xml file but to its core db in voicemail_prefs table[2].<br clear="none" class=""><br clear="none" class="">[1] <a shape="rect" href="https://github.com/signalwire/freeswitch/blob/master/src/mod/applications/mod_voicemail/mod_voicemail.c#L2316" rel="nofollow" target="_blank" class="">https://github.com/signalwire/freeswitch/blob/master/src/mod/applications/mod_voicemail/mod_voicemail.c#L2316</a><br clear="none" class="">[2] <a shape="rect" href="https://github.com/signalwire/freeswitch/blob/master/src/mod/applications/mod_voicemail/mod_voicemail.c#L2344" rel="nofollow" target="_blank" class="">https://github.com/signalwire/freeswitch/blob/master/src/mod/applications/mod_voicemail/mod_voicemail.c#L2344</a><br clear="none" class=""><br clear="none" class=""><br clear="none" class="">Best Regards,<br clear="none" class="">-- <br clear="none" class="">Vallimamod Abdullah<br clear="none" class="">SIP Solutions<br clear="none" class=""><a shape="rect" href="mailto:vma@sip.solutions" rel="nofollow" target="_blank" class="">vma@sip.solutions</a><br clear="none" class=""><a href="http://linkedin.com/in/vallimamod" class="">linkedin.com/in/vallimamod</a><br clear="none" class="">.<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">> On 30 Sep 2019, at 12:05, H Yavari <<a shape="rect" href="mailto:hyavari@rocketmail.com" rel="nofollow" target="_blank" class="">hyavari@rocketmail.com</a>> wrote:<br clear="none" class="">> <br clear="none" class="">> Hi Vallimamod,<br clear="none" class="">> <br clear="none" class="">> Thanks for reply. <br clear="none" class="">> <br clear="none" class="">> This event includes password?Is it secure in this way? I couldn't fine to see this event's params.<br clear="none" class="">> Also when we use xml_curl, if user changes password, Freeswitch saves it in local xml?<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> Regards,<br clear="none" class="">> H.Yavarfi<br clear="none" class="">> <br clear="none" class="">> On Monday, September 30, 2019, 01:33:38 AM PDT, Vallimamod Abdullah <<a shape="rect" href="mailto:vma@vallimamod.org" rel="nofollow" target="_blank" class="">vma@vallimamod.org</a>> wrote:<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> Hi,<br clear="none" class="">> <br clear="none" class="">> When the user changes his password through the voicemail app, a custom ESL event is fired: vm::maintenance<br clear="none" class="">> You can listen for it through an esl client to get and save the new password to DB.<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> Best Regards,<br clear="none" class="">> -- <br clear="none" class="">> Vallimamod Abdullah<br clear="none" class="">> SIP Solutions<br clear="none" class="">> <a shape="rect" href="mailto:vma@sip.solutions" rel="nofollow" target="_blank" class="">vma@sip.solutions</a><br clear="none" class="">> linkedin.com/in/vallimamod<br clear="none" class="">> .<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> > On 30 Sep 2019, at 07:26, H Yavari via FreeSWITCH-users <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:<br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > From: H Yavari <<a shape="rect" href="mailto:hyavari@rocketmail.com" rel="nofollow" target="_blank" class="">hyavari@rocketmail.com</a>><br clear="none" class="">> > Subject: Re: [Freeswitch-users] Voicemail DB Authentication<br clear="none" class="">> > Date: 30 September 2019 at 07:25:29 CEST<br clear="none" class="">> > To: FreeSWITCH Users Help <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>>, David Villasmil <<a shape="rect" href="mailto:david.villasmil.work@gmail.com" rel="nofollow" target="_blank" class="">david.villasmil.work@gmail.com</a>><br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > Thank David.<br clear="none" class="">> > <br clear="none" class="">> > 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.<br clear="none" class="">> > <br clear="none" class="">> > What do you think?<br clear="none" class="">> > I thought FreeSwitch should be more flexible than this.<br clear="none" class="">> > <br clear="none" class="">> > Regards,<br clear="none" class="">> > HY<br clear="none" class="">> > <br clear="none" class="">> > On Saturday, September 28, 2019, 08:35:15 AM PDT, David Villasmil <<a shape="rect" href="mailto:david.villasmil.work@gmail.com" rel="nofollow" target="_blank" class="">david.villasmil.work@gmail.com</a>> wrote:<br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > 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.<br clear="none" class="">> > <br clear="none" class="">> > On Sat, 28 Sep 2019 at 15:18, H Yavari via FreeSWITCH-users <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>> wrote:<br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > ---------- Forwarded message ----------<br clear="none" class="">> > From: H Yavari <<a shape="rect" href="mailto:hyavari@rocketmail.com" rel="nofollow" target="_blank" class="">hyavari@rocketmail.com</a>><br clear="none" class="">> > To: FreeSWITCH Users Help <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br clear="none" class="">> > Cc: <br clear="none" class="">> > Bcc: <br clear="none" class="">> > Date: Sat, 28 Sep 2019 13:47:04 +0000 (UTC)<br clear="none" class="">> > Subject: Voicemail DB Authentication<br clear="none" class="">> > Hi to all,<br clear="none" class="">> > <br clear="none" class="">> > 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? <br clear="none" class="">> > <br clear="none" class="">> > 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.<br clear="none" class="">> > <br clear="none" class="">> > Thanks for help.<br clear="none" class="">> > <br clear="none" class="">> > Regards,<br clear="none" class="">> > HY<br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > ---------- Forwarded message ----------<br clear="none" class="">> > From: H Yavari via FreeSWITCH-users <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br clear="none" class="">> > To: FreeSWITCH Users Help <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">freeswitch-users@lists.freeswitch.org</a>><br clear="none" class="">> > Cc: <br clear="none" class="">> > Bcc: <br clear="none" class="">> > Date: Sat, 28 Sep 2019 07:18:38 -0700 (PDT)<br clear="none" class="">> > Subject: [Freeswitch-users] Voicemail DB Authentication<br clear="none" class="">> > _________________________________________________________________________<br clear="none" class="">> > <br clear="none" class="">> > The FreeSWITCH project is sponsored by SignalWire <a shape="rect" href="https://signalwire.com/" rel="nofollow" target="_blank" class="">https://signalwire.com</a><br clear="none" class="">> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br clear="none" class="">> > Build your next product on our scalable cloud platform.<br clear="none" class="">> > <br clear="none" class="">> > Join our online community to chat in real time <a shape="rect" href="https://signalwire.community/" rel="nofollow" target="_blank" class="">https://signalwire.community</a><br clear="none" class="">> > <br clear="none" class="">> > Professional FreeSWITCH Services<br clear="none" class="">> > <a shape="rect" href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank" class="">sales@freeswitch.com</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class="">> > <br clear="none" class="">> > Official FreeSWITCH Sites<br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/oss" rel="nofollow" target="_blank" class="">https://freeswitch.com/oss</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.org/confluence" rel="nofollow" target="_blank" class="">https://freeswitch.org/confluence</a><br clear="none" class="">> > <a shape="rect" href="https://cluecon.com/" rel="nofollow" target="_blank" class="">https://cluecon.com</a><br clear="none" class="">> > <br clear="none" class="">> > FreeSWITCH-users mailing list<br clear="none" class="">> > <a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class="">> > <a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="">> > UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class="">> > -- <br clear="none" class="">> > Regards,<br clear="none" class="">> > <br clear="none" class="">> > David Villasmil<br clear="none" class="">> > email: <a shape="rect" href="mailto:david.villasmil.work@gmail.com" rel="nofollow" target="_blank" class="">david.villasmil.work@gmail.com</a><br clear="none" class="">> > phone: +34669448337<div class="ydp9e2ebf0cyiv5147868923ydp15077d8cyqt7071831811" id="ydp9e2ebf0cyiv5147868923ydp15077d8cyqtfd78623"><br clear="none" class="">> > <br clear="none" class="">> > <br clear="none" class="">> > _________________________________________________________________________<br clear="none" class="">> > <br clear="none" class="">> > The FreeSWITCH project is sponsored by SignalWire <a shape="rect" href="https://signalwire.com/" rel="nofollow" target="_blank" class="">https://signalwire.com</a><br clear="none" class="">> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br clear="none" class="">> > Build your next product on our scalable cloud platform.<br clear="none" class="">> > <br clear="none" class="">> > Join our online community to chat in real time <a shape="rect" href="https://signalwire.community/" rel="nofollow" target="_blank" class="">https://signalwire.community</a><br clear="none" class="">> > <br clear="none" class="">> > Professional FreeSWITCH Services<br clear="none" class="">> > <a shape="rect" href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank" class="">sales@freeswitch.com</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class="">> > <br clear="none" class="">> > Official FreeSWITCH Sites<br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/oss" rel="nofollow" target="_blank" class="">https://freeswitch.com/oss</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.org/confluence" rel="nofollow" target="_blank" class="">https://freeswitch.org/confluence</a><br clear="none" class="">> > <a shape="rect" href="https://cluecon.com/" rel="nofollow" target="_blank" class="">https://cluecon.com</a><br clear="none" class="">> > <br clear="none" class="">> > FreeSWITCH-users mailing list<br clear="none" class="">> > <a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class="">> > <a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="">> > UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class="">> > <a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class=""><br clear="none" class=""><br clear="none" class="">_________________________________________________________________________<br clear="none" class=""><br clear="none" class="">The FreeSWITCH project is sponsored by SignalWire <a shape="rect" href="https://signalwire.com/" rel="nofollow" target="_blank" class="">https://signalwire.com</a><br clear="none" class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br clear="none" class="">Build your next product on our scalable cloud platform.<br clear="none" class=""><br clear="none" class="">Join our online community to chat in real time <a shape="rect" href="https://signalwire.community/" rel="nofollow" target="_blank" class="">https://signalwire.community</a><br clear="none" class=""><br clear="none" class="">Professional FreeSWITCH Services<br clear="none" class=""><a shape="rect" href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank" class="">sales@freeswitch.com</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class=""><br clear="none" class="">Official FreeSWITCH Sites<br clear="none" class=""><a shape="rect" href="https://freeswitch.com/oss" rel="nofollow" target="_blank" class="">https://freeswitch.com/oss</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.org/confluence" rel="nofollow" target="_blank" class="">https://freeswitch.org/confluence</a><br clear="none" class=""><a shape="rect" href="https://cluecon.com/" rel="nofollow" target="_blank" class="">https://cluecon.com</a><br clear="none" class=""><br clear="none" class="">FreeSWITCH-users mailing list<br clear="none" class=""><a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class=""><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a></div></div></div>
            </div>
        </div></div></div></div></div><div class="ydp9e2ebf0cyqt2271241397" id="ydp9e2ebf0cyqt14016">_________________________________________________________________________<br clear="none" class=""><br clear="none" class="">The FreeSWITCH project is sponsored by SignalWire <a shape="rect" href="https://signalwire.com/" rel="nofollow" target="_blank" class="">https://signalwire.com</a><br clear="none" class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br clear="none" class="">Build your next product on our scalable cloud platform.<br clear="none" class=""><br clear="none" class="">Join our online community to chat in real time <a shape="rect" href="https://signalwire.community/" rel="nofollow" target="_blank" class="">https://signalwire.community</a><br clear="none" class=""><br clear="none" class="">Professional FreeSWITCH Services<br clear="none" class=""><a shape="rect" href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank" class="">sales@freeswitch.com</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a><br clear="none" class=""><br clear="none" class="">Official FreeSWITCH Sites<br clear="none" class=""><a shape="rect" href="https://freeswitch.com/oss" rel="nofollow" target="_blank" class="">https://freeswitch.com/oss</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.org/confluence" rel="nofollow" target="_blank" class="">https://freeswitch.org/confluence</a><br clear="none" class=""><a shape="rect" href="https://cluecon.com/" rel="nofollow" target="_blank" class="">https://cluecon.com</a><br clear="none" class=""><br clear="none" class="">FreeSWITCH-users mailing list<br clear="none" class=""><a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class=""><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class=""><a shape="rect" href="https://freeswitch.com/" rel="nofollow" target="_blank" class="">https://freeswitch.com</a></div></div>
            </div>
        </div></div></div></blockquote></div><br class=""></div></body></html>