{"id":3549,"date":"2024-06-07T13:01:41","date_gmt":"2024-06-07T10:01:41","guid":{"rendered":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3549"},"modified":"2025-02-07T13:45:05","modified_gmt":"2025-02-07T10:45:05","slug":"outgoing-routes","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3549","title":{"rendered":"Outgoing routes"},"content":{"rendered":"\n<p>A <strong>route<\/strong> is a set of rules that, depending on the nature of the traffic and on the specified rule, allow you to determine the trunk group of the provider.<\/p>\n\n\n\n<p>Routes are created and stored in the &#171;Outgoing Routes&#187; section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes0.png\"><img decoding=\"async\" width=\"281\" height=\"407\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes0.png\" alt=\"\" class=\"wp-image-3550\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes0.png 281w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes0-207x300.png 207w\" sizes=\"(max-width: 281px) 100vw, 281px\" \/><\/a><\/figure>\n\n\n\n<p>To add a new outgoing route, click on the &#171;+ Add&#187; button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes1.png\"><img decoding=\"async\" width=\"1024\" height=\"306\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes1-1024x306.png\" alt=\"\" class=\"wp-image-3551\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes1-1024x306.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes1-300x90.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes1.png 1584w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Fill in the &#171;Name&#187; (required), &#171;Additional information&#187; is filled in at will.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes2.png\"><img decoding=\"async\" width=\"1024\" height=\"215\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes2-1024x215.png\" alt=\"\" class=\"wp-image-3552\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes2-1024x215.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes2-300x63.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes2.png 1584w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>After creating a new outbound route, add &#171;Routing rules&#187; to it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes3.png\"><img decoding=\"async\" width=\"1024\" height=\"261\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes3-1024x261.png\" alt=\"\" class=\"wp-image-3553\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes3-1024x261.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes3-300x77.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes3.png 1588w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Creating a routing rule consists of defining two characteristics for it: The <strong>Rule type<\/strong> and the <strong>Trunk group<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes4.png\"><img decoding=\"async\" width=\"1024\" height=\"284\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes4-1024x284.png\" alt=\"\" class=\"wp-image-3554\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes4-1024x284.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes4-300x83.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/outgoing_routes4.png 1588w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Type of routing rules:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Rule type<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>DIRECT_ROUTE_TYPE<\/td><td>unconditional routing to the specified trunk group<\/td><\/tr><tr><td>ZONE_ROUTE_TYPE<\/td><td>routing to the specified trunk group, depending on whether the number of the called subscriber belongs to a certain zone (operator)<\/td><\/tr><tr><td>SOURCE_ADDR_ROUTE_TYPE<\/td><td>routing to the specified trunk group, depending on the correspondence of the A-number to the specified template in the rule<\/td><\/tr><tr><td>DEST_ADDR_ROUTE_TYPE<\/td><td>routing to the specified trunk group, depending on the correspondence of the B-number to the template specified in the rule<\/td><\/tr><tr><td>DEST_RN_ROUTE_TYPE<\/td><td>routing to the specified trunk group depending on the route value specified in the rule template<\/td><\/tr><tr><td>SOURCE_ADDR_AND_ZONE_ROUTE_TYPE<\/td><td>routing to the specified trunk group, which is directly connected to the trunk, and all traffic originating from a certain A-number and located in the specified zone must be routed through the specified trunk type<\/td><\/tr><tr><td>SMS_TYPE_ROUTE_TYPE<\/td><td>routing to the specified trunk group is directly linked to a specific type of tank, and all SMS traffic is routed according to the type of message<\/td><\/tr><tr><td>SOURCE_ADDR_AND_SMS_TYPE_ROUTE_TYPE<\/td><td>routing to the specified trunk group is directly related to a certain type of trunk, and all SMS traffic originating from a certain A-number and related to a certain type of message must be routed through the specified trunk type<\/td><\/tr><tr><td>SOURCE_ADDR_AND_SMS_TYPE_AND_ZONE_ROUTE_TYPE<\/td><td><a><\/a> routing to the specified trunk group is directly related to a certain type of trunk, and all SMS traffic originating from a certain A-number, belonging to a certain type of message and located in the specified zone, must be routed through the specified trunk type<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A route is a set of rules that, depending on the nature of the traffic and on the specified rule, allow you to determine the trunk group of the provider. Routes are created and stored in the &#171;Outgoing Routes&#187; section. To add a new outgoing route, click on the &#171;+ Add&#187; button: Fill in the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3549\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Outgoing routes<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/administration-content.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3549"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3549"}],"version-history":[{"count":4,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3549\/revisions"}],"predecessor-version":[{"id":4214,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3549\/revisions\/4214"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}