Just done a large deployment and now need to switch "Require From Same Extension" to "No" to avoid the password prompt from the phones when going to their voicemails on their own handsets.(Yes they are aware of the risks of this)I know it sets this in asterisk database using the novmpw = yes flag, but where in the MySQL database is this read from in FreePBX? What I'm wanting to do is write a quick MySQL query to update/add this into the database then run an apply so FreePBX updates asterisk accordingly.
Thanks in advance.Andy
Prepared to be wrong, but I don't believe this setting is stored in a MySQL table. You can manipulate the param directly at the Asterisk CLI with:
database put AMPUSER 2014/novmpw yes
database del AMPUSER 2014/novmpw
database get AMPUSER 2014/novmpw
Thanks! Yes that was my suspicion too as going through the PHP code I couldn't see any MySQL queries/updates for that.
I've just done a quick script and pushed the extensions to asterisk cli using the database put you suggested and it's working great.
Thank you for your help.