Fortinet white logo
Fortinet white logo

FortiVoice Phone System Administration Guide

Configuring office peers

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.
Note

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, 172.20.120.11 or peer.example.com.

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.

  • Not registered: The trunk is not registered with the VoIP service provider and is not in service.
  • In service: The trunk is registered with the VoIP service provider and is in service.
  • Unavailable: The trunk is not reachable.
  • Alarm detected: There is a problem with the phone line.
  • Admin down: The trunk is disabled.
  • Unmonitored: The trunk is unknown.
To set up a site-to-site office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Site to Site.
  4. If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it. For more information, see Configuring FortiVoice options.
  5. Review the basic New office peer information, click Next.
  6. Configure the following:

    GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    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.

    Disabled

    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.

    Directory

    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 the phone directory with an office peer.

    Example 1: You have configured the following deployment:

    • A and B are office peers.

    • A and C are office peers.

    If you want A, B, and C FortiVoice systems to share their phone directories, enter 2 on all three FortiVoice systems.

    Example 2: If your 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.

  7. Click Create.
To set up a remote access office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Remote Access.
  4. Select the role for the office peer: Central or Satellite.
  5. If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it. For more information, see Configuring FortiVoice options.
  6. Review the basic New office peer information, click Next.
  7. Configure the following and click Create.
  8. GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    Peer Configuration

    Central Host/IP

    This option is only available if you choose Satellite as the role of the office peer.

    Enter the domain name or IP address of the primary FortiVoice unit which is your local unit.

    Port

    This option is only available if you choose Satellite 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.

    Directory

    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 the phone directory with an office peer.

    Example 1: You have configured the following deployment:

    • A and B are office peers.

    • A and C are office peers.

    If you want A, B, and C FortiVoice systems to share their phone directories, enter 2 on all three FortiVoice systems.

    Example 2: If your 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 satellite 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 central FortiVoice unit (office peer) to register.

    Proxy

    To connect to the central office peer through a proxy server, do the following:

    • If you have enabled DNS SRV record, enable Proxy and enter the unique hostname of the central 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 central 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 central office peer in the (Host/IP) field. Also select the port number and communication protocol for the central office peer. The DNS server will use the information to look for and provide the IP address of the central office peer.
    • If you know the IP address of the central office peer, enter it in the (Host/IP) field. In this case, you do not need to enable DNS SRV record.

    Registration interval

    Select the time (in seconds) needed for your FortiVoice unit to register to the central office peer until it receives a response.

  9. Click Create
To set up a custom office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Custom.
  4. Review the basic New office peer information, click Next.
  5. Configure the following:

    GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    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.

    Disabled: 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 Central)

    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.

  6. Click Create.

Configuring office peers

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.
Note

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, 172.20.120.11 or peer.example.com.

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.

  • Not registered: The trunk is not registered with the VoIP service provider and is not in service.
  • In service: The trunk is registered with the VoIP service provider and is in service.
  • Unavailable: The trunk is not reachable.
  • Alarm detected: There is a problem with the phone line.
  • Admin down: The trunk is disabled.
  • Unmonitored: The trunk is unknown.
To set up a site-to-site office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Site to Site.
  4. If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it. For more information, see Configuring FortiVoice options.
  5. Review the basic New office peer information, click Next.
  6. Configure the following:

    GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    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.

    Disabled

    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.

    Directory

    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 the phone directory with an office peer.

    Example 1: You have configured the following deployment:

    • A and B are office peers.

    • A and C are office peers.

    If you want A, B, and C FortiVoice systems to share their phone directories, enter 2 on all three FortiVoice systems.

    Example 2: If your 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.

  7. Click Create.
To set up a remote access office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Remote Access.
  4. Select the role for the office peer: Central or Satellite.
  5. If you want to change your local number pattern, click the Edit icon beside Local/incoming digit pattern to modify it. For more information, see Configuring FortiVoice options.
  6. Review the basic New office peer information, click Next.
  7. Configure the following and click Create.
  8. GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    Peer Configuration

    Central Host/IP

    This option is only available if you choose Satellite as the role of the office peer.

    Enter the domain name or IP address of the primary FortiVoice unit which is your local unit.

    Port

    This option is only available if you choose Satellite 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.

    Directory

    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 the phone directory with an office peer.

    Example 1: You have configured the following deployment:

    • A and B are office peers.

    • A and C are office peers.

    If you want A, B, and C FortiVoice systems to share their phone directories, enter 2 on all three FortiVoice systems.

    Example 2: If your 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 satellite 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 central FortiVoice unit (office peer) to register.

    Proxy

    To connect to the central office peer through a proxy server, do the following:

    • If you have enabled DNS SRV record, enable Proxy and enter the unique hostname of the central 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 central 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 central office peer in the (Host/IP) field. Also select the port number and communication protocol for the central office peer. The DNS server will use the information to look for and provide the IP address of the central office peer.
    • If you know the IP address of the central office peer, enter it in the (Host/IP) field. In this case, you do not need to enable DNS SRV record.

    Registration interval

    Select the time (in seconds) needed for your FortiVoice unit to register to the central office peer until it receives a response.

  9. Click Create
To set up a custom office peer
  1. Go to Trunk > Office Peer > Office Peer.
  2. Click New.
  3. Under Office peer type, click Custom.
  4. Review the basic New office peer information, click Next.
  5. Configure the following:

    GUI field

    Description

    Enabled

    Select to activate the trunk.

    Name

    Enter a name for the trunk.

    Display name

    Enter the name displaying on the extension.

    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.

    Disabled: 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 Central)

    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.

  6. Click Create.