Configuring GrandStream GXW-4104 Gateway for 3CX Phone System
IMPORTANT This gateway was tested with the following firmware version (latest stable as at 05/01/08) Program-- 1.0.1.2 Loader-- 1.0.0.7 Boot-- 1.0.1.1
Follow these steps to set up a GrandStream GXW-4104 gateway for 3CX Phone System:
- Ensure that you have created the PSTN lines in 3CX Phone System first. Take note of the Authentication ID field and the Authentication password that you have entered for each line connected to the VOIP Gateway.
- Connect the GrandStream GXW-4104 gateway to the network and mains power supply. The device will boot up, using its factory-configured default IP address 192.168.0.160.
- Now point your browser to the gateway’s configuration site: http://192.168.0.160.
- Enter the password of the device and click ‘OK’ to access the gateway’s configuration. The default password is “admin”.

Profile 1 Settings
-
Once the page loads click on the “Profile 1” tab at the top of the page:
a. Set the “SIP Server” field to the IP Address or FQDN of the server on which 3CX Phone System is installed.
b. Set the “SIP Registration” field to “yes”.
c. Click the “Update” button at the bottom of the page.

Channel Settings
-
Click on the “Channels” tab at the top of the page. In the “Phone Number Settings” table, the rows represent the 4 PSTN lines connected to the gateway. Configure each line as follows:
a. The “Channel(s)” field should contain the order number for the line. Normally 1 for the first enabled line, 2 for the second enabled line, and so on.
b. The “SIP User ID” field should match the Internal Line Number field of the line created for this PSTN line in the 3CX Phone System Management Console.
c. In the “Authenticate ID” and “Authentication Password” fields enter the ID and Password that you entered for the line in the 3CX Phone System Management Console. These fields must match the ID and password set for that line in the 3CX Phone System Management Console.
d. Click the “Update” button at the bottom of the page.

FXO Lines Settings
-
Click on the “FXO Lines” tab at the top of the page. Configure this page as follows:
a. Set the “Stage Method” field to “ch1-4:1;”
b. Set the "Unconditional Call Forward to VOIP" field to: "ch1-4:yyyyy+;" where yyyyy is the SIP User ID for the first line defined in the "Channels" page.
c. Click the “Update” button at the bottom of the page.
-
Click on the “Reboot” button to restart the device.
-
After the gateway has restarted, switch to the 3CX Phone System Management Console, and click on Phone System -> ‘Line Status’ (This is the default page). In the section ‘External Lines’, the PSTN lines connected to the VoIP Gateway should be listed with a green status light.
Enabling FAX on the GrandStream GXW-4104 Gateway
To enable FAX on the GXW4104 T.38 settings must be enabled for the appropriate FXO channels.
- Point your browser to the gateway’s configuration site: http://192.168.0.160. (if you are still using the default IP).
-
Enter the password of the device and click ‘OK’ to access the gateway’s configuration. The default password is “admin”.
- Click on the “FXO Lines” tab.
- Confirm that “T.38 Setting” is enabled to relay on all channels. The settings for GXW4104 should be: “ch1-4:mode=1,rate=9600,ecm=1;” here channels 1 to 4 are set to mode 1 (Relay as opposed to pass-through using PCMU), the baud rate is left at the default 9600. ECM is left to the default 1 which means that error correction is enabled.
- If any changes have been submitted click “Update” to apply.
NOTE: The same procedure would apply on an 8 port GXW4108 with the exception that all 8 channels would be set to mode 1. The settings for this would be “ch1-8:mode=1,rate=9600,ecm=1;”
VOIP Gateway Configuration Guides 
|