WTI - How to monitor a VDN device?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • avc863553355074
    Member
    • Sep 2024
    • 4

    WTI - How to monitor a VDN device?

    Hi,

    Does anyone know how we can monitor a VDN device?
    It this the same way as a regular device, because we got InvalidDeviceID as reponse.

    URL: /api/fe/v1/MonitorStart (POST)

    Request:

    {
    "extensions": {"privateData": {"private": {"AvayaEvents": {
    "logicalDeviceFeaturePrivate": {"agentLoginExtension": true},
    "endpointRegistrationStateEvents": {
    "registered": true,
    "unregistered": true
    },
    "callControlPrivate": {"serviceObserveState": true},
    "invertFilter": true
    }}}},
    "monitorObject": {"deviceObject": "8665:CMLAB::0"},
    "targetUrl": "http://x.x.x.x:8081/events",
    "requestedMonitorFilter": {
    "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
    }
    }
    }

    Response:

    {
    "operation": "invalidDeviceID"
    }

    This does work with a regular device which is used on a softphone.

    Thanks

    WimH​​
  • flynn1
    Brainiac
    .
    • Jun 2011
    • 82

    #2
    Monitoring a VDN is actually different to monitoring a station. It uses the MonitorCallsViaDevice feature rather than the normal MonitorDevice. The two requests look very similar but notice that the list of requested events is slightly different and there is an extra parameter, monitorType.

    Sending WTI request to AES using direct method: /api/fe/v1/MonitorStart
    Code:
    {
    "monitorType": "call",
    "extensions": {"privateData": {"private": {"AvayaEvents": {
    "callControlPrivate": {"enteredDigits": false},
    "invertFilter": true
    }}}},
    "monitorObject": {"deviceObject": "50900:CM181:0.0.0.0:3"},
    "targetUrl": "[URL]http://10.10.13.242:8081/v1/events[/URL]",
    "requestedMonitorFilter": {
    "callcontrol": {
    "established": false,
    "conferenced": false,
    "callCleared": false,
    "transferred": false,
    "held": false,
    "queued": false,
    "delivered": false,
    "retrieved": false,
    "failed": false,
    "connectionCleared": false,
    "originated": false,
    "diverted": false,
    "serviceInitiated": false,
    "networkReached": false
    },
    "logicalDeviceFeature": ""
    }
    }
    Code:
    {"MonitorStartResponse": {
    "monitorCrossRefID": 141,
    "callControlPrivate": {"enteredDigits": false},
    "actualMonitorFilter": {
    "callcontrol": {
    "established": false,
    "conferenced": false,
    "callCleared": false,
    "transferred": false,
    "held": false,
    "queued": false,
    "delivered": false,
    "retrieved": false,
    "failed": false,
    "connectionCleared": false,
    "originated": false,
    "diverted": false,
    "serviceInitiated": false,
    "networkReached": false
    },
    "logicalDeviceFeature": {
    "agentWorkingAfterCall": false,
    "agentNotReady": false,
    "agentReady": false
    }
    },
    "invertFilter": true
    }}

    Comment

    Loading