This recipe focuses on how to configure Grandstream to function as a peer gateway.
For this recipe we will be using GXW4104 as an example.
Configuring the FortiVoice Unit
|
Before configuring the Grandstream Gateway, you will need to configure the FortiVoice unit
- Go to Trunks > Office Peers > Office Peers.
- Select New.
- Enter your Grandstream information. Enter the IP in the Remote server textbox and leave the authentication settings unchecked.
- Go to Call Routing > Outbound > Outbound.
- Select New.
- Create a new Dialed Number Match. In the example to the right all calls with the prefix “5” are forwarded to the PSTN lines connected to the Grandstream gateway.
- Go to Call Routing > Inbound > Inbound.
- Select New.
- Add inbound call routing rules for incoming calls on the GXW4104 gateway.
- Open the From Trunk dropdown menu and select the gateway (peer office) as the incoming trunk.
|
Adding the GXW4104 gateway as a peer office.
Adding outbound call routing rules for direct outgoing calls.
Adding inbound call routing rules for incoming calls.
Selecting the gateway as the incoming trunk.
|
Configuring the Grandstream GXW4104 Gateway
|
Now that the FortiVoice unit is properly configured, we can move to configuring grandstream.
- Create an account with the FortiVoice IP address as the SIP server.
- Go to Accounts > SIP Settings.
- Disable the SIP registration.
- Add a channel using the account created above.
- Configure the channel settings to unconditionally forward calls from the PSTN to the FortiVoice unit.
- Set the dialing method to 1 stage.
Verify the incoming call from PSTN side to SIP side.
|
Creating an account.
Disabling SIP settings.
|
|
The post Configuring Grandstream to Function as a Peer Gateway appeared first on Fortinet Cookbook.