{"id":217,"date":"2022-05-19T03:13:45","date_gmt":"2022-05-19T03:13:45","guid":{"rendered":"https:\/\/jazchye.com\/?p=217"},"modified":"2022-05-19T03:14:45","modified_gmt":"2022-05-19T03:14:45","slug":"how-to-get-each-call-to-route-through-their-own-fxo-ports-in-gxw41xx","status":"publish","type":"post","link":"https:\/\/jazchye.com\/index.php\/2022\/05\/19\/how-to-get-each-call-to-route-through-their-own-fxo-ports-in-gxw41xx\/","title":{"rendered":"How to get each call to route through their own FXO ports in GXW41XX"},"content":{"rendered":"\n<p>Grandstream Networks GXW410x series is an FXO gateway that converts SIP\/RTP IP calls to traditional PSTN calls and vice versa. FXO gateway is extremely useful if you are trying to venture into SIP-based calling, but is still on an analog PSTN technology.<\/p>\n\n\n\n<p>As much as I want to talk more about GXW41XX, this article will be focusing on guiding any new users on how to configure GXW41XX to have calls routed through their own dedicated FXO ports. Here is a <a href=\"https:\/\/www.dropbox.com\/s\/1bv4oybyayh66eu\/gxw_wp_extending_analog_lines.pdf?dl=0\">guide<\/a> from Grandstream Networks on this, but it seems a little confusing for new users. You may follow my steps here instead.<\/p>\n\n\n\n<p><strong>Scenario:<\/strong><\/p>\n\n\n\n<p>Ext 101 can make outgoing calls via FXO port 1 and FXO port 1 all incoming calls will be routed to Ext 101.<\/p>\n\n\n\n<p>Ext 102 can make incoming &amp; outgoing calls via FXO port 2.<\/p>\n\n\n\n<p>&#8230;. and the same goes on till FXO port 8.<\/p>\n\n\n\n<p>The user is using the Grandstream UCM series along with GXW41XX.<\/p>\n\n\n\n<p><strong>Steps<\/strong>:<\/p>\n\n\n\n<p><strong>Stage 1 method &#8211; <\/strong><\/p>\n\n\n\n<p>Create each FXO line in GXW410X as own trunk in the UCM server. Each FXO should have its number.<\/p>\n\n\n\n<p><strong>For Inbound calls &#8211;<\/strong><\/p>\n\n\n\n<p>1. Settings &gt; Channels Settings &gt; Calling to VoIP &gt; Unconditional Call Forward to Following &gt; User&nbsp;<a href=\"id:\">ID:<\/a>&nbsp;enter&nbsp;<a href=\"ch1:\">ch1:<\/a>&nbsp;EXT1;&nbsp;<a href=\"ch2:EXT2;\">ch2:EXT2;<\/a>&nbsp;&#8230;&nbsp;<a href=\"ch8:EXT8\">ch8:EXT8<\/a><br>(For instance&nbsp;<a href=\"ch1:101;ch2:102;ch3:...)\">ch1:101;ch2:102;ch3:&#8230;)<\/a><\/p>\n\n\n\n<p>2. Settings &gt; Channels Settings &gt; Calling to VoIP &gt; Unconditional Call Forward to Following &gt; SIP&nbsp;Server:&nbsp;set to&nbsp;<a href=\"ch1-8:p1\">ch1-8:p1<\/a>&nbsp;(profile for Acount 1);<br>3. FXO Lines &gt; Settings &gt; Port Caller ID Setting &gt; Number of Rings Before&nbsp;Pickup:&nbsp;set to&nbsp;<a href=\"ch1-8:1;\">ch1-8:1;<\/a><br>4. In UCM, do the following &#8211;<\/p>\n\n\n\n<p>Create 8 inbound routes&nbsp;with:<br>(1) ExtX DID as the pattern and<br>(2) ExtX as the destination<\/p>\n\n\n\n<p><strong>For Outbound calls &#8211;<\/strong><\/p>\n\n\n\n<p>1. FXO lines &gt; Dialing &gt; Port Scheduling Schema &gt; Prefix to Specific&nbsp;<a href=\"port:\">Port:<\/a>&nbsp;99<br>2. FXO Lines &gt; Dialing &gt; Dialing to PSTN &gt; Wait for Dial-Tone(Y\/N): set to&nbsp;<a href=\"ch1-8:N;\">ch1-8:N;<\/a><br>3. FXO Lines &gt; Dialing &gt; Stage Method(1\/2): set to&nbsp;<a href=\"ch1-8:1;\">ch1-8:1;<\/a><\/p>\n\n\n\n<p>Configure the following in UCM &#8211;<br>1. For each extension an outbound route with the following pattern 991 for port 1 (EXT1), 992 for port 2&#8230; 998 for port 8<\/p>\n\n\n\n<p>For example, in order to send the call via port 1 on the gateway, you need to dial 991xxxxxxx, where x is the number to dial; if you want to select port 2 you will need to dial 992xxxxxx, and so on.<\/p>\n\n\n\n<p> <strong>Stage 2 method &#8211; <\/strong> <\/p>\n\n\n\n<p>The configuration will be the same as Stage 1 but you will have to configure the following:<\/p>\n\n\n\n<p>1. Channel setting &gt; Local SIP Listen Port &gt; change every single channel UDP<br>2. Setting the round-robin only (rr:1-8) for ch under FXO Lines &gt; Settings &gt; Dialing<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Grandstream Networks GXW410x series is an FXO gateway that converts SIP\/RTP IP calls to traditional PSTN calls and vice versa. FXO gateway is extremely useful&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,6,9],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","hentry","category-gxw","category-how-to","category-sip"],"_links":{"self":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":2,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/217\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/categories?post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/tags?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}