Fortinet white logo
Fortinet white logo

FortiVoice Phone System Administration Guide

Configuring direct inward dialing

Configuring direct inward dialing

The Call Routing > Inbound > DID Mapping submenu lets you configure how to map Direct Inward Dialing (DID) numbers.

Local phone companies offer DID service to provide a block of telephone numbers for calling into a company’s PBX system over limited rented physical lines (also called “trunk lines”). The phone numbers you rent may not be enough to provide a DID number for each workstation, because each DID can only be mapped to one extension. With the FortiVoice unit, you have 2 options to address this issue:

  • Only map the DID numbers to the extensions you want.
  • Map a DID number to one or more extensions based on the callers’ phone numbers.

For more information, see Mapping DIDs.

To configure a DID

  1. Go to Call Routing > Inbound > DID Mapping.
  2. Click New.
  3. Configure the following:

GUI field

Description

Rule name

Enter a name for this DID setting.

Enable

Select to activate this DID setting.

Trunk

Select the trunk used for dialing the DIDs.

Schedule

Select a schedule to apply the rule. For information on creating schedules, see Scheduling the FortiVoice unit.

Caller ID Match

Click New to set the caller ID pattern following Pattern-matching syntax and Pattern-matching examples for this dial plan, and click Create.

You can enter an incoming call’s display name string or the caller’s phone number string as the pattern.

Click Export to open or save the caller ID match file and Import to browse for a caller ID match file.

Caller IDs under this pattern are subject to this plan.

Inbound Handling

Inbound caller ID modification

Select the caller ID modification configuration. For more information on caller ID modification, see Modifying caller IDs.

Inbound fallback action

Select the action to take if a caller not in the caller list dialed the DID number mapped to an extension.

For some actions, you need to enter the extension, such as Dial voicemail.

For information on filtering callers, see Mapping DIDs.

Number Mapping

For adding a number mapping, see Mapping DIDs.

Click Export to open or save the number mapping file and Import to browse for a number mapping file.

Mapping DIDs

You can map a DID number to one extension. You can also map a DID to multiple extensions based on the callers’ phone numbers. For example, calling numbers 123-4567, 123-4568, and 123-4569 can call the DID number 222-1000 to reach extension 1234. Calling numbers 234-4567, 234-4568, and 234-4569 can call the same DID number 222-1000 to reach extension 1265. In both cases, the calling numbers will display on the extension.

If a caller outside the configured caller list dialed the mapped DID number, the FortiVoice unit will react according to the selected fall back action. For details, see Inbound fallback action.

To map DIDs

  1. Go to Call Routing > Inbound > DID Mapping.
  2. Click New.
  3. In Number Mapping, click New.
  4. Configure the following:

    GUI field

    Description

    DID number

    Enter the DID number that you want to map to an extension. The DID number cannot be mapped to more than one extension unless the DID is bundled with a caller number. Otherwise, an error message about duplicate entry appears and the DID mapping configuration cannot be saved.

    Extension

    Enter the extension that you want to map to the DID number.

    Description

    Enter any notes you have for the mapping.

    Option

    Select Inbound to direct incoming calls to the extension through the mapped DID. If this option is not selected, incoming calls to this extension through the mapped DID will follow the inbound fallback action configured in Inbound fallback action. By default, this option is selected.

    Select Outbound to send the DID numbers of the extensions mapped to the DID with outgoing calls so that the DID numbers can display on the called phones. If this option is not selected, the extension’s DID number is not sent with outgoing calls and the phone number displayed on the called phone could be the FortiVoice main number (see Main number) or the trunk phone number (see Phone Number) associated with the extension. Alternatively, you can choose the caller ID to display on the called phone when configuring an extension.

    By default, both Inbound and Outbound are selected.

    Caller Number Patterns

    This option allows you to bundle caller number patterns to a DID number which can be mapped to any extension.

    Enter the caller’s phone pattern field and click Create.

    Click the + icon to add more calling numbers patterns.

    Only the caller numbers matching the patterns you set will reach the mapped extension when they dial the DID number.

    For information on phone number patterns, see Pattern-matching syntax and Pattern-matching examples.

  5. Click Create.

