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 PBX options.
  5. Review the basic New office peer information, click Next.
  6. 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.

    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

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

  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: Master or Slave.
  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 PBX options.
  6. Review the basic New office peer information, click Next.
  7. Configure the following and click Create.
  8. 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 local unit.

    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.

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

  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:
  6. 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.

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

  7. 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 PBX options.
  5. Review the basic New office peer information, click Next.
  6. 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.

    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

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

  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: Master or Slave.
  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 PBX options.
  6. Review the basic New office peer information, click Next.
  7. Configure the following and click Create.
  8. 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 local unit.

    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.

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

  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:
  6. 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.

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

  7. Click Create.