Config pbx did, Syntax, Edit <pbx_dialplan_name – Fortinet FortiGate Voice 4.0 MR1 User Manual

Page 50: Comments <comment_string, Config rule, Edit <rule_name_str, Action {allow | block, Callthrough {fxo1 | fxo2 | fxo3 | fx04, Voip_providers, Outgoing-prefix <pattern_str

Advertising
background image

config pbx did

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

FortiGate Voice Version 4.0 MR1 Administration Guide

50

01-410-112851-20100601

http://docs.fortinet.com/

Feedback

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

Variables

Description

Default

edit
<pbx_dialplan_name>

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

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

edit.

No

default

comments
<comment_string>

Optionally enter a description of the dial plan.

No

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 |
block}

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

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

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.

No

default

callthrough {fxo1 |
fxo2 | fxo3 | fx04 |
<voip_providers>}

Select one or more destinations that the dial plan rule

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

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.

No

default

outgoing-prefix
<pattern_str>

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

can enter a different outgoing prefix for this dial plan.

null

phone-no-beginwith
<patern_str>

Enter the leading digits of the phone number that this dial

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.

null

prepend
<pattern_str>

Add digits that should be prepended or added to the

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.

null

use-global-
outgoing-prefix {no
| yes}

Select yes if the dial plan rule should use the default

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

outgoing-prefix.

yes

Advertising