Monitor Start endpoint and Events

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • avc859587618170
    Brainiac
    • Jun 2024
    • 65

    Monitor Start endpoint and Events

    Hi everyone. I'm not quite sure how I'm supposed to get agent events. I've gotten the /fe/v1/MonitorStart endpoint to work, and I'm getting "ServiceInitiatedEvent" events, and "ConnectionClearedEvent" events.. etc. But I don't get any events when I change an agents state. Is there some other endpoint I need to be using to get agent events? Here's the json blob I'm sending:

    Code:
    {
            "extensions": {"privateData": {"private": {"AvayaEvents": {
                    "logicalDeviceFeaturePrivate": {"agentLoginExtension": true},
                    "endpointRegistrationStateEvents": {
                            "registered": true,
                            "unregistered": true
                    },
                    "callControlPrivate": {
                            "isAaapCallControlRequired": false,
                            "serviceObserveState": true
                    },
                    "invertFilter": true
            }}}},
            "monitorObject": {"deviceObject": "3136622121:rcd2cm2act81t:0.0.0.0:1"},
            "targetUrl": "http://10.9.204.15:1495/v1/event/broadcast",
            "requestedMonitorFilter": {
                    "physicalDeviceFeature": {"messageWaiting": true},
                    "callcontrol": {
                            "established": true,
                            "conferenced": true,
                            "transferred": true,
                            "held": true,
                            "queued": true,
                            "delivered": true,
                            "retrieved": true,
                            "failed": true,
                            "connectionCleared": true,
                            "originated": true,
                            "diverted": true,
                            "serviceInitiated": true,
                            "networkReached": true
                    },
                    "logicalDeviceFeature": {
                            "agentLoggedOff": true,
                            "agentLoggedOn": true,
                            "doNotDisturb": true,
                            "agentWorkingAfterCall": true,
                            "agentNotReady": true,
                            "agentReady": true,
                            "forwarding": true
                    }
            }
    }
    Any ideas?

    Thanks for any help!!

    Dave Morrison
    Dave Morrison
    Software Engineer
  • flynn1
    Brainiac
    .
    • Jun 2011
    • 82

    #2
    You need to place your monitor on a Huntgroup (aka Skill). Then, any time an agent with that skill logs in/out, you will receive an event.

    Please note that you will not get any of the other Agent events (agentWorkingAfterCall, agentNotReady, agentReady) as these are reserved for Avaya applications.

    Comment

    • avc859587618170
      Brainiac
      • Jun 2024
      • 65

      #3
      Thanks Flynn! I'll try that out. Just to verify, we can't get anything from this section of the monitor payload?
      Code:
       "logicalDeviceFeature": {
      "agentLoggedOff": true,
      "agentLoggedOn": true,
      "doNotDisturb": true,
      "agentWorkingAfterCall": true,
      "agentNotReady": true,
      "agentReady": true,
      "forwarding": true
      }
      Thanks for the help! I really appreciate it!

      Dave
      Dave Morrison
      Software Engineer

      Comment

      • flynn1
        Brainiac
        .
        • Jun 2011
        • 82

        #4
        A monitor on a Huntgroup will give agentLoggedOff agentLoggedOn events. IIRC, a monitor on a station will give doNotDisturb and forwarding events though I have not checked this lately.

        Martin

        Comment

        • avc859587618170
          Brainiac
          • Jun 2024
          • 65

          #5
          Thanks Martin!!

          Dave
          Dave Morrison
          Software Engineer

          Comment

          Loading