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
Can a phone number have both the High Volume SMS feature and the enhanced Business SMS feature?
Tags: sending sms, high-volume sms
Apr 12, 2024 at 10:50am   •   1 replies  •  0 likes
Alex Shin

Hi, So we recently had RC add the A2P feature added to our Phone numbers and when I tested the High Volume Api I was able to send out a text. But all of a sudden our Prod Application started to return this:

{\n    \"errorCode\" : \"MSG-242\",\n    \"message\" : \"The requested feature is not available\"\

Can a phone number have both the enhanced Business and A2P feature? And if it can, can you add that back in for us?

client ID: 5D4LUlgTSOXbmSZdZcemO5
Phone Numbers are under the "SMS admin" profile

1 Answer
answered on Apr 12, 2024 at 12:57pm  

No, a phone number cannot be provisioned for both EB SMS and HV SMS. I will be either feature if provisioned.

Your account has 2 HV SMS numbers and they are xxx-8335 and xxx-8340. And yes, these 2 numbers are assigned to the extension "8197 - sms admin".

How do you get the error above? Did you authenticate your app with the "SMS admin" user's credentials?

Check what you get if you implement this function in your code

/*
  Read phone number(s) that belongs to the authenticated user and detect if a phone number
  has the A2P SMS capability
*/
async function read_extension_phone_number_detect_a2psms_feature(){
  try {
      let endpoint = "/restapi/v1.0/account/~/extension/~/phone-number"
      var resp = await platform.get(endpoint)
      var jsonObj = await resp.json()
      for (var record of jsonObj.records){
          for (feature of record.features){
              if (feature == "A2PSmsSender"){
                // If a user has multiple phone numbers, check and decide which number
                // Can use this number to send A2P text message ...
              }
          }
      }
      if (jsonObj.records.length == 0)
        console.log("This user does not own a phone number!")
      else
        console.log("None of this user's phone number(s) has A2P SMS capability!")
  } catch(e) {
      console.log(e.message)
  }
}

 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