Fortinet Technologies Inc. Page 30 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
extension <string> If you select dial-extension or dial voicemail
for action, enter the extension number.
auto-attendant <name> If you select auto-attendant for action, enter the
auto attendant name.
announcement <name> If you select play-announcement for action, enter
the name of a sound profile.
schedule <name> Enter the FortiVoice operation schedule for the action.
<dial-pattern> This action is available if dial-pattern is selected for
<endpoint-action>.
pattern <string> Enter the number pattern for this dial plan.
For information on pattern-matching syntax and pattern-
matching examples, see “pbx number-management” on
page 57.
postfix <string> Add a number after a pattern.
For example, if your pattern is 9XXX and the numbers
under this pattern have been upgraded to have an
additional digit 5 at the end, you can enter 5 for the
Postfix. When an incoming call matches the pattern,
the FortiVoice unit will add a 5 after the number.
prefix <string> Add a number before a pattern.
For example, if your pattern is 9XXX and the numbers
under this pattern have been upgraded to have an
additional digit 5 at the beginning, you can enter 5 for the
Prefix. When an incoming call matches the pattern, the
FortiVoice unit will add a 5 before the number.
strip-digits <integer> Enter a number to omit dialing the starting part of a
pattern. 0 means no action.
For example, if your pattern is 222XXXX and Strip-
digits is 3, the FortiVoice unit will only dial the last four
digits for all called numbers matching the pattern.
0
call-handling {call-
routing | dial-local -
number | endpoint-
action}
Select the type of action for the plan and configure the
actions accordingly.
• Call routing: Select if you want to route incoming calls
(to the FortiVoice unit) to an external phone system
using an outbound dial plan.
• Dial local number: Select if you want to send
incoming calls to the local destinations at any time.
For example, you can enter 222xxxx as a pattern and
strip 222. The FortiVoice unit will only dial the last four
digits for all called numbers matching the pattern.
• Endpoint action: Select if you want to send incoming
calls to the local destinations according to operation
schedules. For example, send calls to the voicemail
after business hours.
endpoint-
action
from-trunk <name> Enter the trunk for the incoming calls that are subject to
this dial plan.
Variable Description Default