system : pstn
 
pstn
Use this command to configure the PSTN interfaces. PSTN interfaces are available on some FortiGate Voice models.
Syntax
config system pstn
edit <fxo_name>
set cid-name <caller_name>
set cid-number <caller_name>
set status {enable | disable}
set use-callerid {enable | disable}
set cid-signalling {bell | dtmf | v23 | v23‑jp}
set cid-start {polarity | ring}
set send-callerid-after <integer>
set hangup-on-polarity-reversal {enable | disable}
set hangup-on-zero-voltage {enable | disable}
set hangup-on-busy-tone {enable | disable}
set busycount <integer>
set busy-tone-length <integer>
set busy-quiet-length <integer>
set codec {alaw | ulaw}
end
 
Variables
Description
Default
edit <fxo_name>
Enter the name of the FXO.
No default
cid-name <caller_name>
This name is used for caller ID for calls from the FortiGate Voice unit to the PSTN. It can be any name, such as a company name, that identifies the branch office.
No default
cid-number <caller_name>
Enter the phone number of the PSTN phone line as provided by your phone service provider.
No default
status {enable | disable}
Enable the status of the port.
enable
use-callerid {enable | disable}
Enable to catch the caller ID.
enable
cid-signalling {bell | dtmf | v23 | v23‑jp}
Enter the caller ID protocol. The protocol v23-jp is the v23 protocol for Japan.
bell
cid-start {polarity | ring}
Enter to start transmitting the caller ID.
ring
send-callerid-after <integer>
Enter a number for the number of rings after that the caller ID began to transmit.
1
hangup-on-polarity-reversal {enable | disable}
Enable to have the phone hang up when there is polarity reversal.
enable
hangup-on-zero-voltage {enable | disable}
Enable to have the phone hang up when there is zero voltage.
disable
hangup-on-busy-tone {enable | disable}
Enable to have the phone hang up when a busy tone is detected.
enable
busycount <integer>
Enter a number for the accurate number of busy tones that are detected.
4
busy-tone-length <integer>
Enter a number that determines how logn the busy tone is on in milliseconds.
500
busy-quiet-length <integer>
Enter a number that determines how long the busy tone is off in milliseconds.
500
codec {alaw | ulaw}
Enter the Codec preference type based on the country.
ulaw
ring-detect {ring‑cross‑threshold | ring‑full‑wave | ring‑half‑wave | ring‑validate}
Enter the appropriate ring detection method for your phone system.
ring-validate
ring-timeout {128ms | 256ms | 384ms | 512ms | 640ms | 768ms | 896ms | 1024ms | 1152ms | 1280ms | 1408ms | 1536ms | 1664ms | 1792ms | 1920ms}
Enter the appropriate ring time-out for your phone system.
640ms
ring-threshold {level‑1 | level‑2 | level‑3}
Enter the appropriate ring threshold for your phone system. The ring-threshold is based on voltage:
level-1: 13.5V to 16.5V
level-2: 19.35V to 23.65V
level-3: 40.5V to 49.5V
level‑1
ring-delay-time {256ms | 512ms | 768ms | 1024ms | 1280ms | 1536ms | 1792ms}
Enter the appropriate ring delay time for your phone system.
512ms
ring-confirm-time {100ms | 150ms | 200ms | 256ms | 384ms | 512ms | 640ms | 1024ms}
Enter the appropriate ring confirmation time for your phone system.
512ms
ring-max-assertion-count <int>
Enter the appropriate ring maximum assertion count for your phone system.
22
ring-assertion-time <int>
Enter the appropriate ring assertion time for your phone system.
25
tx-gain <int>
Enter the gain for the transmitted signal, in dB, from -15 to 12.
0
rx-gain <int>
Enter the gain for the received signal, in dB, from -15 to 12.
0