Member
Last active 14 years ago
I've this problem here:
Agents shown fine on queue button after being added with FOP2.
Agents get paused by FOP2, but won't show as paused on the buttons.
Show queues on the CLI and FOP2 in debug level shows agents getting correctly paused/unpaused.
Another issue is that if I enable a low Intervall_poll (for example =60), as soon as the interval is hit, the agent disapears from the queue button, while still being registered in the queue.
Tried a variety of configs without success.
I've upgraded from FOP in order to have agent login/logout but I'm really stuck.
System is Asterisk 1.4.8 build on a Slackware 11.0
Follows some key parts from my config files and a debug dump from FOP2.
From buttons.cfg:
[Zap/32]
queuechannel=Zap/32
channel=Zap/32
group=Atendimento
type=extension
label=Thaynara
extension=201
context=ramais
[Zap/33]
queuechannel=Zap/33
group=Atendimento
type=extension
label=Kely
extension=202
context=ramais
[QUEUE/101]
type=queue
label=Fila Atendimento
extension=
From manager.conf
[xxx]
secret=xxx
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
From fop2.cfg
[general]
manager_host=127.0.0.1
manager_port=5038
manager_user=XXX
manager_secret=XXX
listen_port = 4446
web_dir = /usr/local/apache2/htdocs/fop2
poll_interval = 86400
poll_voicemail = 0
monitor_ipaddress = 0
blind_transfer = 1
master_key = XXXX
monitor_filename=g${DEST_EXTENSION}-${UNIQUEID}
monitor_format=wav
monitor_mix=true
user=221:XXX:queueagent,pickup,transfer,queuemanager,hangup,meetme,record,phonebook,dial,whisper,spy
buttonfile=buttons.cfg
From queues.conf
; Fila Atendimento
[101]
eventwhencalled=yes
announce-frequency = 45
periodic-announce-frequency = 45
announce-holdtime=yes
announce-round-seconds=10
reportholdtime=yes
periodic-announce = queue-callswaiting
monitor-type = MixMonitor
joinempty=strict
music = default
strategy = ringall
timeout = 40
retry = 0
wrapuptime = 0
maxlen = 1
From fop2-server --debuglevel 511
-- PROCESS_FLASH_COMMAND origen accion queuepause destino 1 -- PROCESS_FLASH_COMMAND password c6673f9b5f85b330f239234aaeb2a60e VALIDAR USUARIO 221 Validation ok, have queueagent permissions 127.0.0.1 -> Action: QueuePause 127.0.0.1 -> Interface: Zap/32 127.0.0.1 -> Paused: 1 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Interface paused successfully 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... Response: Success^M Message: Interface paused successfully^M Server: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Event: QueueMemberPaused 127.0.0.1 <- Privilege: agent,all 127.0.0.1 <- Queue: 101 127.0.0.1 <- Location: Zap/32 127.0.0.1 <- MemberName: Zap/32 127.0.0.1 <- Paused: 1 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN There's an 'Event' in the event block ** MAIN Event detected block_count = 0 ** MAIN There are 0 blocks for processing ** MAIN Answer block cleared ** DIGEST_EVENT: start ** PROCESA_BLOQUE QUEUEMEMBERPAUSED 0 Callback amiCommand not defined Not a reference at all ** QUEUE MEMBER LIST start ** QUEUE MEMBER LIST devuelve <div class='memberready myclick' id='qm!QUEUE/101!Zap/32'></div><span>Thaynara</span><br class='clear'/> 2xx.1xx.1xx.1 => { 'btn': '16@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVycmVhZHkgbXljbGljaycgaWQ9J3FtIVFVRVVFLzEwMSFaYXAvMzInPjwvZGl2 ** MAIN AMI event received... ** MAIN Processing command received from flash clients... xxx.xxx.xxx.xxx <= <msg data="|queuepause|2|c6673f9b5f85b330f239234aaeb2a60e" />^M -- PROCESS_FLASH_COMMAND origen accion queuepause destino 2 -- PROCESS_FLASH_COMMAND password c6673f9b5f85b330f239234aaeb2a60e VALIDAR USUARIO 221 Validation ok, have queueagent permissions 127.0.0.1 -> Action: QueuePause 127.0.0.1 -> Interface: Zap/33 127.0.0.1 -> Paused: 1 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Interface paused successfully 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... Response: Success^M Message: Interface paused successfully^M Server: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Event: QueueMemberPaused 127.0.0.1 <- Privilege: agent,all 127.0.0.1 <- Queue: 101 127.0.0.1 <- Location: Zap/33 127.0.0.1 <- MemberName: Zap/33 127.0.0.1 <- Paused: 1 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN There's an 'Event' in the event block ** MAIN Event detected block_count = 0 ** MAIN There are 0 blocks for processing ** MAIN Answer block cleared ** DIGEST_EVENT: start ** PROCESA_BLOQUE QUEUEMEMBERPAUSED 0 Callback amiCommand not defined Not a reference at all ** QUEUE MEMBER LIST start ** QUEUE MEMBER LIST devuelve <div class='memberready myclick' id='qm!QUEUE/101!Zap/33'></div><span>Kely</span><br class='clear'/><div class='memberready mycl xxx.xxx.xxx.xxx => { 'btn': '16@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVycmVhZHkgbXljbGljaycgaWQ9J3FtIVFVRVVFLzEwMSFaYXAvMzMnPjwvZGl2 ** MAIN AMI event received... ** MAIN Processing command received from flash clients... xxx.xxx.xxx.xxx <= <msg data="1|ping||" />^M -- PROCESS_FLASH_COMMAND origen 1 accion ping destino -- PROCESS_FLASH_COMMAND password xxx.xxx.xxx.xxx => { 'btn': '0', 'cmd': 'pong', 'data': '0', 'slot': '' } ** MAIN AMI event received... ** MAIN Processing command received from flash clients... xxx.xxx.xxx.xxx <= <msg data="QUEUE/101|queuepause|Zap/33|c6673f9b5f85b330f239234aaeb2a60e" />^M -- PROCESS_FLASH_COMMAND origen QUEUE/101 accion queuepause destino Zap/33 -- PROCESS_FLASH_COMMAND password c6673f9b5f85b330f239234aaeb2a60e VALIDAR USUARIO 221 Validation ok, have queueagent permissions 127.0.0.1 -> Action: QueuePause 127.0.0.1 -> Interface: Zap/33 127.0.0.1 -> Paused: 1 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Interface paused successfully 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... Response: Success^M Message: Interface paused successfully^M Server: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Event: QueueMemberPaused 127.0.0.1 <- Privilege: agent,all 127.0.0.1 <- Queue: 101 127.0.0.1 <- Location: Zap/33 127.0.0.1 <- MemberName: Zap/33 127.0.0.1 <- Paused: 1 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN There's an 'Event' in the event block ** MAIN Event detected block_count = 0 ** MAIN There are 0 blocks for processing ** MAIN Answer block cleared ** DIGEST_EVENT: start ** PROCESA_BLOQUE QUEUEMEMBERPAUSED 0 Callback amiCommand not defined Not a reference at all ** QUEUE MEMBER LIST start ** QUEUE MEMBER LIST devuelve <div class='memberready myclick' id='qm!QUEUE/101!Zap/33'></div><span>Kely</span><br class='clear'/><div class='memberready mycl xxx.xxx.xxx.xxx => { 'btn': '16@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVycmVhZHkgbXljbGljaycgaWQ9J3FtIVFVRVVFLzEwMSFaYXAvMzMnPjwvZGl2 ** MAIN AMI event received... ** MAIN Processing command received from flash clients... xxx.xxx.xxx.xxx <= <msg data="QUEUE/101|queueunpause|Zap/33|c6673f9b5f85b330f239234aaeb2a60e" />^M -- PROCESS_FLASH_COMMAND origen QUEUE/101 accion queueunpause destino Zap/33 -- PROCESS_FLASH_COMMAND password c6673f9b5f85b330f239234aaeb2a60e VALIDAR USUARIO 221 Validation ok, have queueagent permissions 127.0.0.1 -> Action: QueuePause 127.0.0.1 -> Interface: Zap/33 127.0.0.1 -> Paused: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Interface unpaused successfully 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... Response: Success^M Message: Interface unpaused successfully^M Server: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Event: QueueMemberPaused 127.0.0.1 <- Privilege: agent,all 127.0.0.1 <- Queue: 101 127.0.0.1 <- Location: Zap/33 127.0.0.1 <- MemberName: Zap/33 127.0.0.1 <- Paused: 0 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN There's an 'Event' in the event block ** MAIN Event detected block_count = 0 ** MAIN There are 0 blocks for processing ** MAIN Answer block cleared ** DIGEST_EVENT: start ** PROCESA_BLOQUE QUEUEMEMBERPAUSED 0 Callback amiCommand not defined Not a reference at all ** QUEUE MEMBER LIST start ** QUEUE MEMBER LIST devuelve <div class='memberready myclick' id='qm!QUEUE/101!Zap/33'></div><span>Kely</span><br class='clear'/><div class='memberready mycl xxx.xxx.xxx.xxx => { 'btn': '16@GENERAL', 'cmd': 'queuemembers', 'data': 'PGRpdiBjbGFzcz0nbWVtYmVycmVhZHkgbXljbGljaycgaWQ9J3FtIVFVRVVFLzEwMSFaYXAvMzMnPjwvZGl2 ** MAIN AMI event received... ** MAIN Processing command received from flash clients... xxx.xxx.xxx.xxx <= <msg data="QUEUE/101|queueunpause|Zap/32|c6673f9b5f85b330f239234aaeb2a60e" />^M -- PROCESS_FLASH_COMMAND origen QUEUE/101 accion queueunpause destino Zap/32 -- PROCESS_FLASH_COMMAND password c6673f9b5f85b330f239234aaeb2a60e VALIDAR USUARIO 221 Validation ok, have queueagent permissions 127.0.0.1 -> Action: QueuePause 127.0.0.1 -> Interface: Zap/32 127.0.0.1 -> Paused: 0 ** MAIN End of block from 127.0.0.1 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Interface unpaused successfully 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... Response: Success^M Message: Interface unpaused successfully^M Server: 0