pbx : 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.
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}
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.
auto-delete {enable | disable}
Enable to automatically delete voice mail.
conference-host <extension_number>
Enter the extension number that will host the conference.
dialplan <dialplan_name>
Enter the dial plan that you want to use for the extension.
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.
email-notify {enable | disable}
Enable email notification. When email notification is enabled the user gets notified of each new voicemail messages.
first-name <first_name>
Enter the person’s first name.
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.
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.
max-msg <max_messages_allowed>
Enter the maximum number of voicemail messages that are allowed in a user’s voicemail inbox.
nat {no | yes}
Enter to indicate that the phone is behind a NAT device.
recordable-flag {enable | disable}
Enable conference recording. When enabled the conference call are recorded on FortiGate Voice unit’s hard drive.
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.
video {enable | disable}
Enable video conferencing.
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.