{"id":693,"date":"2025-05-21T15:27:38","date_gmt":"2025-05-21T15:27:38","guid":{"rendered":"https:\/\/smppcenter.com\/kb\/?p=693"},"modified":"2025-05-21T15:27:39","modified_gmt":"2025-05-21T15:27:39","slug":"username-setting-phone-routing-rules","status":"publish","type":"post","link":"https:\/\/smppcenter.com\/kb\/username-setting-phone-routing-rules\/","title":{"rendered":"How does the UserName setting in Phone Routing Rules work in SMPPCenter\u2019s SMPP Software, and when should I use \u2018Any\u2019 vs. a specific user?"},"content":{"rendered":"\n<p>The <em>UserName<\/em> field in <strong>Phone Routing Rules<\/strong> determines which users the rule applies to. Here\u2019s the difference:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>UserName Set to \u2018Any\u2019<\/strong>:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The rule applies to all users in the system.<\/li>\n\n\n\n<li>Messages sent to the specified phone number from any user will be redirected from the <em>Origin Vendor<\/em> to the <em>New Vendor<\/em>.<\/li>\n\n\n\n<li><strong>Example<\/strong>:\n<ul class=\"wp-block-list\">\n<li><em>UserName<\/em>: Any<\/li>\n\n\n\n<li><em>Mobile No.<\/em>: <code>9199999xxxxx<\/code><\/li>\n\n\n\n<li><em>Origin Vendor<\/em>: Operator A<\/li>\n\n\n\n<li><em>New Vendor<\/em>: Operator B<\/li>\n\n\n\n<li>Result: Messages to <code>9199999xxxxx<\/code> from any user will be routed to Operator B instead of Operator A.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>UserName Set to a Specific User<\/strong>:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The rule applies only to the selected user, leaving other users unaffected.<\/li>\n\n\n\n<li>Messages sent to the specified phone number by that user will be redirected, while other users will follow the default routing logic.<\/li>\n\n\n\n<li><strong>Example<\/strong>:\n<ul class=\"wp-block-list\">\n<li><em>UserName<\/em>: user1<\/li>\n\n\n\n<li><em>Mobile No.<\/em>: <code>9199999xxxxx<\/code><\/li>\n\n\n\n<li><em>Origin Vendor<\/em>: Operator A<\/li>\n\n\n\n<li><em>New Vendor<\/em>: Operator B<\/li>\n\n\n\n<li>Result: Only messages to <code>9199999xxxxx<\/code> from <code>user1<\/code> will be routed to Operator B; other users will continue using Operator A.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>When to Use Each<\/strong>:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <em>Any<\/em> when you want the rule to apply universally, such as for a number blocked by an operator across all users.<\/li>\n\n\n\n<li>Use a specific user when the routing change is relevant only to that user\u2019s campaigns (e.g., due to compliance or campaign-specific requirements).<\/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>Start with user-specific rules to test the routing change before applying it to all users with <em>Any<\/em>.<\/li>\n\n\n\n<li>Document your rules clearly (e.g., in the rule description) to avoid confusion when managing multiple user-specific rules.<\/li>\n<\/ul>\n\n\n\n<p>Understanding the <em>UserName<\/em> setting helps you apply <a href=\"https:\/\/smppcenter.com\/kb\/category\/smpp-client\/rules\/phone-routing-rules\/\">Phone Routing Rules<\/a> effectively on <strong>SMPPCenter<\/strong>. For assistance, contact our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The UserName field in Phone Routing Rules determines which users the rule applies to. Here\u2019s the difference: UserName Set to \u2018Any\u2019: UserName Set to a Specific User: When to Use Each: Best Practices: Understanding the UserName setting helps you apply Phone Routing Rules effectively on SMPPCenter. For assistance, contact our support team.<\/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-693","post","type-post","status-publish","format-standard","hentry","category-phone-routing-rules"],"_links":{"self":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/693","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=693"}],"version-history":[{"count":0,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/posts\/693\/revisions"}],"wp:attachment":[{"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/media?parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/categories?post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smppcenter.com\/kb\/wp-json\/wp\/v2\/tags?post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}