From f92e5e4a369f904ae8b4ab691bca71dc7e932c45 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 22 Feb 2018 17:49:59 -0500 Subject: [PATCH] Update {$mac}.cfg --- .../templates/provision/fanvil/x4g/{$mac}.cfg | 43 +++++++++++++------ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/resources/templates/provision/fanvil/x4g/{$mac}.cfg b/resources/templates/provision/fanvil/x4g/{$mac}.cfg index ef6fa3259c..982a054fd0 100644 --- a/resources/templates/provision/fanvil/x4g/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x4g/{$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