config pbx did

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

Variables

Description

Default

 

 

 

edit

Enter the name for the dial plan. If you entering an existing

No

<pbx_dialplan_name>

dial plan, select Tab to get to the dial plan that you want to

default

 

edit.

 

comments

Optionally enter a description of the dial plan.

No

<comment_string>

 

default

config rule

Configure a new dial plan rule.

No

 

 

default

edit <rule_name_str>

Enter the name of the dial plan rule to configure.

No

 

 

default

action {allow

Set the action to allow if this dial plan rule should allow a

No

block}

call. Set the action to block if the dial plan should block a

default

call. For example, if you want to block international calls

 

 

you could set the Phone Number begin with to 011 and set

 

 

the action to block.

 

 

 

 

callthrough {fxo1

Select one or more destinations that the dial plan rule

No

fxo2 fxo3 fx04

sends outgoing calls to. fxo1, fxo2, fxo3, and fx04 are

default

<voip_providers>}

the 4 PSTN interfaces. <voip_providers> are the VoIP

 

providers added to the FortiGate Voice. A dial plan rule

 

 

can send calls to one or more destinations.

 

 

 

 

outgoing-prefix

If you set use-global-outgoing-prefix to no you

null

<pattern_str>

can enter a different outgoing prefix for this dial plan.

 

phone-no-beginwith

Enter the leading digits of the phone number that this dial

null

<patern_str>

plan rule should match with. For example, a dial plan rule

 

for toll free numbers in North America should begin with

 

 

18. The FortiGate Voice uses a best match to match a

 

 

dialed number with a dial plan. So each dial plan should

 

 

have a different Phone number Begin with setting. But you

 

 

should plan your dial plan to make sure that unexpected

 

 

matches do not occur.

 

 

 

 

prepend

Add digits that should be prepended or added to the

null

<pattern_str>

beginning of the dialed number before the call is

 

forwarded to its destination. You can prepend digits at the

 

 

beginning of a call of special dialing is required to reach

 

 

and external phone system.

 

 

 

 

use-global-

Select yes if the dial plan rule should use the default

yes

outgoing-prefix {no

outgoing prefix (usually 9). Select no to add a different

 

yes}

outgoing-prefix.

 

 

 

config pbx did

Use this command to configure Direct Inward Dialing (DID). DID allows calls from external phone systems to dial directly to extensions added to the FortiGate Voice unit.

Syntax

config pbx did

edit <pbx_did_name>

set external-line {fxo1 fxo2 fxo3 fx04 <voip_providers>}

set cid-number <phone_number> set extension <extension_number> set comment <comment_string>

end

FortiGate Voice Version 4.0 MR1 Administration Guide

5001-410-112851-20100601http://docs.fortinet.com/ Feedback

Page 50
Image 50
Fortinet 4.0 MR1 manual Config pbx did, Variables Description Default