{"id":335,"date":"2013-12-19T16:20:49","date_gmt":"2013-12-19T08:20:49","guid":{"rendered":"http:\/\/www.myvoipapp.com\/blog\/?p=335"},"modified":"2016-09-24T06:28:30","modified_gmt":"2016-09-23T22:28:30","slug":"two-external-lines-how-to-use-specific-one-by-dialing-different-called-number-prefix","status":"publish","type":"post","link":"https:\/\/www.myvoipapp.com\/blog\/2013\/12\/19\/two-external-lines-how-to-use-specific-one-by-dialing-different-called-number-prefix\/","title":{"rendered":"Two external lines, how to use specific one by dialing different called number prefix?"},"content":{"rendered":"<h1>Description<\/h1>\n<p>One of our customers has two different VoIP accounts, for example (1) 1234 and (2) 5678. It is required to select account &#8220;1234&#8221; if users dial &#8220;9xxxx&#8221; numbers and select account &#8220;5678&#8221; if users dial &#8220;8xxxx&#8221; numbers. The final numbers should delete these prefix &#8220;9&#8221; or &#8220;8&#8221; and &#8220;xxxx&#8221; should be sent to VoIP providers.<\/p>\n<h1>Solution<\/h1>\n<p>We can use MSS powerful &#8220;dial plan&#8221; features to fit this requirement.<\/p>\n<p>By default, MSS uses called number prefix &#8220;9&#8221; to distinguish outgoing calls to outsides. If there are several external lines and without any special configuration, MSS will select one of them in round-robin for each call. Now what we need do is to configure different called number prefix and select different external line for them.<\/p>\n<h2>Step 1: configure number transition<\/h2>\n<p>In this step, we need configure a record to delete number prefix &#8220;8&#8221; or &#8220;9&#8221; from called numbers. Please click menu &#8220;Dial plan \/ Transition&#8221; to add a record illustrated below.<\/p>\n<pre>Transition ID = 1\r\nTransition type = delete\r\nStart position = 0\r\nLength = 1<\/pre>\n<h2>Step 2: add new &#8220;Analyze called number&#8221; records<\/h2>\n<p>According to requirement, we need indicate MSS to analyze called number prefix &#8220;8&#8221; and &#8220;9&#8221; to use different specific external line. Please click menu &#8220;Dial plan \/ Analyze called number&#8221; to add two records.<\/p>\n<p>Record 1: analyze called number prefix &#8220;9&#8221;<\/p>\n<pre>Dial plan = default\r\nCalled number prefix = 9\r\nRoute type = external line\r\nSpecific external line = 1234 <span style=\"color: #0000ff;\">&lt;== use specific external line<\/span>\r\nChange called number = yes\r\nTransition ID = 1 <span style=\"color: #0000ff;\">&lt;== configured in step 1<\/span>\r\nRe-analyze after transition = no<\/pre>\n<p>Record 2: analyze called number prefix &#8220;8&#8221;<\/p>\n<pre>Dial plan = default\r\nCalled number prefix = 8\r\nRoute type = external line\r\nSpecific external line = 5678 <span style=\"color: #0000ff;\">&lt;== use specific external line<\/span> \r\nChange called number = yes\r\nTransition ID = 1 <span style=\"color: #0000ff;\">&lt;== configured in step 1<\/span>\r\nRe-analyze after transition = no<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Description One of our customers has two different VoIP accounts, for example (1) 1234 and (2) 5678. It is required to select account &#8220;1234&#8221; if users dial &#8220;9xxxx&#8221; numbers and select account &#8220;5678&#8221; if users dial &#8220;8xxxx&#8221; numbers. The final numbers should delete these prefix &#8220;9&#8221; or &#8220;8&#8221; and &#8220;xxxx&#8221; should be sent to VoIP providers. Solution We can use MSS powerful &#8220;dial plan&#8221; features to fit this requirement. By default, MSS uses called number prefix &#8220;9&#8221; to distinguish outgoing&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.myvoipapp.com\/blog\/2013\/12\/19\/two-external-lines-how-to-use-specific-one-by-dialing-different-called-number-prefix\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,35,34],"tags":[155,54,81,10],"class_list":["post-335","post","type-post","status-publish","format-standard","hentry","category-faq","category-how_to","category-minisipserver","category-minisipserver_cloud","tag-analyze-called-number","tag-dial-plan","tag-external-line","tag-voip"],"_links":{"self":[{"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/posts\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":3,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/posts\/335\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/media?parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/categories?post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blog\/wp-json\/wp\/v2\/tags?post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}