Fortinet 4.0 MR1 manual To add an extension for a SIP phone behind a NAT device

Page 28

Adding extensions and configuring FortiFones for users behind a NAT device Example FortiGate Voice branch office configuration

User Name

6001

 

This is actually the Line Number or Extension Number and must

 

match the Extension Number added to the FortiGate Voice

 

Extension configuration for this phone.

Register Name

6001

 

The Register Name is used to authenticate the FortiFone and

 

must match the Extension Number added to the FortiGate Voice

 

Extension configuration for this phone. Both the User Name and

 

Register Name are required.

Register Password

The Password added to the FortiGate Voice Extension

 

configuration for this phone. The Register Name and Register

 

Password are used to authenticate the phone with the FortiGate

 

Voice unit.

Domain Server

Leave this field blank.

 

Not required since the configuration uses the FortiGate Voice

 

unit as a SIP proxy. This field is only used to add the phone to a

 

SIP service domain.

Proxy Server

172.20.120.10

 

The IP address of the FortiGate Voice internal interface.

Outbound Proxy

Leave this field blank.

7Select Submit.

8Select Save & Reboot to save the service domain information.

9If the FortiFone can successfully connect to and register with the FortiGate Voice unit the Status of the FortiFone changes to Registered.

If Status does not change to Registered you should verify the Register Name or re- enter the Password. You should also confirm that the Domain Server and Proxy Server IP addresses are correct.

Adding extensions and configuring FortiFones for users behind a NAT device

When adding an extension for any SIP phone with a NAT device between the phone and the FortiGate Voice unit you must enable NAT in the FortiGate Voice extension configuration for the phone. You can enable NAT only from the CLI. This applies whether the phone is on a remote network behind a NAT device or behind a NAT device on the internal network.

To add an extension for a SIP phone behind a NAT device

The following procedure describes adding the extension from the FortiGate Voice CLI because you must use the CLI to enable NAT. You could add the extension from the web-based manager and then edit the extension from the CLI to enable NAT.

The following configuration is the same whether the phone is behind a NAT device on the internal network or on a remote network,

1Connect to the FortiGate CLI.

2Enter the following command to add extension 6010.

The command includes setting nat to yes to enable NAT. config pbx extension

edit 6010

set first-name <first_name_str> set last-name <last_name_str> set email <email_str>

FortiGate Voice Version 4.0 MR1 Administration Guide

2801-410-112851-20100601http://docs.fortinet.com/ Feedback

Image 28
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 addressesHead Office, second FortiGate Branch Office, one FortiGateOffice 7, one FortiGate with VDOMs Office 3, one FortiGate, webExample Network configuration Example network configurationDocument conventions CLI command syntax conventions Typographical conventionsAngle brackets Curly bracesRegistering your Fortinet product Fortinet products End User License AgreementTraining DocumentationCustomer service and technical support Fortinet Tools and Documentation CDFortinet Knowledge Base Comments on Fortinet technical documentationExample FortiGate Voice branch office configuration General configuration steps Example Branch Office network configurationConnecting the FortiGate Voice unit Configuring basic FortiGate Voice network and UTM settingsTo configure basic network settings To connect the FortiGate Voice unitGo to System Network Options Go to Router Static Static RouteGo to System Maintenance FortiGuard To configure basic Internet access and UTM featuresAdvanced DNS ServerConfiguring the FortiGate Voice Pstn and PBX settings To configure the fxo1 Pstn interfaceGo to PBX Calling Rules Setting Caller ID IndicatorCaller 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 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 FortiGate Voice IVR configuration Providing access to the company directoryTo configure the remote FortiGate unit in NAT mode To add a custom welcome messageAdding a shortcut for checking voicemail 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 PBX configuration Configuring service providersConfiguring extensions VoIP ProviderGeneral extension settings Extension configuration settingsCreate New Dial PlanConfiguring extension groups ring groups Configuring extension groupsConfiguring dial plans Voicemail Extension MemberGeneral dial plan list settings Dial plan rule configuration settingsName Use Default Outgoing Prefix9 Go to PBX Calling Rules Dial Plan to add a dial planExample dial plan PrependConfiguring voice menu options To configure voice menu optionsConfiguring direct inward dialing General direct inward dialing settingsDirect inward dialing configuration settings Name Incoming Extension CommentsConfiguring PBX settings PBX Global SettingsVoicemail Notification Email Settings You must also add a username and passwordMonitoring calls Monitoring SIP Trunk statusTo configure logging of PBX settings Go to Log&Report Log Config Event LogLogging of PBX activities 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-providerSecret password Edit providernameUser username DomainConfig system pstn Execute pbx Config system interfaceVariables Description Example command output Diagnose pbx restart