diff --git a/resources/templates/provision/grandstream/ht802/{mac}.xml b/resources/templates/provision/grandstream/ht802/{mac}.xml
index a2e7fb8e3f..d13752ce35 100644
--- a/resources/templates/provision/grandstream/ht802/{mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{mac}.xml
@@ -25,12 +25,12 @@
{/if}
- {$server_address_1}
- {$outbound_proxy_1}
- {$user_id_1}
- {$user_id_1}
- {$user_password_1}
- {$display_name_1}
+ {$account.1.server_address}
+ {$account.1.outbound_proxy}
+ {$account.1.user_id}
+ {$account.1.user_id}
+ {$account.1.password}
+ {$account.1.display_name}
2
20
1
@@ -42,19 +42,19 @@
1
0
- {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 $account.1.sip_transport == 'udp'}0{/if}
+ {if $account.1.sip_transport == 'tcp'}1{/if}
+ {if $account.1.sip_transport == 'tls'}2{/if}
+ {if $account.1.sip_transport == 'dns srv'}1{/if}
- {$server_address_2}
- {$outbound_proxy_2}
- {$user_id_2}
- {$user_id_2}
- {$user_password_2}
- {$display_name_2}
+ {$account.2.server_address}
+ {$account.2.outbound_proxy}
+ {$account.2.user_id}
+ {$account.2.user_id}
+ {$account.2.password}
+ {$account.2.display_name}
1
0
0
@@ -62,10 +62,10 @@
1
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 $account.2.sip_transport == 'udp'}0{/if}
+ {if $account.2.sip_transport == 'tcp'}1{/if}
+ {if $account.2.sip_transport == 'tls'}2{/if}
+ {if $account.2.sip_transport == 'dns srv'}1{/if}