question

TFOMIA RCDevUser avatar image
TFOMIA RCDevUser asked Phong Vu commented

Device SIP Registration API is giving "Device is not allowed for Other" error message

We are trying to Register a SoftPhone using the Register Device API available in RingCentral. However, we are getting the "device is not allowed for other" if we are using the SoftPhone device id as the Input parameter. Please refer the screenshot below:
1660135066123.png

Here, we are using the "WSS" transport type to register the Ringcentral Softphone. Also, we noticed that if we are not providing the device id, api gives the 200 Ok response code. It returns the SIP Information of the WebPhone instead of the Softphone (already assigned to the user) .

Kindly help to resolve this issue.

softphonesip
1660135066123.png (113.0 KiB)
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered Phong Vu commented

How did you get the device id of the RingCentral soft phone? And If you could get the device id of the RingCentral soft phone, it means that the device is already registered and assigned for an extension.

Tell me what you really want to achieve?

2 comments
1 |3000

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

TFOMIA RCDevUser avatar image TFOMIA RCDevUser commented ·

As per our requirement, we are trying to supervise a call using the RingCentral API. In ringcentral developer account we have an api "Supervise Call Session" (https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/telephony/sessions/telephonySessionId/supervise). To get the response we need to pass few input parameters in the api. As you said the device is already registered, we are using the same device id as the input parameter in this API. Please refer the screenshot below:

1660245160668.png

But when we hit the try out options it returns 403 Forbidden error "Can't find the registered device id for the current user". Could you please let me know if I am missing something.

Note: Device is showing as online inside the service.devtest.ringcentral portal.
1660245098533.png

0 Likes 0 ·
1660245098533.png (13.3 KiB)
1660245160668.png (93.5 KiB)
Phong Vu avatar image Phong Vu ♦♦ TFOMIA RCDevUser commented ·

Then you probably use the wrong API. The SPI registration is for creating and register your own device. In this case, you are using the RingCentral soft phone which is not your own device. Read this blog to learn more.

To supervise a call, you need to set up the call monitoring and specified the supervisor and monitored agent(s). Then use one of these APIs to supervise agents' calls.

https://developers.ringcentral.com/api-reference/Call-Control/superviseCallSession

https://developers.ringcentral.com/api-reference/Call-Control/superviseCallParty

0 Likes 0 ·

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