First of all, the version is super old.. you might want consider upgrading...
Now about your problem is most probably due to your button configuration not matching your actual setup. AS you are not posting your configs, nor your setup, I cannot tell you exactly where the problem is.
A button config should have a context and an extension, it might also have a queuecontext directive. If you then use Local/xxx@yyy queue members in your queues, then xxx must match the button extension config, and yyy the queuecontext (or the context if queuecontext is not present).
Imagine your queue member is
Local/1000@from-queue/n
And then you have a button in fop2 whos configuration is like this:
Thank you for your reply
do you mean i configure the file buttons.cfg.sample in /usr/local/fop2 ?
and insert all agent extension in it as you illustrate above?
Also I would like to inform you that the buttons has been created using fop2 manager and i do not have buttons.cfg file it just present as sample in /usr/local/fop2
i have to create this file for everything be synchronized or what?
No, do not create anything by hand. keep using the fop2 manager.
Are you using FreePBX? Are you sure the pause event is not being recorded in queue_log? From where are you pausing a queue member in FOP2? Perhaps you are setting an extension to DND instead of pausing it? Do you see the agent as paused in the FOP2 display itself?
actually i paused the agent from green icon behind his name in fop2 and he go pause and the status of the agent be pasue in queue_log
But i want the agent go pause directly when he change his status from presence box,
what i mean when the agent go "meeting" he will be pause and this is appear in queue_log to be reported in asternic
Yes i am using free PBX and the pause recorded in queue_log by using pause from the location i illustrated above.
But our call center manager want to report the pause reason in asternic so i suggest when it record by reason in queue_log it will appear in agent pause report in asternic.
The latest fop2 version can pause with reason. Upgrade fop2 and you will have that feature, you can uncomment the proper section in /var/www/html/fop2/js/presence.js... also using the presence pause plugin will set a pause with reason in queue_log that can be reported with asternic. Everything is there, you just need to use the latest fop2 and configure it appropriately.
Comments
First of all, the version is super old.. you might want consider upgrading...
Now about your problem is most probably due to your button configuration not matching your actual setup. AS you are not posting your configs, nor your setup, I cannot tell you exactly where the problem is.
A button config should have a context and an extension, it might also have a queuecontext directive. If you then use Local/xxx@yyy queue members in your queues, then xxx must match the button extension config, and yyy the queuecontext (or the context if queuecontext is not present).
Imagine your queue member is
Local/1000@from-queue/n
And then you have a button in fop2 whos configuration is like this:
[SIP/1000]
type=extension
extension=1000
queuecontext=from-queue
context=from-internal
Then when you pause you will see it correctly. Now, if your button config is like this:
[SIP/1000]
type=extension
extension=1000
queuecontext=from-internal
context=from-internal
It won't work as the local channel to match would be Local/1000@from-internal and not Local/1000@from-queue
Best regards,
do you mean i configure the file buttons.cfg.sample in /usr/local/fop2 ?
and insert all agent extension in it as you illustrate above?
i have to create this file for everything be synchronized or what?
Are you using FreePBX? Are you sure the pause event is not being recorded in queue_log? From where are you pausing a queue member in FOP2? Perhaps you are setting an extension to DND instead of pausing it? Do you see the agent as paused in the FOP2 display itself?
But i want the agent go pause directly when he change his status from presence box,
what i mean when the agent go "meeting" he will be pause and this is appear in queue_log to be reported in asternic
But our call center manager want to report the pause reason in asternic so i suggest when it record by reason in queue_log it will appear in agent pause report in asternic.
Best regards,