Fortinet 4.0 MR1 manual Config system pstn

Page 57

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

config system pstn

config system pstn

Use this command to configure the PSTN interfaces. PSTN interfaces are available on some FortiGate Voice models.

Syntax

config system pstn edit <fxo_name>

set cid-name <caller_name> set cid-number <caller_name> set status {enable disable}

set user-callerid {enable disable}

set cid-signalling {bell dtmf v23 v23-jp}set cid-start {polarity ring}

set send-callerid-after <integer> set hangup-on-polarity-reversalset hangup-on-zero-voltage

set hangup-on-busy-toneset busycount <integer>

set busy-tone-length <integer> set busy-quiet-length <integer> set codec {alaw ulaw}

end

Variables

Description

Default

 

 

 

edit <fxo_name>

Enter the name of the FXO.

No

 

 

default

cid-name

This name is used for caller ID for calls from the FortiGate

No

<caller_name>

Voice unit to the PSTN. It can be any name, such as a

default

 

company name, that identifies the branch office.

 

cid-number

Enter the phone number of the PSTN phone line as

No

<caller_name>

provided by your phone service provider.

default

status

Enable the status of the port.

No

{enable disable}

 

default

user-callerid

Enable to catch the caller ID.

No

{enable disable}

 

default

cid-signalling {bell

Enter the caller ID protocol. The protocol v23-jp is the v23

No

dtmf v23

protocol for Japan.

default

v23-jp}

 

 

cid-start

Enter to start transmitting the caller ID.

No

{polarity ring}

 

default

send-callerid-after

Enter a number for the number of rings after that the caller

No

<integer>

ID began to transmit.

default

hangup-on-polarity-

Enter to have the phone hang up when there is polarity

No

reversal

reversal.

default

hangup-on-zero-

Enter to have the phone hang up when there is zero

No

voltage

voltage.

default

hangup-on-busy-tone

Enter to have the phone hang up when a busy tone is

No

 

detected.

default

busycount <integer>

Enter a number for the accurate number of busy tones that

No

 

are detected.

default

FortiGate Voice Version 4.0 MR1 Administration Guide

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

Image 57
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 #Go to PBX Service Providers SIP Trunk To add a VoIP providerTo add a dial plan for dialing the Pstn and the main office Use Default Outgoing Prefix Selected Go to PBX Calling Rules Dial Plan and select Create NewPhone 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 Dashboard widgets Unit operation dashboard widgetSystem resources dashboard widget Configuring VoIP interface settings Configuring Pstn interfacesTo configure VoIP interface settings General Pstn interface settings Pstn interface configuration 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 Config system interface Execute pbxVariables Description Example command output Diagnose pbx restart