Member
Last active 12 years ago
I put context=1 in Queue section and it worked. Thanks Nicolas for your help.
I have installed fop2 from source and I haven't done any modification to css files, only buttons.cfg and fop2.cfg.
Thanks for your attention Nicolás.
I had seen minimize option. I didn't understand what was you talking about, but I was tried with it. I have an agent in two queues, but still not working.
http://i511.photobucket.com/albums/s353/krtapas/fop2c.jpg
http://i511.photobucket.com/albums/s353/krtapas/fop2-2.jpg
http://i511.photobucket.com/albums/s353/krtapas/fop2b.jpg
Sorry but I cannot understand what are you talking about.
I've displayQueue = 'max' in presence.js and Detailed view in the user configuration. I don't know another parameter to configure this. Sorry for my ignorance.
I've configured Detailed view in user 1010 and the trouble persists. I'd cleared my cache, restarted service and restarted server.
http://i511.photobucket.com/albums/s353 ... fop2-1.jpg
I'll try to upgrade to asterisk 1.6 because I need a feature not present in 1.4, and I hope it causes some magical effect, jeje.
Thanks Nicolás, I really do appreciate any other idea.
Hi, I've using fop2 v2.24, Chrome 16.0.912.63 m, Debian 32 bits and asterisk 1.4.42 and I'm having next issue:
When I add a member to a queue, it is now showed in the queue button. Here is my button.cfg code:
[SIP/1010] type=extension extension=1010 context=agentes label=Extension 1010 mailbox=1010@default channel=SIP/1010 ; [QUEUE/100] type=queue label=Entrante
The server log output
** DIGEST_EVENT: start ** PROCESA_BLOQUE 0 ** PROCESA_BLOQUE QUEUEMEMBERREMOVED 0 ** QUEUE MEMBER LIST start for queue QUEUE/100^0 ** QUEUE MEMBER LIST devuelve DIGEST canal QUEUE/100^0, comando queuemembers, datos , slot ** MAIN AMI event received... ** MAIN Processing command received from flash clients... 200.xx.xx.xx <= <msg data="100|queueadd|1-0|8190407629ea65b11db225e884947dd6" /> -- PROCESS_FLASH_COMMAND origen 100 accion queueadd destino 1-0 password 8190407629ea65b11db225e884947dd6 VALIDAR USUARIO admin@GENERAL VALIDAR USUARIO admin OK con clave regular (200.xx.xx.xx) Validation ok, have all permissions for all buttons (0) 1 127.0.0.1 -> Action: QueueAdd 127.0.0.1 -> Queue: 100 127.0.0.1 -> Interface: SIP/1010 ** MAIN End of block from localhost 127.0.0.1 <- Response: Success 127.0.0.1 <- Message: Added interface to queue 127.0.0.1 <- Server: 0 ** MAIN AMI event received... ** MAIN No 'Event' nor 'End'. Erasing block... ** MAIN End of block from localhost 127.0.0.1 <- Event: QueueMemberAdded 127.0.0.1 <- Privilege: agent,all 127.0.0.1 <- Queue: 100 127.0.0.1 <- Location: SIP/1010 127.0.0.1 <- MemberName: SIP/1010 127.0.0.1 <- Membership: dynamic 127.0.0.1 <- Penalty: 0 127.0.0.1 <- CallsTaken: 0 127.0.0.1 <- LastCall: 0 127.0.0.1 <- Status: 5 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 = 1 (Event: QueueMemberAdded) ** MAIN There are 1 blocks for processing ** MAIN Answer block cleared ** DIGEST_EVENT: start ** PROCESA_BLOQUE 0 ** PROCESA_BLOQUE QUEUEMEMBERADDED 0 ** QUEUE MEMBER LIST start for queue QUEUE/100^0 ** QUEUE MEMBER LIST devuelve <div class='memberinvalid myclick' id='qm!QUEUE/100^0!SIP/1010'></div><span>Extension 1010</span><br class='clear'/> DIGEST canal QUEUE/100^0, comando queuemembers, datos PGRpdiBjbGFzcz0nbWVtYmVyaW52YWxpZCBteWNsaWNrJyBpZD0ncW0hUVVFVUUvMTAwXjAhU0lQLzEwMTAnPjwvZGl2PjxzcGFuPkV4dGVuc2lvbiAxMDEwPC9zcGFuPjxiciBjbGFzcz0nY2xlYXInLz4=, slot ** MAIN AMI event received... ** MAIN Processing command received from flash clients... 200.xx.xx.xx <= <msg data="1|ping||" />
Asterisk queue show command:
CLI> queue show 100 has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 5s Members: SIP/1010 (dynamic) (Unavailable) has taken no calls yet No Callers
In presence.js, queue is in "max" mode.
http://i511.photobucket.com/albums/s353 ... s/fop2.jpg
Thanks for your help!
I had a non-ascii character at the end of my buttons.cfg. I was created a queue with a label "Entrante Cápsula", but the text editor did change "á" for another character. Later, I cleaned my cache and finally I've access to my panel. Thanks a lot and sorry for had not pay attention to this detail.
The server log is fine, in any case you should open the javascript console in google chrome.
Javascript console output
According to some posts, when fop2-variablesGENERAL.txt is not present, doesn't affect system operation.
The problem is fixed, either you are still loading fop 2.23 or older client pages
I'm using fop 2.24, not upgraded, fresh installed.
# /usr/local/fop2/fop2_server -v
fop2_server version 2.24
(perhaps you are not using the standard /fop2 directory, or you have elastix or freepbx with a custom .php index page that is not updated), or you are still running fop 2.23 server.
I'm usign standard directory and I had installed asterisk from sources, without FreePBX or Elastix.
; Daemon definitios
;listen_port = 4445
;restrict_host = http://www.asternic.org
;web_dir = /var/www/fop2
Did you restart the fop2_server after upgrade? Are you using Elastix and installed fop2 via its marketplace/rpm ?
I had restarted service and server itself. I'm using Debian 32 bits. I'm attaching my installation process.
Hmm, I'd set disableWebsockets to true, removed browser cache and the trouble continues. I'm attaching my log again, thanks Nicolás.
Hi, I've Chrome 16.0.912.63 m, fop2_server version 2.24, Debian 32 bits and I still having troubles to get connected. I'm attaching log code. Thanks in advance.
HTML5 Web Socket Connection
190.xx.xx.xx => HTTP/1.1 101 Switching Protocols
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: JpGZhdGP1t1+yIhmANj0931kW/E=
190.xx.xx.xx <= <msg data="GENERAL|contexto|1|" />
-- PROCESS_FLASH_COMMAND origen GENERAL accion contexto destino 1 password
190.xx.xx.xx => { "btn": "0", "cmd": "key", "data": "mLPqEeJYVMONtS1v61fn7PkMztp3SKhj", "slot": "" }
190.xx.xx.xx => { "btn": "0@GENERAL", "cmd": "version", "data": "2.24!!1", "slot": "" }
** MAIN New client connection 127.0.0.1
127.0.0.1 <= <msg data="GENERAL|contexto|1" />
-- PROCESS_FLASH_COMMAND origen GENERAL accion contexto destino 1 password
127.0.0.1 => { "btn": "0", "cmd": "key", "data": "AiGERYDOflWe7zQkdb6fgne", "slot": "" }
127.0.0.1 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.24!!1", "slot": "" }
127.0.0.1 <= <msg data="GENERAL|checkauth|admin|67440750e174215cf7323303aa0f989c" />
-- PROCESS_FLASH_COMMAND origen GENERAL accion checkauth destino admin password 67440750e174215cf7323303aa0f989c
Flash clients connected: 1
---------------------------------------------------
Use of uninitialized value in array element at script/fop2_server.pl line 11840.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 11841.
190.xx.xx.xx:2843 IO::Socket::INET=GLOB(0xd0a9648),
---------------------------------------------------
190.xx.xx.xx <= <msg data="1|auth|admin|8ce6421734abdb3d80e082362dc2d0e0" />
-- PROCESS_FLASH_COMMAND origen 1 accion auth destino admin password 8ce6421734abdb3d80e082362dc2d0e0
** RECEIVING AUTH REQUEST for admin
TRYING TO VALIDATE USER admin
VALIDAR USUARIO admin@GENERAL
VALIDAR USUARIO admin OK con clave regular (190.xx.xx.xx)
** SENDING BUTTONS from GENERAL to client at 190.xx.xx.xx
mi perm all = 0 (0)
190.xx.xx.xx => { "btn": "0@GENERAL", "cmd": "preferences", "data": "e30=", "slot": "" }
190.xx.xx.xx => { "btn": "0@GENERAL", "cmd": "vmailpath", "data": "/var/spool/asterisk/voicemail", "slot": "" }
190.xx.xx.xx => { "btn": "0@GENERAL", "cmd": "permit", "data": "YWxs", "slot": "" }
190.xx.xx.xx => { "btn": "0@GENERAL", "cmd": "permitbtn", "data": "YWxsITA=", "slot": "" }
190.xx.xx.xx => { "btn": "8@GENERAL", "cmd": "zbuttons", "data": "hc7PSsNAEAbwe5+ieYJ2/+kp0CQOGoiTahNojxFXEcpWzS546Mv6JoZqYd0us9eZb775sdUtIDwWzfHJWXswxwy2HeCmbjFnS7bMqrsCEZp8U68Xp8F9UTdluz1tV8/6ZXB7mzVFOWXgy2ozvh3M/JzEi/Nut4Zcn4NZ1WI3fcyHV22sHmec9rDQw3wPozws5mEpj6A9PPRw38MpD495eMojaY8IPcL3CMojYh6R8ijaI0OP9D2S8siYR6Y8V7RHhR7lexTlUTGPSnmuLzx/1cZ+DlNiXn2/j24//Ct/6KGHRY1l2+PN74cPp52e/QA=", "slot": "" }
190.xx.xx.xx <= <msg data="1|ping||" />
-- PROCESS_FLASH_COMMAND origen 1 accion ping destino password
190.xx.xx.xx => { "btn": "0", "cmd": "pong", "data": "IAogICAgICAgIHZhciB6aCA9IGZpbmRIaWdoZXN0WigpOwogICAgICAgIHZhciBmb290ID0gJCgiZm9vdGVyIik7CiAgICAgICAgdmFyIHRlbXBsYXRlID0gQmFzZTY0LmRlY29kZSgiUEdScGRpQnBaRDBpSTN0cFpIMGlQanhoSUdoeVpXWTlJbWgwZEhBNkx5OTNkM2N1Wm05d01pNWpiMjBpUGtaUFVESThMMkUrSUMwZ1ZtVnljMmx2YmlBOGMzQmhiaUJwWkQwaVptOXdkbVZ5YzJsdmJpSStJM3QyWlhKemFXOXVmVHd2YzNCaGJqNGdMU0JNYVhSbElGWmxjbk5wYjI0Z0xTQk1hVzFwZEdWa0lIUnZJREUxSUdWNGRHVnVjMmx2Ym5NZ0xpQkNkWGtnYVhRZ1BHRWdhSEpsWmowaWFIUjBjRG92TDNkM2R5NW1iM0F5TG1OdmJTOWlkWGt1Y0dod0lqNXViM2M4TDJFK0lHWnZjaUIxYm14cGJXbDBaV1FnWlhoMFpXNXphVzl1Y3k0Z1NXWWdlVzkxSUdGc2NtVmhaSGtnYUdGMlpTQmhJR052WkdVZ1pXNTBaWElnYVhRZ1BHRWdhSEpsWmowaUl5SWdiMjVEYkdsamF6MGljbVZuYVhOMFpYSW9LVHNnY21WMGRYSnVJR1poYkhObE95SSthR1Z5WlR3dllUNDhMMlJwZGo0PSIpOwoKICAgICAgICBpZihjdXJyZW50cmVsZWFzZSAhPT0gIiIpIHsKICAgICAgICAgICAgaWYoZGVtb3ZlcnNpb24gPT0gIjAiKSB7CiAgICAgICAgICAgICAgICBkb2N1bWVudC50aXRsZSA9ICJGbGFzaCBPcGVy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AgICAgICAgICAgZm9vdC5zdHlsZS5sZWZ0ID0gIjAiOwogICAgICAgICAgICBmb290LnN0eWxlLnBhZGRpbmdUb3AgPSAiM3B4IjsKICAgICAgICAgICAgZm9vdC5zdHlsZS53aWR0aCA9ICIxMDAlIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5wb3NpdGlvbiA9ICJmaXhlZCI7CiAgICAgICAgICAgIGZvb3Quc3R5bGUuekluZGV4ID0gIiIremg7CiAgICAgICAgfQogICAg", "slot": "" }
** MAIN closing 190.xx.xx.xx
No flash clients connected