News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Getting Error in Device SIP Registration
Tags: sip
Aug 10, 2022 at 1:42am   •   3 replies  •  0 likes
anuj.ah sharma

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

on Aug 10, 2022 at 2:24am   •  0 likes

Give more details of how you call the API.

on Aug 10, 2022 at 7:04am   •  0 likes

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

1 Answer
answered on Aug 11, 2022 at 2:10am  

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?


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us