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

Page 49
Image 49
Fortinet 4.0 MR1 manual Config pbx dialplan, Syntax