Update {$mac}.cfg

This commit is contained in:
FusionPBX 2019-01-08 14:14:33 -07:00 committed by GitHub
parent 9df02db52b
commit fde39d199c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -64,6 +64,13 @@ account.1.fallback.redundancy_type = 0
account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
account.1.sip_server.1.address = {$account.1.server.1.address}
account.1.sip_server.1.port = {$account.1.sip_port}
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if}
{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if}
{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if}
{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if}
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.sip_server.1.expires = {$account.1.register_expires}
account.1.sip_server.1.retry_counts = 3
@ -72,6 +79,13 @@ account.1.sip_server.1.failback_timeout = 3600
account.1.sip_server.1.register_on_enable = 0
account.1.sip_server.2.address = {$account.1.server.2.address}
account.1.sip_server.2.port = {$account.1.sip_port}
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if}
{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if}
{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if}
{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if}
account.1.sip_server.2.expires = {$account.1.register_expires}
account.1.sip_server.2.retry_counts = 3
account.1.sip_server.2.failback_mode = 0