Question

getting error while sending sms and receiving sms

  • 23 July 2023
  • 3 replies
  • 226 views

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

3 replies

Userlevel 1

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

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?

Userlevel 1

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.

Reply