Grandstream GXW4501 Setup

Updated at July 27th, 2024

Prerequisites

SIP Truck credentials.

If this is a brand-new device, please log in and follow the setup wizard for the network settings. All other settings will be set up by following this article. 

 
Set up a SIP trunk on a Grandstream GXW4501 PRI Gateway. This will allow integration of Analog PBX's
 

SIP Trunk Setup
 

  1. Log into the Grandstream GXW4501's webgui. The IP address can be found on the screen of the device itself. 

     
  2. Once logged in, from the left-hand menu, navigate to Trunks -> VoIP Trunks.
     



 Select "Add SIP Trunk" from the top menu. 
 


 

  1. Fill in the required information. 
     

 

  1. Type - Register SIP Trunk
  2.  Provider Name - Enter the desired provider name you wish to use to identify the connection 
  3. Hostname - sip.siplogin.ca 
  4. Keep Original CID - this is your preference on how CID is handled.  
  5. Keep Trunk CID - this is your preference on how CID is handled.  
  6. NAT - This is dependent on how your network is setup. If the PRI is behind a router, it is advised to leave this disabled.  
  7. TEL URI - Leave as Disabled. 
  8. From Domain - the domain name as shown in the portal.  
  9. Transport - Leave at UDP for the default, unless otherwise directed to use TCP by support. 
  10. Need Registration - Enabled. 
  11. Allow Outgoing calls if registration fails - Disabled. 
  12. CallerID Name: Trunk caller ID if using a global caller ID name.  
  13. Username - SIP Username . 
  14. Password - SIP Password.
  15. AuthID - SIP Username. 

    5. Press Save in the top right-hand corner. 
     
  1. You will now be taken back into the VoIP Trunk list. Click Edit on the trunk you just created. 
     

     
  2. Navigate to the Advanced Settings Tab. 
     

     
  3. For codecs, remove all but PCMU, G729 and G722 from the Selected section.

 

  1. Enable Outbound Proxy Support and enter in the outbound proxy of sip.siplogin.ca


 

  1. Set the maximum number of call lines to the number of channels the trunk is subscribed to. 
     
  1. Leave all other settings at their defaults and press save. 
  2. Then, press the apply changes button at the top of the screen to apply the changes. 

 

 Confirm Successful Registration

 

  1. From the left-hand menu, navigate to System Status -> Dashboard. 
     

 

  1. On this page, in the bottom right hand corner there is a section for Trunks. Locate your new trunk and confirm the status is showing as Blue. This indicates it successfully registered to our servers. 


     

Digital Trunk Setup
 

Many of these settings will be dependent on the PBX that is being connected. The following are some suggested values that can be changed as needed to meet your requirements. Support will have limited ability to assist with these settings. 
 
 
  1. From the left-hand menu, navigate to Trunks -> Digital Trunks.
     
     
  2. If you have an existing digital trunk, create a new one. Otherwise, edit the default Digital Trunk (Digital_1)
      
  3. Set the following values. 
     
  • Trunk Name - Can be any desired name, or left at the default value
  •  Port - Enabled 
  • Hide CallerID - Your preference on this setting for how you want to handle caller ID.  
  • Keep Trunk CallerID - Your preference on this setting for how you want to handle caller ID.  
  • CallerID Number - Your Desired Caller ID number 
  • CallerID Name - Your Desired Caller ID Name 
  • DAHDI Out Line Selection - your preference on how calls will flow 
  • Fax Gateway - Disabled

     
  1. Press Save
     

     
  2. Then apply the changes by pressing the apply changes button at the top of the screen. 
     

 

Additional settings are under Gateway Settings -> Interface Settings, which controls the analog connection. 

 

 

Interface Settings

  1. On the GXW45XX Web UI, go to the PBX Settings menu and click on Interface Settings.
     

  1. Ensure that the settings match the legacy PBX. Below is an example that matches a Shoretel System
     

Inbound Routes
 

You will need an inbound route both for the SIP Trunk and the Digital Trunk to account for inbound calls from the PBX to the PRI (outbound calls) and from our Servers to the PRI (Inbound calls)

Digital Trunk Inbound Routes

  1. From the left-hand menu, navigate to Trunks -> Inbound Routes.
     


 

  1. On the right-hand side, from the "Trunks" dropdown, select the Digital Trunk that was created previously. 

 

  1. Click the Add button.

     
  2. Enter the following patterns to allow for 10 and 11-digit inbound from the PRITrunk
    _XXXXXXXXXX and 1XXXXXXXXXX

     
  3. Press save to save the changes. 

 

SIP Trunk Inbound Routes

  1. Follow Steps 1 through 3 of the digital trunk inbound routes. 

     
  2. This time, select the SIP Trunk. 

     
  3. In the pattern options, enter in all DID's that are assigned to your account to allow for inbound calls to those DID's to reach the system. 


If all DID's start with the same NPA or NPANXX, then a wildcard (X) can be used as shown in the example above. 

 

  1. Press the save button to save the changes. 

 

  1. Press Apply Changes to apply all changes. 

Outbound Call Routes
 

An outbound route must be set up to send outbound calls from the PBX to the SIP Trunk. 

Outbound to PSTN
 

This will allow for external calls from the PBX to the SIP trunk connection. 
 
 
  1. From the left-hand menu, navigate to Trunks -> Outbound Routes. 


 

  1. Select the Add button from the new window. 

 

  1. Enter the following details.  

 

  • Calling Rule Name - ToPSTN (but can be any unique identifying name you would like to use)
  •  Pattern - use _XXXXXXXXXX and _1XXXXXXXXXX to allow for 10 and 11 digit dialling to route to the SIP Trunk
  1.  Trunk - Select the SIP Trunk that was setup earlier. 

     4. Press save to save the changes. 


     

Outbound to PRI
 

This will direct calls from the SIP trunk connection to the PBX, essentially handling the inbound calls.
 
 
  1. In the same menu as the previous steps, click Add to add another outbound route. 

 

  1. Enter the following details. 
  • Calling Rule Name—This is just a reference; it is suggested that you use "ToPRI" to identify the route. 
  •  Pattern - enter all DIDs that are assigned to your account. 
  • Trunk - select the PRI trunk that was setup previously. 

     
  1. Press the save button to save the changes. 


 

  1. Press apply to apply all changes. 

 

You can now make inbound and outbound calls from the legacy PBX to and from the SIP Trunk connection. 
 

Please note that the inbound call routes will work for most setups; additional adjustments may be necessary depending on the client's unique setup.

 

 

Was this article helpful?

Print to PDF