Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
Huawei Cloud Astro Canvas
Huawei Cloud Astro Zero
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Help Center/ Message & SMS/ User Guide/ Settings/ Number Control Restrictions

Number Control Restrictions

Updated on 2025-03-21 GMT+08:00

You can set a rule to allow or deny SMS sending to specific numbers or number segments in certain countries or regions.

Notes

  • This function is disabled by default. SMSs can be sent to all supported number segments or numbers. With this function enabled, the system will send SMSs based on the configured number segment or number rules. For details, see International SMS Sending Rules.
  • You can add number segments to a blacklist to prevent SMSs from being sent to those segments. Additionally, specific numbers within these segments can be added to a whitelist, allowing SMSs to be sent to them.

Procedure

  1. Log in to the Message & SMS console. In the navigation pane, choose General Management > Settings.
  2. In the number control area, perform the following operations as required.

    • Adding a rule
      NOTE:
      • Enter a complete number starting with a plus sign (+) and combining with an area code.
      • The Allow and Deny policies cannot be configured for a number at the same time. The Allow policy takes precedence over that in the Deny policy.
      • You can add up to 100 number segment rules and 600 number rules for each country or region.
      • Number rules can be added in batches by importing a file. The number rules in the same file must belong to the same country or region, and the number of rules cannot exceed 600.
      • After a rule is added, it takes about 5 minutes to take effect.

      1. Click Add Rule. On the displayed page, select the country or region to which the rule belongs.
      2. Add number or number segment rules as required.
        • Add a number segment rule. In the Segment Rule area, click Add Rule. Enter a 4- to 11-digit number segment consisting of asterisks (*) and digits as the filtering condition. For example, *8*8* and 12345*6*789. If you enter *8*8*, SMSs cannot be sent to numbers ending with *8*8* in the specified country or region.
        • Add a number rule. You can add number rules by manual input or file import.

          Manual import: In the number rule area, select Manual Import, and click Add Rule. Enter a complete number starting with a plus sign (+) and combining with an area code, and select a policy from the drop-down list box to allow or deny SMS sending to the number. For example, if you select the Deny policy for the number +33612345678, the system cannot send SMSs to +33612345678. After the configuration, click OK.

          File import: In the number rule area, select File Import, and click Download Template. In the template, enter complete numbers starting with a plus sign (+) and combining with area codes, and select policies from the drop-down list box to allow or deny SMS sending to the target numbers. For example, if you select the Deny policy for the number +33612345678, the system cannot send SMSs to +33612345678. After the configuration, click Import to import the file. After the data is imported, click OK.

    • Modifying a rule

      You cannot modify an existing number control rule. To change the whitelist/blacklist policy for a single number, click the setup button in the operation column of a country/region, and add a new rule for the target number again.

    • Deleting a rule
      NOTE:
      • You can remove a country from the number control list only after deleting all number and number segment rules configured for the country.
      • You can enter keywords in the search box to perform fuzzy search for the rules.
      1. Delete all configured rules.
        1. Click the setup button for the corresponding country/region in the number control list.
        2. On the displayed page, select multiple number segment or number rules and click Batch Delete, or click Delete to delete a single rule.
        3. In the displayed dialog box, click OK.
      2. Remove the country or region from the number control list.
        1. After deleting all configured rules of the country or region, click Delete corresponding to the country or region in the number control list.
        2. Click Yes in the displayed dialog box.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback