diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index b2be347722..2bacc13796 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -6536,12 +6536,8 @@ -{if isset($contact_grandstream)} - 1 -{else} - 0 -{/if} + {$grandstream_phonebook_download} @@ -6555,7 +6551,7 @@ -{if isset($contact_grandstream)} +{if isset($grandstream_phonebook_download)} {$grandstream_phonebook_xml_server_path}{$mac}/ {elseif isset($grandstream_phonebook_xml_server_path)} {$grandstream_phonebook_xml_server_path} @@ -6575,7 +6571,7 @@ - 1 + 0