diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 94ca66995c..06a796fdea 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -6650,7 +6650,7 @@ -{if isset($grandstream_phonebook_download)} +{if isset($grandstream_phonebook_xml_server_path)} {$grandstream_phonebook_xml_server_path}{$mac}/ {elseif isset($grandstream_phonebook_xml_server_path)} {$grandstream_phonebook_xml_server_path} @@ -6685,7 +6685,7 @@ -{if isset($contact_grandstream)} +{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)} 2 {else} 0