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

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

3 replies

PhongVu
Community Manager
Community Manager
August 10, 2022

Give more details of how you call the API.

The First Step
August 10, 2022

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

PhongVu
Community Manager
Community Manager
August 11, 2022

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?