diff --git a/resources/templates/provision/cisco/spa508g/{$mac}.xml b/resources/templates/provision/cisco/spa508g/{$mac}.xml index 8381b6cd29..ff835b486e 100644 --- a/resources/templates/provision/cisco/spa508g/{$mac}.xml +++ b/resources/templates/provision/cisco/spa508g/{$mac}.xml @@ -521,7 +521,7 @@ Yes -{if $shared_line_1 == "shared"}shared{else}private{/if} +{if $account.1.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -542,8 +542,8 @@ up and down -{$sip_transport_1|upper} -{$sip_port_1} +{$account.1.sip_transport|upper} +{$account.1.sip_port} No Yes @@ -585,18 +585,18 @@ No -{$server_address_1} -{if isset($outbound_proxy_primary_1)}Yes{else}No{/if} -{$outbound_proxy_primary_1} -{$server_address_1} -{$outbound_proxy_secondary_1} +{$account.1.server_address} +{if isset($account.1.outbound_proxy_primary)}Yes{else}No{/if} +{$account.1.outbound_proxy_primary} +{$account.1.server_address} +{$account.1.outbound_proxy_secondary} Yes Yes No -{$register_expires_1} +{$account.1.register_expires} No -{if $sip_transport_1 == 'dns srv'}Yes{/if} -{if $sip_transport_1 != 'dns srv'}No{/if} +{if $account.1.sip_transport == 'dns srv'}Yes{/if} +{if $account.1.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -604,9 +604,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_1} -{$user_id_1} -{$user_password_1} +{$account.1.display_name} +{$account.1.user_id} +{$account.1.password} No @@ -645,7 +645,7 @@ Yes -{if $shared_line_2 == "shared"}shared{else}private{/if} +{if $account.2.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -666,8 +666,8 @@ up and down -{$sip_transport_2|upper} -{$sip_port_2} +{$account.2.sip_transport|upper} +{$account.2.sip_port} No Yes @@ -709,18 +709,18 @@ No -{$server_address_2} -{if isset($outbound_proxy_primary_2)}Yes{else}No{/if} -{$outbound_proxy_primary_2} -{$server_address_2} -{$outbound_proxy_secondary_2} +{$account.2.server_address} +{if isset($account.2.outbound_proxy_primary)}Yes{else}No{/if} +{$account.2.outbound_proxy_primary} +{$account.2.server_address} +{$account.2.outbound_proxy_secondary} Yes Yes No -{$register_expires_2} +{$account.2.register_expires} No -{if $sip_transport_2 == 'dns srv'}Yes{/if} -{if $sip_transport_2 != 'dns srv'}No{/if} +{if $account.2.sip_transport == 'dns srv'}Yes{/if} +{if $account.2.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -728,9 +728,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_2} -{$user_id_2} -{$user_password_2} +{$account.2.display_name} +{$account.2.user_id} +{$account.2.password} No @@ -769,7 +769,7 @@ Yes -{if $shared_line_3 == "shared"}shared{else}private{/if} +{if $account.3.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -833,18 +833,18 @@ No -{$server_address_3} -{if isset($outbound_proxy_primary_3)}Yes{else}No{/if} -{$outbound_proxy_primary_3} -{$server_address_3} -{$outbound_proxy_secondary_3} +{$account.3.server_address} +{if isset($account.3.outbound_proxy_primary)}Yes{else}No{/if} +{$account.3.outbound_proxy_primary} +{$account.3.server_address} +{$account.3.outbound_proxy_secondary} Yes Yes No -{$register_expires_3} +{$account.3.register_expires} No -{if $sip_transport_3 == 'dns srv'}Yes{/if} -{if $sip_transport_3 != 'dns srv'}No{/if} +{if $account.3.sip_transport == 'dns srv'}Yes{/if} +{if $account.3.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -852,9 +852,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_3} -{$user_id_3} -{$user_password_3} +{$account.3.display_name} +{$account.3.user_id} +{$account.3.password} No @@ -892,7 +892,7 @@ Yes -{if $shared_line_4 == "shared"}shared{else}private{/if} +{if $account.4.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -956,18 +956,18 @@ No -{$server_address_4} -{if isset($outbound_proxy_primary_4)}Yes{else}No{/if} -{$outbound_proxy_primary_4} -{$server_address_4} -{$outbound_proxy_secondary_4} +{$account.4.server_address} +{if isset($account.4.outbound_proxy_primary)}Yes{else}No{/if} +{$account.4.outbound_proxy_primary} +{$account.4.server_address} +{account.4.$outbound_proxy_secondary} Yes Yes No -{$register_expires_4} +{$account.4.register_expires} No -{if $sip_transport_4 == 'dns srv'}Yes{/if} -{if $sip_transport_4 != 'dns srv'}No{/if} +{if $account.4.sip_transport == 'dns srv'}Yes{/if} +{if $account.4.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -975,9 +975,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_4} -{$user_id_4} -{$user_password_4} +{$account.4.display_name} +{$account.4.user_id} +{$account.4.password} No @@ -1016,7 +1016,7 @@ Yes -{if $shared_line_5 == "shared"}shared{else}private{/if} +{if $account.5.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -1037,8 +1037,8 @@ up and down -{$sip_transport_5|upper} -{$sip_port_5} +{$account.5.sip_transport|upper} +{$account.5.sip_port} No Yes @@ -1080,18 +1080,18 @@ No -{$server_address_5} -{if isset($outbound_proxy_primary_5)}Yes{else}No{/if} -{$outbound_proxy_primary_5} -{$server_address_5} -{$outbound_proxy_secondary_5} +{$account.5.server_address} +{if isset($account.5.outbound_proxy_primary)}Yes{else}No{/if} +{$account.5.outbound_proxy_primary} +{$account.5.server_address} +{$account.5.outbound_proxy_secondary} Yes Yes No -{$register_expires_5} +{$account.5.register_expires} No -{if $sip_transport_5 == 'dns srv'}Yes{/if} -{if $sip_transport_5 != 'dns srv'}No{/if} +{if $account.5.sip_transport == 'dns srv'}Yes{/if} +{if $account.5.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -1099,9 +1099,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_5} -{$user_id_5} -{$user_password_5} +{$account.5.display_name} +{$account.5.user_id} +{$account.5.password} No @@ -1140,7 +1140,7 @@ Yes -{if $shared_line_6 == "shared"}shared{else}private{/if} +{if $account.6.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -1161,8 +1161,8 @@ up and down -{$sip_transport_6|upper} -{$sip_port_6} +{$account.6.sip_transport|upper} +{$account.6.sip_port} No Yes @@ -1204,18 +1204,18 @@ No -{$server_address_6} -{if isset($outbound_proxy_primary_6)}Yes{else}No{/if} -{$outbound_proxy_primary_6} -{$server_address_6} -{$outbound_proxy_secondary_6} +{$account.6.server_address} +{if isset($account.6.outbound_proxy_primary)}Yes{else}No{/if} +{$account.6.outbound_proxy_primary} +{$account.6.server_address} +{$account.6.outbound_proxy_secondary} Yes Yes No -{$register_expires_6} +{$account.6.register_expires} No -{if $sip_transport_6 == 'dns srv'}Yes{/if} -{if $sip_transport_6 != 'dns srv'}No{/if} +{if $account.6.sip_transport == 'dns srv'}Yes{/if} +{if $account.6.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -1223,9 +1223,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_6} -{$user_id_6} -{$user_password_6} +{$account.6.display_name} +{$account.6.user_id} +{$account.6.password} No @@ -1264,7 +1264,7 @@ Yes -{if $shared_line_7 == "shared"}shared{else}private{/if} +{if $account.7.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -1285,8 +1285,8 @@ up and down -{$sip_transport_7|upper} -{$sip_port_7} +{$account.7.sip_transport|upper} +{$account.7.sip_port} No Yes @@ -1328,18 +1328,18 @@ No -{$server_address_7} -{if isset($outbound_proxy_primary_7)}Yes{else}No{/if} -{$outbound_proxy_primary_7} -{$server_address_7} -{$outbound_proxy_secondary_7} +{$account.7.server_address} +{if isset($account.7.outbound_proxy_primary)}Yes{else}No{/if} +{$account.7.outbound_proxy_primary} +{$account.7.server_address} +{$account.7.outbound_proxy_secondary} Yes Yes No -{$register_expires_7} +{$account.7.register_expires} No -{if $sip_transport_7 == 'dns srv'}Yes{/if} -{if $sip_transport_7 != 'dns srv'}No{/if} +{if $account.7.sip_transport == 'dns srv'}Yes{/if} +{if $account.7.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -1347,9 +1347,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_7} -{$user_id_7} -{$user_password_7} +{$account.7.display_name} +{$account.7.user_id} +{$account.7.password} No @@ -1388,7 +1388,7 @@ Yes -{if $shared_line_8 == "shared"}shared{else}private{/if} +{if $account.8.shared_line == "shared"}shared{else}private{/if} 3600 No @@ -1409,8 +1409,8 @@ up and down -{$sip_transport_8|upper} -{$sip_port_8} +{$account.8.sip_transport|upper} +{$account.8.sip_port} No Yes @@ -1452,18 +1452,18 @@ No -{$server_address_8} -{if isset($outbound_proxy_primary_8)}Yes{else}No{/if} -{$outbound_proxy_primary_8} -{$server_address_8} -{$outbound_proxy_secondary_8} +{$account.8.server_address} +{if isset($account.8.outbound_proxy_primary)}Yes{else}No{/if} +{$account.8.outbound_proxy_primary} +{$account.8.server_address} +{$account.8.outbound_proxy_secondary} Yes Yes No -{$register_expires_8} +{$account.8.register_expires} No -{if $sip_transport_8 == 'dns srv'}Yes{/if} -{if $sip_transport_8 != 'dns srv'}No{/if} +{if $account.8.sip_transport == 'dns srv'}Yes{/if} +{if $account.8.sip_transport != 'dns srv'}No{/if} No 600 Normal @@ -1471,9 +1471,9 @@ {if isset($spa_register_when_failover)}Yes{else}No{/if} -{$display_name_8} -{$user_id_8} -{$user_password_8} +{$account.8.display_name} +{$account.8.user_id} +{$account.8.password} No