Problems with ASTDBKEY
- From: Ben Johnson <bjohnson_mpc@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 11:08:58 -0500
- Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm
I hope someone can shed some light on a problem I am trying to resolve.Using
the example from
http://www.voip-info.org/wiki/view/Agents+without+agent+channel I have
created a Call Queue procedure that works for my needs. When Agents login, I
create a Local channel that points back to the actual phone they are using.
Asterisk DB is used to keeping track of which agents are logged in where, call
queues they are assigned to, DND status, etc. I have also been using FOP to
monitor the calls waiting in the queue and which agents are on the phone.
Agents log in, take calls, log out, and everything works fine.When I use an
UserEvent with ASTDBKEY for agents going DND is where I run into problems.
Setting the DND status works and displays in FOP as it should. Once any agent
uses the DND feature, FOP no longer displays Agents logging out correctly. The
Agents "Ring", display DND status, and show Agent login status correctly, but
when Agents logoff, FOP still shows that they are logged in. The problem is
not resolved until I restart op_server.pl.For example.Begging of the day from a
fresh restart of op_server.pl - All of the Agents FOP LEDs are yellow because
no one is logged in.Agents log in and their LED goes green.Agents take calls
and their LED goes red.Agents LED go green when they are waiting for the next
call.Agents logout and their LED goes yellow.ANY Agent uses DND and their LED
goes Grey.From this point on, when any Agent logs out, their LED does not go
yellow as it should. Even Agents that are Yellow can login and their LED will
change to green but not back to yellow on logout. When the Agent that went DND
returns, their LED goes back to green. The problem will not go away until I
restart op_server.pl.I checked to verify that Asterisk continues to send the
Agent logout messages. Once I use the UserEvent(ASTDB in the dialplan, FOP
ignores all the queue member logout messages.Has anyone else run into this
problem? Any ideas of how to work around it? Thanks!Ben
_________________________________________________________________
Missed the show? Watch videos of the Live Earth Concert on MSN.
http://liveearth.msn.com
|