Skip to main content
The First Step
August 19, 2022
Question

Getting "Can't reach device id specified in the request" error while trying to supervise the call using Existing SIP Phone

We have registered out Existing Phone (SIP Phone) in service.devtest.ringcentral.com portal. After registration we got the device id that we are trying to use to supervise the call using that SIP Phone. But whenever we hit the https://platform.devtest.ringcentral.com/restapi/v1.0/account/accountId/telephony/sessions/telephonySessionId/supervise api we are getting the error "Can't reach deviceId specified in request". Also, after registration we have checked the status of Existing Phone and it is showing as Online. Please refer the screenshot below:
1660921411950.png


Kindly review the above details and let us know if we are missing any step

Sample Code:

1660921570241.png

4 replies

PhongVu
Community Manager
Community Manager
August 20, 2022

Is your "Existing SIP Phone" assigned to a user extension, who is a supervisor in the call monitor group?

The First Step
August 22, 2022

Yes ...We have assigned the existing phone to the supervisor to monitor the call.

PhongVu
Community Manager
Community Manager
January 23, 2023

@Shankar Jha I see you posted a comment and the system blocked it. This is due to the code in your post. Clean it up to make it readable (not that all in new lines) and post it again to pass the system content checking.

Not like this

screen-shot-2023-01-23-at-92846-am.png

The First Step
January 24, 2023

I am using softphone sdk for call supervision. I am using a REST API call to activate the call supervision. This API can be used for call supervision. https://developers.ringcentral.com/api-reference/Call-Control/superviseCallSession. This require a `telephonySessionId` for call supervision. I am providing that from the sip message headers using: `p-rc-api-ids': 'party-id=p-a1c1444275c32z185df69b9c9z133db40000-2;session-id=s-a1c1444275c32z185df69b9c9z133db40000'

But I am getting a 404 not found error.

Here is my code