From 766e284a9bd4a23cae25ccf268ed39b70a1ab961 Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 29 Sep 2017 01:07:54 -0400 Subject: [PATCH] Update {$mac}.cfg --- resources/templates/provision/yealink/t58v/{$mac}.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/templates/provision/yealink/t58v/{$mac}.cfg b/resources/templates/provision/yealink/t58v/{$mac}.cfg index 9cfc63d9e9..41defe19b8 100644 --- a/resources/templates/provision/yealink/t58v/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58v/{$mac}.cfg @@ -41,6 +41,7 @@ account.1.outbound_proxy_fallback_interval = 120 {if $sip_transport_1 == 'tcp'}account.1.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.1.sip_server.1.transport_type = 2{/if} {if $sip_transport_1 == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if} + ##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. @@ -498,8 +499,10 @@ account.2.dial_tone = account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2} account.2.outbound_proxy.2.port = 5060 account.2.outbound_proxy_fallback_interval = + ##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. + {if $sip_transport_1 == 'udp'}account.2.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.2.sip_server.1.transport_type = 2{/if} @@ -937,8 +940,10 @@ account.3.dial_tone = account.3.outbound_proxy.2.address = {$outbound_proxy_secondary_3} account.3.outbound_proxy.2.port = 5060 account.3.outbound_proxy_fallback_interval = + ##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. + {if $sip_transport_1 == 'udp'}account.3.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.3.sip_server.1.transport_type = 2{/if} @@ -1375,8 +1380,10 @@ account.4.dial_tone = account.4.outbound_proxy.2.address = {$outbound_proxy_secondary_4} account.4.outbound_proxy.2.port = 5060 account.4.outbound_proxy_fallback_interval = + ##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. + {if $sip_transport_1 == 'udp'}account.4.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.4.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.4.sip_server.1.transport_type = 2{/if} @@ -1821,8 +1828,10 @@ account.5.dial_tone = account.5.outbound_proxy.2.address = {$outbound_proxy_secondary_5} account.5.outbound_proxy.2.port = 5060 account.5.outbound_proxy_fallback_interval = + ##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. + {if $sip_transport_1 == 'udp'}account.5.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.5.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.5.sip_server.1.transport_type = 2{/if} @@ -2268,8 +2277,10 @@ account.6.dial_tone = account.6.outbound_proxy.2.address = {$outbound_proxy_secondary_6} account.6.outbound_proxy.2.port = 5060 account.6.outbound_proxy_fallback_interval = + ##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR ##The default value is 0. + {if $sip_transport_1 == 'udp'}account.6.sip_server.1.transport_type = 0{/if} {if $sip_transport_1 == 'tcp'}account.6.sip_server.1.transport_type = 1{/if} {if $sip_transport_1 == 'tls'}account.6.sip_server.1.transport_type = 2{/if}