diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml
index 8db50926de..3ca438cd67 100644
--- a/resources/templates/provision/grandstream/ht801/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml
@@ -1390,12 +1390,24 @@
- 0
+ {if isset($grandstream_line_echo_canceller)}
+ {$grandstream_line_echo_canceller}
+ {elseif isset($grandstream_line_1_echo_canceller)}
+ {$grandstream_line_1_echo_canceller}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_line_echo_suppressor)}
+ {$grandstream_line_echo_suppressor}
+ {elseif isset($grandstream_line_1_echo_suppressor)}
+ {$grandstream_line_1_echo_suppressor}
+ {else}
+ 0
+ {/if}
@@ -1692,12 +1704,24 @@
- 0
+ {if isset($grandstream_line_echo_canceller)}
+ {$grandstream_line_echo_canceller}
+ {elseif isset($grandstream_line_2_echo_canceller)}
+ {$grandstream_line_2_echo_canceller}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_line_echo_suppressor)}
+ {$grandstream_line_echo_suppressor}
+ {elseif isset($grandstream_line_2_echo_suppressor)}
+ {$grandstream_line_2_echo_suppressor}
+ {else}
+ 0
+ {/if}