{"id":831,"date":"2023-03-09T16:54:30","date_gmt":"2023-03-09T13:54:30","guid":{"rendered":"https:\/\/docs.unibell.ru\/?page_id=831"},"modified":"2024-02-07T13:19:07","modified_gmt":"2024-02-07T10:19:07","slug":"%d0%bf%d0%b5%d1%80%d0%b5%d0%b0%d0%b4%d1%80%d0%b5%d1%81%d0%b0%d1%86%d0%b8%d1%8f","status":"publish","type":"page","link":"https:\/\/docs.unibell.tech\/?page_id=831","title":{"rendered":"Redirection"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-1.png\"><img decoding=\"async\" width=\"107\" height=\"81\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-1.png\" alt=\"\" class=\"wp-image-2477\"\/><\/a><\/figure>\n\n\n\n<p>The Redirection block transfers the call to another phone number.<\/p>\n\n\n\n<p>The block properties contain two types of settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-2.png\"><img decoding=\"async\" width=\"266\" height=\"333\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-2.png\" alt=\"\" class=\"wp-image-2478\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-2.png 266w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-2-240x300.png 240w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><\/a><\/figure>\n\n\n\n<p>The settings block &#8220;The method of setting the B-number&#8221; is used to specify the phone number to which the call will be forwarded.<\/p>\n\n\n\n<p>Depending on the logic of your script, you can enter the required phone number in the &#8220;Phone&#8221; line, or set it through any variable in the &#8220;Variable&#8221; column.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-3.png\"><img decoding=\"async\" width=\"263\" height=\"314\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-3.png\" alt=\"\" class=\"wp-image-2479\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-3.png 263w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-3-251x300.png 251w\" sizes=\"(max-width: 263px) 100vw, 263px\" \/><\/a><\/figure>\n\n\n\n<p>The settings section &#8220;Method of setting the A-number&#8221; must be configured in cases where it is required that the system, when forwarding a call, transmit the phone number of the subscriber itself, and not the system one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-4.png\"><img decoding=\"async\" width=\"259\" height=\"324\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-4.png\" alt=\"\" class=\"wp-image-2480\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-4.png 259w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-4-240x300.png 240w\" sizes=\"(max-width: 259px) 100vw, 259px\" \/><\/a><\/figure>\n\n\n\n<p>Two system variables are provided for this purpose: <strong>sourceAddr<\/strong> (for incoming scripts) and <strong>destAddr<\/strong> (for outgoing scripts). Depending on whether your script is incoming or outgoing, add one of these variables to it, and then select it from the drop-down list in the &#8220;Variable&#8221; tab in the settings block &#8220;Method for setting the A-number&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-5.png\"><img decoding=\"async\" width=\"538\" height=\"332\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-5.png\" alt=\"\" class=\"wp-image-2481\" srcset=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-5.png 538w, https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/02\/redirection-5-300x185.png 300w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/a><\/figure>\n\n\n\n<p> If for the purposes of your work it is enough to transfer the system phone number as an A-number, then the settings block &#8220;How to set the A-number&#8221; can be omitted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Redirection block transfers the call to another phone number. The block properties contain two types of settings. The settings block &#8220;The method of setting the B-number&#8221; is used to specify the phone number to which the call will be forwarded. Depending on the logic of your script, you can enter the required phone number <a href=\"https:\/\/docs.unibell.tech\/?page_id=831\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Redirection<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":862,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":{"footnotes":""},"class_list":["post-831","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=831"}],"version-history":[{"count":9,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/831\/revisions"}],"predecessor-version":[{"id":2487,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/831\/revisions\/2487"}],"up":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/862"}],"wp:attachment":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}