Fortinet 4.0 MR1 manual Logging of PBX activities, Viewing log messages

Page 47

FortiGate Voice web-based manager configuration reference

Logging of PBX activities

Figure 14: Monitoring extension status

Logging of PBX activities

After configuring PBX settings, you can configure logging of PBX activities and events. If you are new to logging, see Logging and Reporting in FortiOS 4.0 User Guide before proceeding.

To configure logging of PBX settings

1Go to Log&Report > Log Config > Event Log.

2Select the check box beside Enable to make the other event log options available.

3Select the check box beside PBX event.

Viewing log messages

You can view the PBX activities and events from Log&Report > Log Access. The log messages can be filtered so that you are viewing specific information, or you can display them in Raw format. Raw format is the format of what a log message actually appears in the log file.

To view PBX log messages, go to Log&Report > Log Access and then select the tab associated with the logging device you chose to store logs on. For example, you want to view PBX log messages from the FortiAnalyzer unit that they are on, so you select Log&Report > Log Access > FortiAnalyzer.

For more information about log messages, see the FortiGate Log Message Reference and also the Logging and Reporting in FortiOS 4.0 User Guide.

Example PBX log messages

The following log message indicates that the phone with FortiGate Voice extension number 6005 called 914036085000 and the call was routed to the skype-088adb08 service provider. The call was answered and lasted for 1869 seconds.

2010-03-12 12:53:27 log_id=0162043782 type=event subtype=pbx pri=information fwver=040000 vd=root action=PBX-call clid="6005", src="6005" dst="914036085000"channel="SIP/6005-088a7c08" dstchannel="SIP/skype-088adb08" duration=1869 start="Fri Mar 12 12:22:18 2010 " end="Fri Mar 12 12:53:27 2010 " disposition="ANSWERED"msg="call from 6005=>914036085000, ANSWERED, for 1869 seconds"

The following log message indicates that the phone with FortiGate Voice extension number 6012 with caller ID Example Caller called extension 6036. And that the call was answered and lasted for 23 seconds.

2010-03-12 01:12:42 log_id=0162043782 type=event subtype=pbx pri=information fwver=040000 vd=root action=PBX-call clid=""Example Caller" <6012>", src="6012" dst="6036"channel="SIP/6012-084a9aa0" dstchannel="SIP/6036-08464150" duration=23 start="Fri Mar 12 01:12:19 2010 " end="Fri Mar 12 01:12:42 2010 " disposition="ANSWERED"msg="call from 6012=>6036, ANSWERED, for 23 seconds"

FortiGate Voice Version 4.0 MR1 Administration Guide

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

Image 47
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