Hi! Im trying to use Presence Pause plugin. When I change presence in precense box - nothing changes exept icon and astdb. Agent is not paused. Please explain how it works.
some answers are there http://members.asternic.biz/knowledge_base/howto-how-to-pause-queue-members-with-a-reason-from-fop2
Is it possible to set pause when presence is not eq 'available'? For example, when operator set 'Meeting' in presence box, extension is pausing and pause reason (Meeting) adds to asternic ccstats. When he returns from meeting, he sets 'availables' in p.box and the pause will be removed.
As I anderstand, it must works like this, but id doesnt... Extension is not pausing.
My second question is how can I translate to my lang reason of pause and penalty in lang files? I want to make them the same as in precence box. The question - is it possible in 'lang' files?
Plugin will send the pause command to a fixed set of possible queue members:
SIP/xxxx
Agent/xxxx
Local/xxxx@from-queue/n
If you have any other kind of queue member, you will have to alter the plugin code (presencepause.pl) and do the change to match the queue member device as you have it in your system.
Comments
Is it possible to set pause when presence is not eq 'available'? For example, when operator set 'Meeting' in presence box, extension is pausing and pause reason (Meeting) adds to asternic ccstats. When he returns from meeting, he sets 'availables' in p.box and the pause will be removed.
As I anderstand, it must works like this, but id doesnt... Extension is not pausing.
My second question is how can I translate to my lang reason of pause and penalty in lang files? I want to make them the same as in precence box. The question - is it possible in 'lang' files?
SIP/xxxx
Agent/xxxx
Local/xxxx@from-queue/n
If you have any other kind of queue member, you will have to alter the plugin code (presencepause.pl) and do the change to match the queue member device as you have it in your system.
Best regards,
Thanks!
PS. may be get context from config? Because may be different contexts for different extensions.
Local/#{EXTEN}@some-context/n&SIP/#{EXTEN}
if you want to attempt pause on more than one channel you can use multiple entries with & to concatenate them.
You should use the #{EXTEN} variable to replace with the extension number.
Best regards,