question

anuj.ah sharma avatar image
anuj.ah sharma asked Phong Vu answered

Getting Error in Device SIP Registration

I am trying to implement real-time listening functionality and trying device SIP registration but getting below error


Content: {
"errorCode" : "SPR-123",
"message" : "device is not allowed for Other.",
"errors" : [ {
"errorCode" : "SPR-123",
"message" : "device is not allowed for Other.",
"applicationType" : "Other",
"parameterName" : "device"
} ],
"applicationType" : "Other",
"parameterName" : "device"
}

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

Give more details of how you call the API.

0 Likes 0 ·

We are trying to register the SIP soft phone - device id () in ringcentral to get real time audio stream. When we hit registered device sip API (https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision) without device id we are getting below response :

{
"device": {
"uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/account/708117/device/801546218005",
"id": "801546218005",
"type": "WebPhone",
"status": "Online",
"phoneLines": [],
"emergency": {
"addressStatus": "Invalid"
},
"linePooling": "None"
},
"sipInfo": [
{
"transport": "WSS",
"username": "1949356499*101",
"password": "ZsdM",
"authorizationId": "801546218005",
"domain": "sip.devtest.ringcentral.com",
"outboundProxy": "sip113-101.devtest.ringcentral.com:8083",
"stunServers": [
"stun1.ringcentral.com:19302",
"stun2.ringcentral.com:19302"
]
}
],
"sipInfoPstn": [],
"sipFlags": {
"voipFeatureEnabled": true,
"voipCountryBlocked": false,
"outboundCallsEnabled": false,
"dscpEnabled": false,
"dscpSignaling": 26,
"dscpVoice": 46,
"dscpVideo": 34
},
"sipErrorCodes": [
"408"
]
}

microsoftteams-image-4.png

But when we are trying with softphone device id we are getting below response :

{

"errorCode":

"SPR-123"

"message":

"device is not allowed for Other."

"errors":[...]

"applicationType":

"Other"

"parameterName":

"device"

}


Here how we are trying to call this Api :

microsoftteams-image-3.png

0 Likes 0 ·

1 Answer

Phong Vu avatar image
Phong Vu answered

So the "SIP soft phone" is your own software? How did you implement it and where did you get the device id of that "device"?

Also you wrote "real-time listening ...", what do you exactly want to achieve? Monitoring a call?

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