C520 directory changes to template (#6982)
* added directory to Snom C520 * uri change * minor changes to the template * added number_type in xml to fix directory
This commit is contained in:
parent
03c78e45bc
commit
0ae13e26c5
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<tbook e="2" complete="true">
|
||||
{foreach $contacts as $row}
|
||||
<item context="active" type="{if $row.category == "extensions"}colleagues{else}none{/if}" index="{$row@index}">
|
||||
<first_name>{$row.contact_name_given}</first_name>
|
||||
<last_name>{$row.contact_name_family}</last_name>
|
||||
<number>{if $row.category == "extensions"}{$row.phone_extension}{else}{$row.phone_number}{/if}</number>
|
||||
<number_type>business</number_type>
|
||||
</item>
|
||||
{/foreach}
|
||||
</tbook>
|
||||
|
|
@ -1,4 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<file>
|
||||
<contact>
|
||||
<directory>
|
||||
<overwrite>https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}{$project_path}/app/provision/{$mac}/directory.xml</overwrite>
|
||||
</directory>
|
||||
</contact>
|
||||
</file>
|
||||
<profile>
|
||||
<admin>
|
||||
<access_password>{$admin_password}</access_password>
|
||||
</admin>
|
||||
<user>
|
||||
<access_password>{$admin_password}</access_password>
|
||||
</user>
|
||||
</profile>
|
||||
|
||||
<settings>
|
||||
<call_settings>
|
||||
<account>
|
||||
|
|
|
|||
Loading…
Reference in New Issue