{"id":694,"date":"2025-05-21T15:32:02","date_gmt":"2025-05-21T15:32:02","guid":{"rendered":"https:\/\/smppcenter.com\/kb\/?p=694"},"modified":"2025-05-21T15:32:03","modified_gmt":"2025-05-21T15:32:03","slug":"country-code-mobile-no-field","status":"publish","type":"post","link":"https:\/\/smppcenter.com\/kb\/country-code-mobile-no-field\/","title":{"rendered":"Why do I need to include the country code in the Mobile No. field when creating a Phone Routing Rule in SMPPCenter\u2019s SMPP Software?"},"content":{"rendered":"\n<p>The <em>Mobile No.<\/em> field in <strong>Phone Routing Rules<\/strong> requires the country code to ensure accurate and consistent matching of phone numbers. Here\u2019s why:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Reason for Requiring the Country Code<\/strong>:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Phone numbers vary in format depending on the country, and including the country code (e.g., <code>91<\/code> for India) ensures the system can uniquely identify the number regardless of how it\u2019s formatted in the message.<\/li>\n\n\n\n<li>Without the country code, the system might misinterpret the number, leading to incorrect routing or missed matches.<\/li>\n\n\n\n<li>Example: <code>9199999xxxxx<\/code> clearly identifies an Indian number, while <code>99999xxxxx<\/code> could belong to multiple countries, causing ambiguity.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How to Format the Mobile No. Field<\/strong>:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always include the country code without the <code>+<\/code> symbol (e.g., <code>9199999xxxxx<\/code> for an Indian number).<\/li>\n\n\n\n<li>Ensure the number matches the format used in your messaging system for consistent rule application.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Best Practices<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify the country code for the phone number you\u2019re targeting (e.g., <code>91<\/code> for India, <code>1<\/code> for the USA) before entering it in the <em>Mobile No.<\/em> field.<\/li>\n\n\n\n<li>Test the rule with a sample message to confirm the number is matched correctly and routed to the new vendor.<\/li>\n<\/ul>\n\n\n\n<p>Including the country code ensures precise routing with <strong><a href=\"https:\/\/smppcenter.com\/kb\/category\/smpp-client\/rules\/phone-routing-rules\/\">Phone Routing Rules<\/a><\/strong> on <strong>SMPPCenter<\/strong>. For assistance, contact our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Mobile No. field in Phone Routing Rules requires the country code to ensure accurate and consistent matching of phone numbers. Here\u2019s why: Reason for Requiring the Country Code: How to Format the Mobile No. Field: Best Practices: Including the country code ensures precise routing with Phone Routing Rules on SMPPCenter. For assistance, contact our [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[293],"tags":[],"class_list":["post-694","post","type-post","status-publish","format-standard","hentry","category-phone-routing-rules"],"_links":{"self":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/comments?post=694"}],"version-history":[{"count":0,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/694\/revisions"}],"wp:attachment":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/media?parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/categories?post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/tags?post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}