From aaa2d8eed13f96ced889d09004b840bc79fc0777 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 22 Feb 2018 17:40:27 -0500 Subject: [PATCH] Update {$mac}.cfg --- .../templates/provision/fanvil/x4/{$mac}.cfg | 43 +++++++++++++------ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/resources/templates/provision/fanvil/x4/{$mac}.cfg b/resources/templates/provision/fanvil/x4/{$mac}.cfg index 7a1aad6429..b72a0750e0 100644 --- a/resources/templates/provision/fanvil/x4/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x4/{$mac}.cfg @@ -325,8 +325,7 @@ 0 0 0 -0 -0 + 0 0 0 @@ -334,7 +333,12 @@ 0 1 5060 -1 + +{if $sip_transport_1 == 'udp'}0{/if} +{if $sip_transport_1 == 'tcp'}1{/if} +{if $sip_transport_1 == 'tls'}2{/if} +{if $sip_transport_1 == 'dns srv'}1{/if} +{if $sip_transport_1 == 'dns srv'}1{/if} 1 0 @@ -456,8 +460,7 @@ 0 0 0 -0 -0 + 0 0 0 @@ -465,7 +468,13 @@ 0 1 5060 -0 + +{if $sip_transport_2 == 'udp'}0{/if} +{if $sip_transport_2 == 'tcp'}1{/if} +{if $sip_transport_2 == 'tls'}2{/if} +{if $sip_transport_2 == 'dns srv'}1{/if} +{if $sip_transport_2 == 'dns srv'}1{/if} + 1 0 0 @@ -586,8 +595,7 @@ 0 0 0 -0 -0 + 0 0 0 @@ -595,7 +603,13 @@ 0 1 5060 -0 + +{if $sip_transport_3 == 'udp'}0{/if} +{if $sip_transport_3 == 'tcp'}1{/if} +{if $sip_transport_3 == 'tls'}2{/if} +{if $sip_transport_3 == 'dns srv'}1{/if} +{if $sip_transport_3 == 'dns srv'}1{/if} + 1 0 0 @@ -716,8 +730,7 @@ 0 0 0 -0 -0 + 0 0 0 @@ -725,7 +738,13 @@ 0 1 5060 -0 + +{if $sip_transport_4 == 'udp'}0{/if} +{if $sip_transport_4 == 'tcp'}1{/if} +{if $sip_transport_4 == 'tls'}2{/if} +{if $sip_transport_4 == 'dns srv'}1{/if} +{if $sip_transport_4 == 'dns srv'}1{/if} + 1 0 0