question

Egor Teplyakov avatar image
Egor Teplyakov asked Phong Vu answered

No disconnect reason if invalid number dialed from Deskphone

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"
    }
  }
}
call logsnotificationsphone numbers
1 comment
1 |3000

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

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".

0 Likes 0 ·

1 Answer

Phong Vu avatar image
Phong Vu answered

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!

1 |3000

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

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys