FOP2 stops updating on queue call..

We are running Asterisk 1.8.3.3 with whitelabel FOP2 2.2 on CentOS 5. I am trying to understand what is happening here.

WHAT WORKS:
If we dial the queue internally (for example.. dial 1000600.. it rings all the phones and the FOP2 continues to update perfectly).

WHAT BREAKS:
If we dial a queue from an IVR the FOP2 stops updating the agent information until we restart it. We can still..

- add and remove agents from the queue
- can see queue updates such as how many callers are waiting and their information
- receive call audio alerts for callers entering/leaving the queue

.. but from that point forward the agents will be listed as "inactive" or "restricted" and the FOP2 stops responding. In some cases all the queue extensions will continue to show a "ringing" symbol long after the call is answered. This happens from Firefox on linux, IE and Firefox on Windows.

Here is a partial log below. I am not sure how much logging I should post but everything looks normal until the error below. I would guess this could be an Asterisk issue but even so why doesn't the FOP reconnect and update all the extensions automatically without restarting the service? If anyone has a suggestion I would appreciate it.

127.0.0.1 <- Event: Newexten
127.0.0.1 <- Privilege: dialplan,all
127.0.0.1 <- Channel: Local/3302@from-queue-0f7e;2
127.0.0.1 <- Context: macro-dial-one
127.0.0.1 <- Extension: s
127.0.0.1 <- Priority: 5
127.0.0.1 <- Application: GotoIf
127.0.0.1 <- AppData: 1?skip1
127.0.0.1 <- Uniqueid: 1306254362.59707
127.0.0.1 <- Server: 0

** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xf67c1f4)
** CLEAN SOCKET Connection lost to server 0

CLEAN activity for buttons for server 0 as the connection was lost

Cannot send command to (unauthenticated or connection failed)

Cannot send command to (unauthenticated or connection failed)

Cannot send command to (unauthenticated or connection failed)

Cannot send command to (unauthenticated or connection failed)

** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)

Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)

** QUERY CUSTOM ASTDB 2400 CF

Cannot send command to IO::Socket::INET=GLOB(0xf67c200) (unauthenticated or connection failed)

127.0.0.1 -> Action: Challenge
127.0.0.1 -> AuthType: MD5

127.0.0.1 <- Asterisk Call Manager/1.1
127.0.0.1 <- Response: Success
127.0.0.1 <- Challenge: 438789614
127.0.0.1 <- Server: 0

127.0.0.1 -> Action: Login
127.0.0.1 -> Username: admin
127.0.0.1 -> AuthType: MD5
127.0.0.1 -> Key: de0cdd243cd6f13411025a1ea9153d6d

127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Authentication accepted
127.0.0.1 <- Server: 0

** QUERY CUSTOM ASTDB 2100 CF

127.0.0.1 <- Event: FullyBooted
127.0.0.1 <- Privilege: system,all
127.0.0.1 <- Status: Fully Booted
127.0.0.1 <- Server: 0

Comments

  • Your manager is disconnecting the fop2 server connection, try to increase writetimeout in /etc/asterisk/manager.conf

    If you have a really busy manager, you might want to enable the event_mask to reduce the noise... all the "Reporting" manager events are not needed by fop2 and they add up quite a lot..
Sign In or Register to comment.