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 while sending sms and receiving sms
Tags: webhooks, sending sms, extension
Jul 23, 2023 at 10:18am   •   2 replies  •  0 likes
Aaron Zigler

App ID: Oq2bvcsLTZel0PPQM9V2zg~sb5P-B7fQHiQVWipQejEaQ App Name: CommunicatO App Type: Public App Link: https://ai-developer.ringcentral.com/administration.html#/application/Oq2bvcsLTZel0PPQM9V2zg~sb5P-B7fQHiQVWipQejEaQ Env: Production Topic:

Calling the API and/or using an SDK Sub-topic: Sending SMS Details: { "errorCode": "FeatureNotAvailable", "message": "Phone number doesn't belong to extension", "errors": [ { "errorCode": "MSG-304", "message": "Phone number doesn't belong to extension" } ] } getting error while sending an SMS from ringcentral API and also not able to receive Incoming SMS after setting up the webhook

We are using the 101 extensions, in which our Company's main number is :

FROM:- +13125355995
To:- +12058097009
extension:- 101
subscription ID:- 3ccf27c0-80bc-4628-9256-4f09546c256f
my production APP: CommunicatO
2 Answers
answered on Jul 24, 2023 at 11:48pm  

Thanks for your help,

Our issue got resolved and now we are able to send and receive messages for RingCentral.

We just want you to help us with the Webhook also. Our Webhook got blacklisted after a few days. And to prevent this, we have done the coding also that use to call the API endpoint every 10 mins, We had read the documentation related to the webhook blacklisted. But still, Our webhook response gets terminated.

Can you please help us, so that our webhook should not get blacklisted?


 0
on Jul 25, 2023 at 9:07am   •  0 likes

Unfortunately, with that I cannot help much. If your webhook server is unreachable for any reason, the address will be blacklisted.

You can submit a dev support ticket to get help.

answered on Jul 24, 2023 at 6:42am  

The error message is clear. You try to send SMS from a number which the user (who is authenticated using your app) is not the owner of that phone number.

Having a look at your account settings, the "from" phone number is your company main company number, and the extension 333 is assigned to be the owner of that number. Thus, you have to authenticate the app with the user (Ext. 333) login credentials (NOT the 101).

Alternatively, you can reassign the extension who supposed to handle incoming and SMS for your main company number and any other company numbers, via the Auto-receptionist -> General settings

screen-shot-2023-07-24-at-63545-am.png


 1



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