Configuring direct inward dialing

Configuring direct inward dialing

The Call Routing > Inbound > DID Mapping submenu lets you configure how to map Direct Inward Dialing (DID) numbers.

Local phone companies offer DID service to provide a block of telephone numbers for calling into a company’s PBX system over limited rented physical lines (also called “trunk lines”). The phone numbers you rent may not be enough to provide a DID number for each workstation, because each DID can only be mapped to one extension. With the FortiVoice unit, you have 2 options to address this issue:

  • Only map the DID numbers to the extensions you want.
  • Map a DID number to one or more extensions based on the callers’ phone numbers.

For more information, see Mapping DIDs.

To configure a DID

  1. Go to Call Routing > Inbound > DID Mapping.
  2. Click New.
  3. Configure the following:

GUI field

Description

Rule name

Enter a name for this DID setting.

Enable

Select to activate this DID setting.

Trunk

Select the trunk used for dialing the DIDs.

Schedule

Select a schedule to apply the rule. For information on creating schedules, see Scheduling the FortiVoice unit.

Caller ID Match

Click New to set the caller ID pattern following Pattern-matching syntax and Pattern-matching examples for this dial plan, and click Create.

You can enter an incoming call’s display name string or the caller’s phone number string as the pattern.

Click Export to open or save the caller ID match file and Import to browse for a caller ID match file.

Caller IDs under this pattern are subject to this plan.

Inbound Handling

Inbound caller ID modification

Select the caller ID modification configuration. For more information on caller ID modification, see Modifying caller IDs.

Inbound fallback action

Select the action to take if a caller not in the caller list dialed the DID number mapped to an extension.

For some actions, you need to enter the extension, such as Dial voicemail.

For information on filtering callers, see Mapping DIDs.

Number Mapping

For adding a number mapping, see Mapping DIDs.

Click Export to open or save the number mapping file and Import to browse for a number mapping file.

Mapping DIDs

You can map a DID number to one extension. You can also map a DID to multiple extensions based on the callers’ phone numbers. For example, calling numbers 123-4567, 123-4568, and 123-4569 can call the DID number 222-1000 to reach extension 1234. Calling numbers 234-4567, 234-4568, and 234-4569 can call the same DID number 222-1000 to reach extension 1265. In both cases, the calling numbers will display on the extension.

If a caller outside the configured caller list dialed the mapped DID number, the FortiVoice unit will react according to the selected fall back action. For details, see Inbound fallback action.

To map DIDs

  1. Go to Call Routing > Inbound > DID Mapping.
  2. Click New.
  3. In Number Mapping, click New.
  4. Configure the following:

    GUI field

    Description

    DID number

    Enter the DID number that you want to map to an extension. The DID number cannot be mapped to more than one extension unless the DID is bundled with a caller number. Otherwise, an error message about duplicate entry appears and the DID mapping configuration cannot be saved.

    Extension

    Enter the extension that you want to map to the DID number.

    Description

    Enter any notes you have for the mapping.

    Option

    Select Inbound to direct incoming calls to the extension through the mapped DID. If this option is not selected, incoming calls to this extension through the mapped DID will follow the inbound fallback action configured in Inbound fallback action. By default, this option is selected.

    Select Outbound to send the DID numbers of the extensions mapped to the DID with outgoing calls so that the DID numbers can display on the called phones. If this option is not selected, the extension’s DID number is not sent with outgoing calls and the phone number displayed on the called phone could be the FortiVoice main number (see Main number) or the trunk phone number (see Phone Number) associated with the extension. Alternatively, you can choose the caller ID to display on the called phone when configuring an extension.

    By default, both Inbound and Outbound are selected.

    Caller Number Patterns

    This option allows you to bundle caller number patterns to a DID number which can be mapped to any extension.

    Enter the caller’s phone pattern field and click Create.

    Click the + icon to add more calling numbers patterns.

    Only the caller numbers matching the patterns you set will reach the mapped extension when they dial the DID number.

    For information on phone number patterns, see Pattern-matching syntax and Pattern-matching examples.

  5. Click Create.