Configuring office peers
If you have offices equipped with VoIP network, you can set up office peer trunks so that offices can call each other as if they are local extensions.
You can set up three types of peer offices:
- Site to site: The office peer uses a FortiVoice unit and is in an equal position with your FortiVoice unit, rather than a primary/secondary relationship.
- Remote access: The office peer uses a FortiVoice unit and is in a primary/secondary relationship with your FortiVoice unit.
- Custom: The office peer uses a third party PBX.
For the office peers to call each other, make sure that your FortiVoice unit and the peer office PBX are mutually registered with each other’s IP address and SIP port number. |
To view the list of office peer trunks, go to Trunk > Office Peer > Office Peer.
GUI field |
Description |
---|---|
Fetch Office Directory |
Select a trunk and click this button to obtain the phone directory from this office peer. This option only works if the PBX of the remote office is a FortiVoice unit and Fetch directory (see Directory) is selected on the remote unit. You can view the directory by going to Monitor > Directory and selecting this office in the Locations field. For more information, see Viewing call directory. |
Enabled |
Select to activate this trunk. |
Name |
The name of the office peer. |
Display name |
Enter the name displaying on the extension. |
Type |
The type of the trunk. |
Server |
The domain name or IP address of the remote office’s PBX. For example, |
Port |
The port number for VoIP network on the remote office’s PBX. |
SIP Setting |
The SIP profile applied to this trunk. |
Status |
The status of the SIP trunk.
|
To set up a site to site office peer
- Go to Trunk > Office Peer > Office Peer.
- Click New.
- Under Office peer type, click Site to Site.
- If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it.
- Review the basic New office peer information, click Next.
- Configure the following:
GUI field
Description
Name
Enter a name for the trunk.
Display name
Enter the name displaying on the extension.
Enable
Select to activate the trunk.
Peer Configuration
Remote Host/IP
Enter the domain name or IP address of the office peer’s FortiVoice unit.
Port
Enter the port number for VoIP network on the office peer’s FortiVoice unit.
Authentication
Optionally, you may configure to authenticate the peer.
Disable
If you do not need authentication for the office peer, select this option to disable it.
Symmetric
If you want to authenticate the FortiVoice units forming the office peer trunk., enter the User name and Password. These settings must be the same on both units.
The FortiVoice unit on each end will use the settings to authenticate each other.
Asymmetric
If you want to authenticate incoming and outgoing calls, enter the Inbound user name, Outbound user name, and Password. These settings must be the same on both FortiVoice units forming the office peer trunk.
The unit on each end will use the settings to authenticate incoming and outgoing calls.
Outgoing digit pattern
Click the Edit icon if you want to modify the digit pattern of the outgoing dial plan for the local and peer offices.
Advanced
Local/incoming digit pattern
Click the Edit icon if you want to modify digit pattern of the local/incoming dial plan for the local and peer offices.
Call routing
Select the call routing plan as required.
Select this option and click Fetch now to obtain the phone directory from this office peer.
This option only works if the same option is selected on the office peer's FortiVoice unit.
You can view the directory by going to Monitor > Directory and selecting this office in the Office field. For more information, see Viewing call directory.
Share metric
Enter the hop count value for this FortiVoice unit to share phone directory with an office peer.
For example, if you enter 1, the directory can only be shared with the first peer office site designated on the routing table of this FortiVoice unit.
SIP settings
Select the SIP profile for the trunk. You can edit the existing profile or click New to add a new one. For more information, see Configuring SIP profiles.
Max channel
Enter the maximum voice channels for the trunk.
This field accepts value in the range of 1-450 inclusive.
- Click Create.
To set up a remote access office peer
- Go to Trunk > Office Peer > Office Peer.
- Click New.
- Under Office peer type, click Remote Access.
- Select the role for the office peer: Master or Slave.
- If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it.
- Review the basic New office peer information, click Next.
- Configure the following:
- If you have enabled DNS SRV record, enable Proxy and enter the unique hostname of the master office peer in the (Host/IP) field. The DNS SRV record will use the information to look for and provide the IP address and port number of the master office peer.
- If you do not want to use the DNS SRV record service and therefore did not enable it, enable Proxy and enter the unique hostname of the master office peer in the (Host/IP) field. Also select the port number and communication protocol for the master office peer. The DNS server will use the information to look for and provide the IP address of the master office peer.
- If you know the IP address of the master office peer, enter it in the (Host/IP) field. In this case, you do not need to enable DNS SRV record.
- Click Create.
In a remote access office peer configuration, the salve peer registers to the master. |
GUI field |
|
|
Description |
---|---|---|---|
|
Name |
Enter a name for the trunk. |
|
|
Display name |
Enter the name displaying on the extension. |
|
|
Enable |
Select to activate the trunk. |
|
Peer Configuration |
|
||
|
Master Host/IP
|
This option is only available if you choose slave as the role of the office peer. Enter the domain name or IP address of the primary FortiVoice unit which is your office peer. |
|
|
Port |
This option is only available if you choose slave as the role of the office peer. Enter the port number for VoIP network on the primary FortiVoice unit. |
|
|
User name
|
To authenticate the FortiVoice units forming the office peer trunk., enter the User name . This name must be the same on both units. The FortiVoice unit on each end will use this user name to authenticate each other. |
|
|
Password |
To authenticate the FortiVoice units forming the office peer trunk., enter the Password. This password must be the same on both units. The FortiVoice unit on each end will use this password to authenticate each other. |
|
|
Outgoing digit pattern |
Click the Edit icon if you want to modify the digit pattern of the outgoing dial plan for the local and peer offices. |
|
|
Advanced |
|
|
|
|
Local/incoming digit pattern |
Click the Edit icon if you want to modify digit pattern of the local/incoming dial plan for the local and peer offices. |
|
|
Call routing |
Select the call routing plan as required. |
|
|
Select this option and click Fetch now to obtain the phone directory from this office peer. This option only works if the same option is selected on the office peer's FortiVoice unit. You can view the directory by going to Monitor > Directory and selecting this office in the Office field. For more information, see Viewing call directory. |
|
|
|
Share metric |
Enter the hop count value for this FortiVoice unit to share phone directory with a peer office. For example, if you enter 1, the directory can only be shared with the first peer office site designated on the routing table of this FortiVoice unit. |
|
|
SIP settings |
Select the SIP profile for the trunk. You can edit the existing profile or click New to add a new one. For more information, see Configuring SIP profiles. |
|
|
Max channel |
Enter the maximum voice channels for the trunk. This field accepts value in the range of 1-450 inclusive. |
|
More |
|
This option is only available if you choose slave as the role of the office peer. This feature is used for remote access office peer connection through a proxy server, such as the case in a FortiVoice Cloud deployment. |
|
|
DNS SRV record |
The DNS service (SRV) record provides host and port information for specific services such as voice over IP (VoIP). SIP needs to connect to a specific port on a specific server. Enable this option to allow the FortiVoice unit to query the DNS SRV record for the IP address and port number of the master FortiVoice unit (office peer) to register. |
|
|
Proxy |
To connect to the master office peer through a proxy server, do the following: |
|
|
Registration interval |
Select the time (in seconds) needed for your FortiVoice unit to register to the master office peer until it receives a response. |
To set up a custom office peer
- Go to Trunk > Office Peer > Office Peer.
- Click New.
- Under Office peer type, click Custom.
- Review the basic New office peer information, click Next.
- Configure the following:
GUI field
Description
Name
Enter a name for the trunk.
Display name
Enter the name displaying on the extension.
Enable
Select to activate the trunk.
Peer Configuration
Connection (Site to Site)
Host/IP
Enter the domain name or IP address of the office peer’s PBX.
Port
Enter the port number for VoIP network on the office peer’s PBX.
Authentication
Optionally, you may configure to authenticate the peer.
Disable: If you do not need authentication for the office peer, select this option to disable it.
Symmetric: If you want to authenticate the PBXes forming the office peer trunk, enter the User name and Password. These settings must be the same on both PBXes.
The PBX on each end will use the settings to authenticate each other.
Asymmetric: If you want to authenticate incoming and outgoing calls, enter the Inbound user name, Outbound user name, and Password. These settings must be the same on both PBXes forming the office peer trunk.
The PBX on each end will use the settings to authenticate incoming and outgoing calls.
Connection (Remote Access Master)
User name
To authenticate the PBXes forming the office peer trunk, enter the User name . This name must be the same on both PBXes.
The PBX on each end will use this user name to authenticate each other.
Password
To authenticate the PBXes forming the office peer trunk, enter the Password. This password must be the same on both PBXes.
The PBX on each end will use this password to authenticate each other.
Advanced
Call routing
Create outgoing and incoming dial plans for the local and peer offices. For more information, see Configuring Call Routing.
SIP settings
Select the SIP profile for the trunk. You can edit the existing profile or click New to add a new one. For more information, see Configuring SIP profiles.
Max channel
Enter the maximum voice channels for the trunk.
This field accepts value in the range of 1-450 inclusive.
- Click Create.