pbx : extension
 
extension
Use this command to add SIP phone extensions to the FortiGate Voice unit. You can add new extensions or reconfigure the existing ones. For example, you can label an extension by user name, or you can add an extension and set it as a host for conference calls, or you can get FortiGate Voice unit to send email notifications to the users when they receive new voicemail messages.
 
FortiGate Voice unit uses the alertmail settings to access an SMTP server and send email notifications. Alertmail can be configured through config system alertmail command. For more information about alertmail CLI command configuration refer to FortiGate CLI Reference.
Syntax
config pbx extension
edit <extension_number>
set attach {enable | disable}
set auto-delete {enable | disable}
set conference-host <extension_number>
set dialplan <dialplan_name>
set email <user_email>
set email-notify {enable | disable}
set first-name <first_name>
set host-pin <host_password>
set last-name <surname_name>
set macaddress <mac_address>
set max-msg <max_messages_allowed>
set nat {no | yes}
set recordable-flag {enable | disable}
set secret <user_password>
set type {conference | sip‑phone}
set video {enable | disable}
set vm-secret <user_password>
set voicemail {enable | disable}
end
Variables
Description
Default
edit <extension_number>
Enter the extension number. The extension number has to match the config pbx global extension pattern.
No default.
attach {enable | disable}
Enable the voicemail message as an attachment in an email.
disable
auto-delete {enable | disable}
Enable to automatically delete voice mail.
disable
conference-host <extension_number>
Enter the extension number that will host the conference.
null
dialplan <dialplan_name>
Enter the dial plan that you want to use for the extension.
null
email <user_email>
Enter the user’s email address. This email address can be used to notify the user when they have a new voicemail message.
null
email-notify {enable | disable}
Enable email notification. When email notification is enabled the user gets notified of each new voicemail messages.
disable
first-name <first_name>
Enter the person’s first name.
null
host-pin <host_password>
Enter the password for the conference call. The password must contain only numbers. The users need to enter this password to join the conference call.
 
last-name <surname_name>
Enter the surname of the person.
null
macaddress <mac_address>
Enter the MAC address of the SIP phone for the current extension. A typical MAC address consists of six double digit alpha-numeric characters separated by colons. Colons must be used when entering the MAC address.
00:00:00:00:00:00
max-msg <max_messages_allowed>
Enter the maximum number of voicemail messages that are allowed in a user’s voicemail inbox.
50
nat {no | yes}
Enter to indicate that the phone is behind a NAT device.
no
recordable-flag {enable | disable}
Enable conference recording. When enabled the conference call are recorded on FortiGate Voice unit’s hard drive.
disable
secret <user_password>
Enter the user’s password for voicemail.
No default.
type {conference | sip‑phone}
Enter the type of extension to configure.
sip-phone to configure a SIP phone extension
conference to add a conference bridge. Multiple users can call the conference bridge extension number enter the secret and have a conference call. A conference bridge only requires an extension number and a secret.
sip-phone
video {enable | disable}
Enable video conferencing.
disable
vm-secret <user_password>
Enter the user’s password for accessing their voicemail inbox.
No default.
voicemail {enable | disable}
Enable the extension to have voicemail.
enable