Skip to main content

Hi,

If I call from Application to invalid number, for example +17777777777, call failed with short beeps. And in session event notification will be prompt a reason.

But if I do the same from Deskphone there no reason in notification. How I can receive info about fail reason when I call from Deskphone?

Phone Application:

{
"uuid": "1951130787398840150",
"event": "/restapi/v1.0/account/215740048/telephony/sessions",
"timestamp": "2022-04-19T14:03:51.774Z",
"subscriptionId": "879ed167-264c-420f-a07a-e970103889e4",
"ownerId": "242666048",
"body": {
"sequence": 4,
"sessionId": "19996170049",
"telephonySessionId": "s-a78851a153ba8z1804222fe34ze763a50000",
"serverId": "10.120.133.26.TAM",
"eventTime": "2022-04-19T14:03:51.702Z",
"parties": [
{
"accountId": "215740048",
"id": "p-a78851a153ba8z1804222fe34ze763a50000-2",
"direction": "Inbound",
"to": {
"phoneNumber": "+17777777777"
},
"from": {
"phoneNumber": "+1325xxxxxxx",
"name": "Pavel Yurkevich",
"extensionId": "363256048"
},
"status": {
"code": "Disconnected",
"reason": "InvalidNumber",
"rcc": false
},
"park": {},
"missedCall": false,
"standAlone": false,
"muted": false
}
],
"origin": {
"type": "Call"
}
}
}

Deskphone:

{
"uuid": "4953700610964252817",
"event": "/restapi/v1.0/account/215740048/extension/363256048/telephony/sessions",
"timestamp": "2022-04-19T14:03:59.7Z",
"subscriptionId": "879ed167-264c-420f-a07a-e970103889e4",
"ownerId": "242666048",
"body": {
"sequence": 5,
"sessionId": "19996170049",
"telephonySessionId": "s-a78851a153ba8z1804222fe34ze763a50000",
"serverId": "10.120.133.26.TAM",
"eventTime": "2022-04-19T14:03:59.627Z",
"parties": [
{
"accountId": "215740048",
"extensionId": "363256048",
"id": "p-a78851a153ba8z1804222fe34ze763a50000-1",
"direction": "Outbound",
"to": {
"phoneNumber": "+17777777777"
},
"from": {
"phoneNumber": "+1325xxxxxxx",
"name": "Pavel Yurkevich",
"extensionId": "363256048",
"deviceId": "338329048"
},
"status": {
"code": "Disconnected",
"rcc": false
},
"park": {},
"missedCall": false,
"standAlone": false,
"muted": false
}
],
"origin": {
"type": "Call"
}
}
}

Update:

Disconnect reason exists when calling from Deskphone and Phone App and getting short beeps.

Reason is not specified when I get automatically answer that number not in servicve and I need check the number. At the end of message robot saying "s p o k".


I believe that this is the different behavior between a SIP phone and a WebRTC phone. While I don't have any solution for this. I will mark this as a known issue and will discuss about this internally to see if we can improve it in the future.

Thanks for reporting this with the detailed inputs!


Reply