Bulk update passwords

Hi all,

Is there anywhere I can bulk update users passwords in FOP2?or is this linked to a specific password in FreePBX/Asterisk I can bulk update using one of the Bulk modules?

Thanks in advance

Comments

  • There is no way to bulk update passwords, however, if your extensions have voicemail pins, you can link them just by using empty passwords in the fop2users table. You will also need to comment one line in a php file so it lets you set blank passwords if you create new users.

    The modification is to comment the line:

    if($secret=='') { $secret=$exten; }

    So it loos like this:

    //if($secret=='') { $secret=$exten; }

    In function fop2_edit_user in /var/www/html/fop2/admin/functions.php, around line 440.

    That way, any empty password you set for a user will be converted to the voicemail pin.
Sign In or Register to comment.