FOP2 + Queuemetrics + ThirdLane - HOTDESK in Queue log
-
We are running FOP2, Queuemetrics, Asterisk 1. 4 and ThirdLane.
FOP2 is very useful and intuitive to our users, however we have a minor problem with integration with Queuemetrics.When an Agent logs into Queuemetrics, this results in two entries: HOTDESK and ADDMEMBER to the queue_log (from queuemetrics_extension.conf). This enables Queuemetrics to map an Agent/XXXX to a SIP/XXXX.
If a user (who prefers FOP2) uses the simple click "Add <queuename>" against a line/extension then FOP2 only executes an AddMember command, so there is no mapping between the extension and the agent; and therefore our stats just show the physical extension and not the Agent name.
Is there a script in FOP2 we can modify that will either:
-Call the queuemetrics extension
OR
-Add the HOTDESK commandFor reference this is the queuemetrics extension plan:
; extension 33: agent unpause with hotdesking
exten => 33,1,Answer
exten => 33,2,NoOp( "QM: Unpausing Agent/${AGENTCODE} at extension SIP/${QM_AGENT_LOGE
XT} made by '${QM_LOGIN}' " )
exten => 33,3,UnpauseQueueMember(,SIP/${QM_AGENT_LOGEXT})
exten => 33,4,Hangup; extension 35: agent addqueuemember with hotdesking (for asterisk v1.4+)
exten => 35,1,Answer
exten => 35,2,NoOp( "QM: AddQueueMember (asterisk v1.4+) Agent/${AGENTCODE} at extensi
on SIP/${QM_AGENT_LOGEXT} on queue ${QUEUENAME} made by '${QM_LOGIN}'" )
exten => 35,3,Macro(queuelog,${EPOCH},${UNIQUEID},NONE,Agent/${AGENTCODE},HOTDESK,SIP/
${QM_AGENT_LOGEXT})
exten => 35,4,AddQueueMember(${QUEUENAME},SIP/${QM_AGENT_LOGEXT})
exten => 35,5,Hangup -
You can edit FOP2Callbacks.pm to capture events and fire others. There is not much documentation but the file itself. the commands you want to intercept are
queueadd
and
queuelogout
You can originate a call to a point in your dialplan, or call the QueueLog command directly. Now, I do not have any clue on how you are going to perform that mapping between Agent/1234 and SIP/abcd.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login