Fortinet Technologies Inc. Page 109 FortiVoice 200D/200D-T v2.0 MR1 CLI Reference
trunk sip-peer
Use this command to add one or more SIP service providers to the FortiVoice unit trunk
configuration. The service providers deliver your telephone services to customers equipped
with SIP-based PBX (IP-PBX).
Syntax
config trunk sip-peer
edit <peer_name>
config did
edit <did_id>
set number <did_number_str>
set caller-name <id_str>
set caller-number <string>
set dns-srv-record {enable | disable}
set max-incoming-channels <channel_int>
set max-outgoing-channels <channel_int>
set number-pattern <pattern_str>
set password <pwd_str>
set proxy {enable | disable}
set proxy-port <integer>
set proxy-server <string>
set proxy-transport {tcp | tls | udp}
set realm <string>
set register-expiry <string>
set register-string <string>
set registration {disable | registra-server | standard | user-
define}
set registra-port <int>
set registra-server <host/ip_str>
set registra-transport {tcp | tls | udp}
set sip-port <int>
set sip-server <host/ip_str>
set sip-setting <name>
set status {enable | disable}
set username<name_str>
end
Variable Description Default
<peer_name> Enter a name for the trunk.
<did_id> Enter the ID for the DID configuration.
number
<did_number_str>
Enter the Direct Inward Dial number provided by your
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 <id_str> Enter your caller ID that will appear on the phone of an
outbound call receiver.