Fortinet 4.0 MR1 manual Config pbx dialplan, Syntax

Page 49

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

config pbx dialplan

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

This section describes FortiGate Voice VoIP, PBX, and PSTN configuration settings. PSTN interfaces are not available on all FortiGate Voice models. For information about other FortiGate Voice CLI commands see the FortiGate CLI Reference.

This section describes:

config pbx dialplan

config pbx did

config pbx extension

config pbx global

config pbx ringgrp

config pbx smtp

config pbx voice-menu

config pbx voip-provider

config system pstn

config system interface

execute pbx

diagnose pbx restart

config pbx dialplan

Use this command to add a dial plan and add rules to the dial plan. A dial plan rule indicates an outgoing destination to send calls to. You can add multiple rules to a dial plan. You add dial plans to extensions to control how to handle outgoing calls from the extension.

Syntax

config pbx dialplan

edit <pbx_dialplan_name>

set comments <comment_string> config rule

edit <rule_name_str>

set action {allow block}

set callthrough {fxo1 fxo2 fxo3 fx04 <voip_providers>}

set outgoing-prefix <pattern_str> set phone-no-beginwith <patern_str> set prepend <pattern_str>

set use-global-outgoing-prefix {no yes} end

end

FortiGate Voice Version 4.0 MR1 Administration Guide

01-410-112851-2010060149 http://docs.fortinet.com/ Feedback

Image 49
Contents FortiGate Voice Trademarks FortiGate Voice Administration GuideContents FortiGate Voice VoIP, PBX, and Pstn CLI Reference Configuring extension groups ring groupsIntroduction How this guide is organized Fortinet products Before you beginHow this guide is organized How this guide is organized IP addresses Document conventionsBranch Office, one FortiGate Head Office, second FortiGateOffice 7, one FortiGate with VDOMs Office 3, one FortiGate, webExample network configuration Example Network configurationDocument conventions Typographical conventions CLI command syntax conventionsCurly braces Angle bracketsFortinet products End User License Agreement Registering your Fortinet productTraining DocumentationFortinet Tools and Documentation CD Customer service and technical supportFortinet Knowledge Base Comments on Fortinet technical documentationExample FortiGate Voice branch office configuration Example Branch Office network configuration General configuration stepsConfiguring basic FortiGate Voice network and UTM settings Connecting the FortiGate Voice unitTo configure basic network settings To connect the FortiGate Voice unitGo to Router Static Static Route Go to System Network OptionsTo configure basic Internet access and UTM features Go to System Maintenance FortiGuardAdvanced DNS ServerTo configure the fxo1 Pstn interface Configuring the FortiGate Voice Pstn and PBX settingsCaller ID Indicator Go to PBX Calling Rules SettingCaller ID Protocol Ring #To add a VoIP provider Go to PBX Service Providers SIP TrunkTo add a dial plan for dialing the Pstn and the main office Go to PBX Calling Rules Dial Plan and select Create New Use Default Outgoing Prefix SelectedPhone number Begin with O11 Action Block Go to PBX Extension Extension and select Create New To configure FortiFones on the internal network Configuring the FortiFones on the internal networkTo add an extension for a SIP phone behind a NAT device 6010 Providing access to the company directory FortiGate Voice IVR configurationTo configure the remote FortiGate unit in NAT mode To add a custom welcome messageChecking voicemail Adding a shortcut for checking voicemailGo to PBX Calling Rules Voice Menu Go to PBX Call Voice MenuAdding a shortcut for checking voicemail Unit operation dashboard widget Dashboard widgetsSystem resources dashboard widget Configuring Pstn interfaces Configuring VoIP interface settingsTo configure VoIP interface settings Pstn interface configuration settings General Pstn interface settingsBasic Options Configuring service providers PBX configurationVoIP Provider Configuring extensionsExtension configuration settings General extension settingsCreate New Dial PlanConfiguring extension groups Configuring extension groups ring groupsVoicemail Extension Member Configuring dial plansDial plan rule configuration settings General dial plan list settingsName Use Default Outgoing Prefix9 Go to PBX Calling Rules Dial Plan to add a dial planPrepend Example dial planTo configure voice menu options Configuring voice menu optionsGeneral direct inward dialing settings Configuring direct inward dialingDirect inward dialing configuration settings Name Incoming Extension CommentsPBX Global Settings Configuring PBX settingsYou must also add a username and password Voicemail Notification Email SettingsMonitoring calls Monitoring SIP Trunk statusGo to Log&Report Log Config Event Log To configure logging of PBX settingsLogging of PBX activities Viewing log messagesLogging of PBX activities Syntax Config pbx dialplanVariables Description Default Config pbx didConfig pbx extension Variables Description Default Config pbx globalConfig pbx ringgrp Config pbx smtp Config pbx voip-provider Config pbx voice-menuEdit providername Secret passwordUser username DomainConfig system pstn Execute pbx Config system interfaceVariables Description Example command output Diagnose pbx restart