diff --git a/resources/templates/provision/yealink/t26p/{$mac}.cfg b/resources/templates/provision/yealink/t26p/{$mac}.cfg index 58f8ad2c97..8eb7dc30b2 100644 --- a/resources/templates/provision/yealink/t26p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t26p/{$mac}.cfg @@ -379,8 +379,8 @@ account.2.outbound_port = {if $sip_transport_2 == 'dns srv'}account.2.transport = 3{/if} account.2.outbound_proxy.1.address = {$outbound_proxy_primary_2} -+account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2} -+account.2.outbound_proxy_enable = {if isset($outbound_proxy_primary_2)}1{else}0{/if} +account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2} +account.2.outbound_proxy_enable = {if isset($outbound_proxy_primary_2)}1{else}0{/if} #Configure the address of the backup outbound proxy server. @@ -2087,14 +2087,14 @@ expansion_module.1.key.{$row.device_key_id}.pickup_value = {$row.device_key_exte expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} expansion_module.1.key.{$row.device_key_id}.xml_phonebook = {else} -+expansion_module.2.key.{$row.device_key_id - 40}.type = {$row.device_key_type} -+expansion_module.2.key.{$row.device_key_id - 40}.line = {$row.device_key_line} -+expansion_module.2.key.{$row.device_key_id - 40}.value = {$row.device_key_value} -+expansion_module.2.key.{$row.device_key_id - 40}.extension = {$row.device_key_extension} -+expansion_module.2.key.{$row.device_key_id - 40}.label = {$row.device_key_label} -+expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook = -+{/if} -+{$rownum = $rownum + 1} +expansion_module.2.key.{$row.device_key_id - 40}.type = {$row.device_key_type} +expansion_module.2.key.{$row.device_key_id - 40}.line = {$row.device_key_line} +expansion_module.2.key.{$row.device_key_id - 40}.value = {$row.device_key_value} +expansion_module.2.key.{$row.device_key_id - 40}.extension = {$row.device_key_extension} +expansion_module.2.key.{$row.device_key_id - 40}.label = {$row.device_key_label} +expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook = +{/if} +{$rownum = $rownum + 1} {/if} {/foreach}