Update {$mac}.xml

This commit is contained in:
Len 2017-07-29 01:59:19 -04:00 committed by GitHub
parent c36626da51
commit bad302306e
1 changed files with 11 additions and 3 deletions

View File

@ -1302,12 +1302,20 @@
<!-- Enable Phonebook XML Download. # 0 - No, 1 - YES, HTTP, 2 - YES, TFTP, 3 - Yes, HTTPS. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P330>0</P330>
<P330>2</P330>
<!-- Phonebook XML Server Path -->
<!-- This is a string of up to 256 characters that should contain a path to the XML file. It MUST be in the host/path format. -->
<!-- For example: directory.grandstream.com/engineering -->
<!-- String -->
<P331></P331>
{if isset($contact_grandstream)}
<P331>{$grandstream_phonebook_xml_server_path}{$mac}/</P331>
{elseif isset($grandstream_phonebook_xml_server_path)}
<P331>{$grandstream_phonebook_xml_server_path}</P331>
{else}
<P331></P331>
{/if}
<!-- Phonebook Download Interval (in minutes) -->
<!-- Valid value range is 5-720. Default is 0 for disabled -->
<!-- Number: 0, 5-720; -->
@ -1712,4 +1720,4 @@
<!-- String -->
<P1468></P1468>
</config>
</gs_provision>
</gs_provision>