Member
Last active 14 years ago
Nicolas,
I have not successfully been able to get FOP2 running on elastix. I cannot log in it just hangs. With trixbox it worked just fine. Is FOP2 compatible?
I am not familiar with shell script's commands but can someone help me rewrite this:
for A in `cat /etc/asterisk/voicemail.conf | grep "=>" | cut -d, -f1 | sed 's/ => /:/g'`; do echo user=$A:all;
so it will check for an extension or a group of extensions so that different permissions can be set?
something like this:
for A in `cat /etc/asterisk/voicemail.conf | grep "=>" | cut -d, -f1 | sed 's/ => /:/g'`; do if ($A=extn1) echo user=$A:all else echo user=$A:dial,hangup,pickup,record,transfer fi;
user=extn1:pass:all
user=extn2:pass:dial,hangup,pickup,record,transfer
user=extn3:pass:dial,hangup,pickup,record,transfer
The reason for why this is need is the voicemail passwords will change and the FOP2 user password will not be in sync. Unless there is something else that can automate this that I am missing
Aww I see what you mean. Here is what I did to make it work.
1. Commented out line from autoconfig-users-freepbx.sh
#for A in `cat /etc/asterisk/voicemail.conf | grep "=>" | cut -d, -f1 | sed 's/ => /:/g'`; do echo user=$A:all; done
That will allow USERS defined in /usr/local/fop2/fop2.cfg not to get overridden by the execution of the shell script.
Muchos Gracias Nicolas!
Basil
After editing the config file and setting the permissions and restarting the fop2 service I still see the listen and whisper buttons. Please advise.
/usr/local/fop2/fop2.cfg
user=EXT:PASS:dial,hangup,meetme,pickup,record,transfer