pbx : sip-trunk
Use this command to configure SIP server providers for the PBX. If your FortiGate Voice unit is installed in North America and the Country Code is set to 1 then you can use the FortiGuard Voice service as your SIP service provider. (The default Country Code is 1. To change the country code, see pbx global.) The FortiGuard Voice service is supported only in North America. If you install the FortiGate Voice unit elsewhere in the world and change the Country Code, the FortiGuard Voice Service configuration is replaced by the SIP trunk configuration. You can use the SIP trunk configuration to add one or more SIP service providers to the FortiGate Voice configuration.
config pbx voip-provider
edit <provider_name>
set user <user_name>
set domain {<VoIP_provider_address_ipv4> | <VoIP_provider_domain> }
set secret <password>
set authuser <authuser>
set display-name <display_name>
set registration-interval <refresh_interval>
set account-type {static | dynamic}
set dtmf-metod {auto | inband | info | rfc2833}
set codec {alaw | g729 | none | ulaw}
set codec1 {alaw | g729 | none | ulaw}
set codec2 {alaw | g729 | none | ulaw}
set video {enable | disable}
edit <provider_name>
Enter the VoIP provider’s name.
No default
user <user_name>
Enter the user name for the provider. You can enter the phone number registered with this provider instead.
No default
secret <password>
Enter the password associated with the provider.
No default
domain {<VoIP_provider_address_ipv4> | <VoIP_provider_domain> }
The VoIP provider’s domain name or IP address. For example, or voip.example.com.
No default
authuser <authuser>
Enter the authentication user for the account.
No default
display-name <display_name>
Enter the name that will be used as the caller ID name if the provider supports this feature.
No default
registration-interval <refresh_interval>
Enter a number for the refresh interval.
No default
account-type {static | dynamic}
Enter to define the type of account.
No default.
dtmf-metod {auto | inband | info | rfc2833}
Enter the DTMF method that will be used.
No default
codec {alaw | g729 | none | ulaw}
Enter the most preferred Codec for the VoIP provider.
codec1 {alaw | g729 | none | ulaw}
Enter the second most preferred Codec for the VoIP provider.
codec2 {alaw | g729 | none | ulaw}
Enter the third most preferred Codec for the VoIP provider.
video {enable | disable}
Enable video capability if the provider supports this feature.