Fortinet 4.0 MR1 manual Example command output

Page 59

FortiGate Voice VoIP, PBX, and PSTN CLI Reference

execute pbx

 

 

 

 

 

Variables

Description

 

 

 

 

 

 

music-on-hold

Enter to either delete, list or upload music on hold files. You can

 

 

{delete list

upload music on hold files using FTP, TFTP, or from a USB drive

 

 

upload}

plugged into the FortiGate Voice unit.

 

 

 

 

 

prompt upload ftp

Upload new pbx voice prompt files using FTP. The voice prompt files

 

 

<file.tgz>

should be added to a tar file and zipped. This file would usually have

 

 

<ftp_server_address>

the extension tgz. You must include the filename, FTP server address

 

 

(domain name of IPv4 address) and if required the username and

 

 

[:port] [<username>]

password for the server.

 

 

[password>]

 

 

 

prompt upload tftp

Upload new pbx voice prompt files using TFTP. The voice prompt files

 

 

<file.tgz>

should be added to a tar file and zipped. This file would usually have

 

 

<ftp_server_address>

the extension tgz. You must include the filename and TFTP server IP

 

 

address.

 

 

[:port] [<username>]

 

 

 

[password>]

 

 

 

prompt upload usb

Upload new pbx voice prompt files from a USB drive plugged into the

 

 

<file.tgz>

FortiGate Voice unit. The voice prompt files should be added to a tar

 

 

<ftp_server_address>

file and zipped. This file would usually have the extension tgz. You

 

 

must include the filename.

 

 

[:port] [<username>]

 

 

 

[password>]

 

 

 

restore-default-

Restore default English voicemail and other PBX system prompts.

 

 

prompts

Use this command if you have changed the default prompts and want

 

 

 

to restore the default settings.

 

 

sip-trunk list

Enter to display the status of all SIP trunks that have been added to

 

 

 

the FortiGate Voice configuration.

 

Example command output

Enter the following command to view active calls:

execute pbx active-call

Call-From

Call-To

Duration

6016

6006

00:00:46

Enter the following command to display the status of all extensions

execute pbx extension list

Extension

Host

Dialplan

6052

Unregister

company-default

6051

Unregister

company-default

6050

Unregister

company-default

6022

Unregister

company-default

6021/6021

172.30.63.34

company-default

6020

Unregister

company-default

Enter the following command to display the status of all SIP trunks

 

execute pbx sip-trunk list

Account-Type

State

Name

Host

Username

Provider_1

192.169.20.1

+5555555

Static

N/A

FortiGate Voice Version 4.0 MR1 Administration Guide

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

Image 59
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 conventionsVDOMs Office 3, one FortiGate, web Head Office, second FortiGateBranch Office, one FortiGate Office 7, one FortiGate withExample network configuration Example Network configurationDocument conventions Typographical conventions CLI command syntax conventionsCurly braces Angle bracketsDocumentation Registering your Fortinet productFortinet products End User License Agreement TrainingComments on Fortinet technical documentation Customer service and technical supportFortinet Tools and Documentation CD Fortinet Knowledge BaseExample FortiGate Voice branch office configuration Example Branch Office network configuration General configuration stepsTo connect the FortiGate Voice unit Connecting the FortiGate Voice unitConfiguring basic FortiGate Voice network and UTM settings To configure basic network settingsGo to Router Static Static Route Go to System Network OptionsDNS Server Go to System Maintenance FortiGuardTo configure basic Internet access and UTM features AdvancedTo configure the fxo1 Pstn interface Configuring the FortiGate Voice Pstn and PBX settingsRing # Go to PBX Calling Rules SettingCaller ID Indicator Caller ID ProtocolTo 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 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 To add a custom welcome message FortiGate Voice IVR configurationProviding access to the company directory To configure the remote FortiGate unit in NAT modeGo to PBX Call Voice Menu Adding a shortcut for checking voicemailChecking voicemail Go to PBX Calling Rules 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 Configuring service providers PBX configurationVoIP Provider Configuring extensionsDial Plan General extension settingsExtension configuration settings Create NewConfiguring extension groups Configuring extension groups ring groupsVoicemail Extension Member Configuring dial plansGo to PBX Calling Rules Dial Plan to add a dial plan General dial plan list settingsDial plan rule configuration settings Name Use Default Outgoing Prefix9Prepend Example dial planTo configure voice menu options Configuring voice menu optionsName Incoming Extension Comments Configuring direct inward dialingGeneral direct inward dialing settings Direct inward dialing configuration settingsPBX Global Settings Configuring PBX settingsMonitoring SIP Trunk status Voicemail Notification Email SettingsYou must also add a username and password Monitoring callsViewing log messages To configure logging of PBX settingsGo to Log&Report Log Config Event Log Logging of PBX activitiesLogging 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-menuDomain Secret passwordEdit providername User usernameConfig system pstn Variables Description Config system interfaceExecute pbx Example command output Diagnose pbx restart