Fortinet Technologies Inc. Page 107 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
trunk pstn
Use this command to configure PSTN/PRI trunks.
PSTN (Public Switched Telephone Network)/PRI (Primary Rate Interface) trunks connect your
PBX or VoIP network to your PSTN service providers and through them to the outside world.
These trunks can be analog or digital phone lines.
This option is only available on the FortiVoice 200D-T model.
The FortiVoice 200D-T supports four FXO (Foreign eXchange Office) analog ports and one FXS
(Foreign eXchange Subscriber) digital port.
There are two default PSTN/PRI trunks:
• T1/E1 voice circuit trunk - pri1 that uses ISDN PRI
• analog CO (Central Office) trunk - line1 that uses four FXO ports
You can modify the default trunks.
Syntax
config trunk pstn
edit {line1 | pri1}
config did
edit <did_id>
set number <did_number_str>
set caller-name <name_str>
set caller-number <number_int>
set description <string>
set group <group_id>
set number-pattern <pattern_str>
set span <name_str>
set status {enable | disable}
set type {analog | digital}
end
Variable Description Default
{line1 | pri1} Enter line1 to configure the analog CO trunk, or pri1 to
configure the the T1/E1 voice circuit trunk.
<did_id> Enter the ID for the DID configuration.
number
<did_number_str>
Enter the Direct Inward Dial number provided by your
PSTN service provider. DID allows the service provider
SIP server to direct calls from external callers directly to
the FortiVoice unit. You can add multiple DIDs.
caller-name <name_str> Enter your caller ID that will appear on the called phone,
such as Example Company.
caller-number
<number_int>
Enter the phone number that will appear on the called
phone.
description <string> Enter any descriptions about the trunk. 0
group <group_id> For digital trunk, enter 1, and for analog trunk, enter 2. 2