question

development-user2679 avatar image
development-user2679 asked benjamin-dean answered

How can there be an extension with no extension id?

Here's the entirety of a call-log from one extension to another that actually omits the extension id from the last leg. Is it omitted because extensionNumber "1" is invalid? (I can't actually find that extension in our account.)

If this is a misdial, shouldn't the result be something other than 'Missed'?

 {    "uri" : " https://platform.ringcentral.com/restapi/v1.0/account/723878016/call-log/ZUOIXRsknnLGe6Y?view=Detail...;,
    "id" : "ZUOIXRsknnLGe6Y",
    "sessionId" : "1224204218016",
    "startTime" : "2017-02-21T19:00:54.107Z",
    "duration" : 15,
    "type" : "Voice",
    "direction" : "Inbound",
    "action" : "Phone Call",
    "result" : "Missed",
    "to" : {
      "extensionNumber" : "1"
    },
    "from" : {
      "extensionNumber" : "4449",
      "name" : "4449Conference Phone B1F2 ACCT"
    },
    "transport" : "PSTN",
    "lastModifiedTime" : "2017-02-21T19:01:18.228Z",
    "legs" : [ {
      "startTime" : "2017-02-21T19:00:54.106Z",
      "duration" : 15,
      "type" : "Voice",
      "direction" : "Outbound",
      "action" : "VoIP Call",
      "result" : "Call connected",
      "to" : {
        "extensionNumber" : "1"
      },
      "from" : {
        "extensionNumber" : "4449",
        "name" : "4449Conference Phone B1F2 ACCT",
        "device" : {
          "uri" : " https://platform.ringcentral.com/restapi/v1.0/account/723878016/device/210249608016";,
          "id" : "210249608016"
        }
      },
      "transport" : "VoIP",
      "legType" : "SipToPstnMetered",
      "extension" : {
        "uri" : " https://platform.ringcentral.com/restapi/v1.0/account/723878016/extension/967106016";,
        "id" : 967106016
      }
    }, {
      "startTime" : "2017-02-21T19:00:54.107Z",
      "duration" : 15,
      "type" : "Voice",
      "direction" : "Inbound",
      "action" : "Phone Call",
      "result" : "Missed",
      "to" : {
        "extensionNumber" : "1"
      },
      "from" : {
        "extensionNumber" : "4449",
        "name" : "4449Conference Phone B1F2 ACCT"
      },
      "transport" : "PSTN",
      "legType" : "Accept"
    } ]
  }
topic-default
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
benjamin-dean avatar image
benjamin-dean answered
Is that extension a Group instead of a User? That might explain the missing ID.
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.