Fortinet 4.0 MR1 manual Config pbx did, Variables Description Default

Page 50

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

Image 50
Contents FortiGate Voice FortiGate Voice Administration Guide TrademarksContents Configuring extension groups ring groups FortiGate Voice VoIP, PBX, and Pstn CLI ReferenceIntroduction Fortinet products Before you begin How this guide is organizedHow this guide is organized How this guide is organized Document conventions IP addressesOffice 7, one FortiGate with Head Office, second FortiGateBranch Office, one FortiGate VDOMs Office 3, one FortiGate, webExample Network configuration Example network configurationDocument conventions CLI command syntax conventions Typographical conventionsAngle brackets Curly bracesTraining Registering your Fortinet productFortinet products End User License Agreement DocumentationFortinet Knowledge Base Customer service and technical supportFortinet Tools and Documentation CD Comments on Fortinet technical documentationExample FortiGate Voice branch office configuration General configuration steps Example Branch Office network configurationTo configure basic network settings Connecting the FortiGate Voice unitConfiguring basic FortiGate Voice network and UTM settings To connect the FortiGate Voice unitGo to System Network Options Go to Router Static Static RouteAdvanced Go to System Maintenance FortiGuardTo configure basic Internet access and UTM features DNS ServerConfiguring the FortiGate Voice Pstn and PBX settings To configure the fxo1 Pstn interfaceCaller ID Protocol Go to PBX Calling Rules SettingCaller ID Indicator Ring #To add a dial plan for dialing the Pstn and the main office Go to PBX Service Providers SIP TrunkTo add a VoIP provider Phone number Begin with O11 Action Block Use Default Outgoing Prefix SelectedGo to PBX Calling Rules Dial Plan and select Create New Go to PBX Extension Extension and select Create New Configuring the FortiFones on the internal network To configure FortiFones on the internal networkTo add an extension for a SIP phone behind a NAT device 6010 To configure the remote FortiGate unit in NAT mode FortiGate Voice IVR configurationProviding access to the company directory To add a custom welcome messageGo to PBX Calling Rules Voice Menu Adding a shortcut for checking voicemailChecking voicemail Go to PBX Call Voice MenuAdding a shortcut for checking voicemail System resources dashboard widget Dashboard widgetsUnit operation dashboard widget To configure VoIP interface settings Configuring VoIP interface settingsConfiguring Pstn interfaces Basic Options General Pstn interface settingsPstn interface configuration settings PBX configuration Configuring service providersConfiguring extensions VoIP ProviderCreate New General extension settingsExtension configuration settings Dial PlanConfiguring extension groups ring groups Configuring extension groupsConfiguring dial plans Voicemail Extension MemberName Use Default Outgoing Prefix9 General dial plan list settingsDial plan rule configuration settings Go to PBX Calling Rules Dial Plan to add a dial planExample dial plan PrependConfiguring voice menu options To configure voice menu optionsDirect inward dialing configuration settings Configuring direct inward dialingGeneral direct inward dialing settings Name Incoming Extension CommentsConfiguring PBX settings PBX Global SettingsMonitoring calls Voicemail Notification Email SettingsYou must also add a username and password Monitoring SIP Trunk status Logging of PBX activities To configure logging of PBX settings Go to Log&Report Log Config Event Log Viewing log messagesLogging of PBX activities Config pbx dialplan SyntaxConfig pbx did Variables Description DefaultConfig pbx extension Config pbx global Variables Description DefaultConfig pbx ringgrp Config pbx smtp Config pbx voice-menu Config pbx voip-providerUser username Secret passwordEdit providername DomainConfig system pstn Variables Description Config system interfaceExecute pbx Example command output Diagnose pbx restart