Fortinet white logo
Fortinet white logo

Adding an FXS gateway to FortiVoice Cloud

Adding an FXS gateway to FortiVoice Cloud

Perform this procedure to add an FXS gateway to FortiVoice Cloud in cases such as in the following examples:

  • You are preconfiguring FortiVoice Cloud before deploying the FXS gateway.
  • You are setting up FortiVoice Cloud and locating the FXS gateway on the Internet.

This procedure requires the access to the GUI of the PRI gateway. For details, see the Logging in to the FortiVoice Gateway GUI section of the FortiVoice Cloud Gateway Administration Guide.

Procedure steps

  1. Connect to the GUI of the FXS gateway that you want to add to FortiVoice Cloud.
  2. Go to Dashboard > Status > Managed Device.
  3. For details, see the Managed Device widget section of the FortiVoice Cloud Gateway Administration Guide.

  4. Make sure Status shows Unmanaged. You can only generate a device code for a unmanaged gateway in Cloud Mode.
  5. If it is in Managed status and you want to disconnect the gateway from FortiVoice Cloud and add it back, click Reset to set it to Unmanaged.

  6. Enable Cloud Mode.
  7. Click to copy the Device Code.
  8. If you need a new code, click Regenerate.

  9. If the Cloud tunnel connection status shows Failed, click Restart Connection.
  10. The gateway and the tunnel server must be connected because FortiVoice Cloud fetches the gateway information from the tunnel server using the device code.

  11. Connect to the GUI of FortiVoice Cloud.
  12. For more information, see the Logging in to the FortiVoice admin portal section of the FortiVoice Cloud Advanced Administration Guide.

  13. Go to Managed System > Gateway, and then click the FXS Gateway tab.
  14. Click New.
  15. Configure the following settings:

    GUI field

    Description

    Enabled

    Select to activate the configuration of the FXS gateway.

    Device Code

    Paste the device code that you copied from the FXS gateway GUI into the field and click Fetch Device Information. This enables FortiVoice Cloud to connect to and manage the gateway.

    Name

    Enter a unique name to identify the FXS gateway.

    Display name

    Not required. You can leave this field empty.

    Serial number

    The serial number of the FXS gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    Type

    The type of gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    MAC address

    The MAC address of the FXS gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    Description

    Optionally, add any applicable notes for this FXS gateway.

  16. Click Create.

    FortiVoice Cloud creates the default managed extensions for your first FXS gateway. Taking GS16 as an example, FortiVoice Cloud creates 16 default managed extensions from 7801 to 7816 for your first FXS gateway. With any subsequent FXS gateway addition, FortiVoice Cloud continues to add a range of 16 extensions to the existing managed extension list. For example, FortiVoice Cloud adds extensions 7817 to 7832 for the second FXS gateway.

    If FortiVoice Cloud already has an extension that is included in the range of default managed extensions to be created, the numbering of new extensions will account for the existing extension. For example, FortiVoice Cloud has extension 7812. With the addition of the first FXS gateway GS16, FortiVoice Cloud would create 16 managed extensions from 7801 to 7817 (not 7816).

    To access the extension list, go to Extension > Extension, and then click Managed Extension.

  17. Go to Applying the FXS gateway configuration.

Adding an FXS gateway to FortiVoice Cloud

Adding an FXS gateway to FortiVoice Cloud

Perform this procedure to add an FXS gateway to FortiVoice Cloud in cases such as in the following examples:

  • You are preconfiguring FortiVoice Cloud before deploying the FXS gateway.
  • You are setting up FortiVoice Cloud and locating the FXS gateway on the Internet.

This procedure requires the access to the GUI of the PRI gateway. For details, see the Logging in to the FortiVoice Gateway GUI section of the FortiVoice Cloud Gateway Administration Guide.

Procedure steps

  1. Connect to the GUI of the FXS gateway that you want to add to FortiVoice Cloud.
  2. Go to Dashboard > Status > Managed Device.
  3. For details, see the Managed Device widget section of the FortiVoice Cloud Gateway Administration Guide.

  4. Make sure Status shows Unmanaged. You can only generate a device code for a unmanaged gateway in Cloud Mode.
  5. If it is in Managed status and you want to disconnect the gateway from FortiVoice Cloud and add it back, click Reset to set it to Unmanaged.

  6. Enable Cloud Mode.
  7. Click to copy the Device Code.
  8. If you need a new code, click Regenerate.

  9. If the Cloud tunnel connection status shows Failed, click Restart Connection.
  10. The gateway and the tunnel server must be connected because FortiVoice Cloud fetches the gateway information from the tunnel server using the device code.

  11. Connect to the GUI of FortiVoice Cloud.
  12. For more information, see the Logging in to the FortiVoice admin portal section of the FortiVoice Cloud Advanced Administration Guide.

  13. Go to Managed System > Gateway, and then click the FXS Gateway tab.
  14. Click New.
  15. Configure the following settings:

    GUI field

    Description

    Enabled

    Select to activate the configuration of the FXS gateway.

    Device Code

    Paste the device code that you copied from the FXS gateway GUI into the field and click Fetch Device Information. This enables FortiVoice Cloud to connect to and manage the gateway.

    Name

    Enter a unique name to identify the FXS gateway.

    Display name

    Not required. You can leave this field empty.

    Serial number

    The serial number of the FXS gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    Type

    The type of gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    MAC address

    The MAC address of the FXS gateway that you are adding to FortiVoice Cloud.

    This is auto-populated and read-only after FortiVoice Cloud connects to the gateway by clicking Fetch Device Information in the Device Code field.

    Description

    Optionally, add any applicable notes for this FXS gateway.

  16. Click Create.

    FortiVoice Cloud creates the default managed extensions for your first FXS gateway. Taking GS16 as an example, FortiVoice Cloud creates 16 default managed extensions from 7801 to 7816 for your first FXS gateway. With any subsequent FXS gateway addition, FortiVoice Cloud continues to add a range of 16 extensions to the existing managed extension list. For example, FortiVoice Cloud adds extensions 7817 to 7832 for the second FXS gateway.

    If FortiVoice Cloud already has an extension that is included in the range of default managed extensions to be created, the numbering of new extensions will account for the existing extension. For example, FortiVoice Cloud has extension 7812. With the addition of the first FXS gateway GS16, FortiVoice Cloud would create 16 managed extensions from 7801 to 7817 (not 7816).

    To access the extension list, go to Extension > Extension, and then click Managed Extension.

  17. Go to Applying the FXS gateway configuration.