question

Aaron Zigler avatar image
Aaron Zigler asked Phong Vu commented

getting error while sending sms and receiving sms

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
webhookssending smsextension
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

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 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Aaron Zigler avatar image
Aaron Zigler answered Phong Vu commented

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?

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image Phong Vu ♦♦ commented ·

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.

0 Likes 0 ·

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys