Hi Nicolas,
The only buttons we have configured in the manualy buttons.cfg file is the external numbers. Everything else is done via the fop2admin module. So if I comment out the auto-gen script users can't log in (because their logins aren't generated by the autoconfig-users-freepbx.sh script).
I did briefly stop this warning once fop2 starts in debug mode (it's the first output I receive after about 1 second pause):
./fop2_server -X 15 | tee /tmp/fop2.log
Use of uninitialized value in quoted execution (``, qx) at /tmp/par-root/cache-5b978559a4be4f63ec5bdb8fa23daafc97123f45/inc/lib/FOP2/License.pm line 591.
So at the moment it's all working again, seemingly after a reboot of the server, but there is no real explanation as to why it is working. I have noticed the following difference:
At the moment (with the attended transfer working) I can see:
i) The fop2 panel is showing a "Line 1 inactive" message for all the buttons (both extensions and buttons we use to forward and transfer calls to external numbers) and changes state as calls are made accordingly. Before this was missing.
ii) Before when it was occasionally working, when you click on one of the external numbers, the Transfer to voicemail button would be greyed out as it is obviously not an extension with voicemail. At the moment, it doesn't do that, but attended transfers are working.
iii) Probably the best way to describe the erroneous behaviour is when I have, say, extension 201 dealing with a call and I log in to fop2 with extension 202 and then try to transfer a call (which obviously fail because you're not logged in as 201). However, although I have been testing with different users I am pretty sure I was testing previously with the correct user to the SIP account I was using. Someone else mentioned some potential issues with using devices & users mode on fpbx (which is what we're using). Could it be that or should I just lay off the sugar?
Thanks,
Carel