User Login Passwords not 'Syncing'
Hello,
When a user changes their voicemail password through the ARI or voicemail prompts this change is not reflected in FOP2 until Asterisk is reloaded. Is there something I'm missing? My config is:
PBX in a Flash Version = 1.7.5.6
FreePBX Version = 2.9.0.7
Running Asterisk Version = 1.6.2.18
A.J.
When a user changes their voicemail password through the ARI or voicemail prompts this change is not reflected in FOP2 until Asterisk is reloaded. Is there something I'm missing? My config is:
PBX in a Flash Version = 1.7.5.6
FreePBX Version = 2.9.0.7
Running Asterisk Version = 1.6.2.18
A.J.
Comments
Unfortunately, there is no way in fop2 to know if the password have changed, except for an asterisk reload. You are not missing anything. I can investigate the AMI output when you change the password from the phone, perhaps there is a way to track the password change in that case (not ari).. but I think voicemailadmin does not broadcast anything in AMI.
username: admin
secret: <Set>
acl: yes
read perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,agi,all
write perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,agi,all
displayconnects: yes
Still not responding as expected.
A.J.
then change status a couple of time and look for UserEvents or activity when you do the change.
For now I'll just reload asterisk every so often to refresh the login password. If this could be added as a feature in the next update it'd be much appreciated.
A.J.
good you have it working. Regarding the update of passwords, changes from any external tool cannot be tracked, the feature should be added to that tool (it must send some kind of event to AMI). Changing the password from voicemail might be possible, but I *think& that comedian mail does not broadcast *any* event at all in AMI.. in that case, the feature should be added to asterisk, not fop2.
In any case, my recommendation is to use a big long password for fop2 and not resuse the easy to guess voicemail pin number.
In /etc/asterisk/voicemail.conf set: And then have a script like this:
Don't forget to add user asterisk to /etc/sudoers (using visudo):
Cheers,
JPS
Best regards,
You can modify the autoconfig-users-freepbx.sh script and use whatever tool you like to create user configurations, including ldap queries. But you will have to install the proper tools and write/modify the script to suit your needs.
Best regards,