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"
} ]
}
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"
} ]
}