Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. FOP2 + Queuemetrics + ThirdLane - HOTDESK in Queue log

FOP2 + Queuemetrics + ThirdLane - HOTDESK in Queue log

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 86 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    chessington
    wrote on last edited by
    #1

    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 command

    For 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

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      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,

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups