Queue member add/remove
Hi,
Is it possible to use the "app-queue-toggle" macro when adding or removing members from queue with FOP2 ?
It would be a great feature because this macro allows to use BLF buttons to log in/out from queue and to see if the user is logged or not in the queue (the blf button is blinking on the phone when logged in). I know that app-queue-toggle use device state, and that the user log in/out with this dialplan : *45ddd*qqq where ddd is the device number and qqq is the queue number.
Thanks,
Is it possible to use the "app-queue-toggle" macro when adding or removing members from queue with FOP2 ?
It would be a great feature because this macro allows to use BLF buttons to log in/out from queue and to see if the user is logged or not in the queue (the blf button is blinking on the phone when logged in). I know that app-queue-toggle use device state, and that the user log in/out with this dialplan : *45ddd*qqq where ddd is the device number and qqq is the queue number.
Thanks,
Comments
believe it or not, fop2 is freepbx agnostic. The add/remove works with freepbx or no freepbx. That is why I cannot use a freepbx macro to perform actions. What you *can* do is modify FOP2Callbacks.pm to track queue login and logout commands from the fop2 clients, and inject the proper manager events, for example a dial to Local/xxx@some-custom context where you replicate the key parts of the app-queue-toggle macro.
This is technically possible right now, but it has to be done as a customization because fop2 runs in other environments (there is life beyond FreePBX).
Thanks in advance.
You might need to run fop2_server in debug level 15 if you want to see the ami events sent/received and flash commands sent/received. That will help you understand how things work.
Best regards,
Best regards,
Excuse me for write in this old post. Please could you post FOP2Callbacks.pm example for use queue toggle macros?