Give more details of how you call the API.
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"
]
}
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 :
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?