diff --git a/resources/templates/provision/grandstream/ht814/{$mac}.xml b/resources/templates/provision/grandstream/ht814/{$mac}.xml
index 8fefd91a5c..60951dc64b 100644
--- a/resources/templates/provision/grandstream/ht814/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht814/{$mac}.xml
@@ -16,7 +16,7 @@
- {$admin_password}
+ {$admin_password|escape: 'html'}
@@ -109,7 +109,7 @@
- {$http_auth_password}
+ {$http_auth_password|escape: 'html'}
@@ -503,8 +503,11 @@
+ {if $account.1.sip_transport != 'dns srv'}
+ {$account.1.server_address}:{$account.1.sip_port}
+ {else}
{$account.1.server_address}
-
+ {/if}
@@ -961,7 +964,7 @@
{if isset($grandstream_dial_plan) }
- {$grandstream_dial_plan}
+ {$grandstream_dial_plan|escape: 'html'}
{else}
{literal}{ x+ | *x+ | *xx*x+ }{/literal}
{/if}
@@ -1744,7 +1747,7 @@
0
-
+
0
@@ -2123,4 +2126,4 @@
-
\ No newline at end of file
+