Yealink directory listing for extensions, groups, users contacts (#1588)

* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
This commit is contained in:
Chris Black
2016-05-12 10:22:40 -07:00
committed by FusionPBX
parent 8e01682c3c
commit 7b99a14f67
14 changed files with 465 additions and 173 deletions
@@ -547,8 +547,20 @@ dialplan.item.1 =
#remote_phonebook.data.X.url =
#remote_phonebook.data.X.name =
remote_phonebook.data.1.url = {$yealink_remote_phone_book_url}
remote_phonebook.data.1.name = Local Extensions
remote_phonebook.data.1.url = {$yealink_remote_phone_book_url_1}
remote_phonebook.data.1.name = {$yealink_remote_phone_book_name_1}
remote_phonebook.data.2.url = {$yealink_remote_phone_book_url_2}
remote_phonebook.data.2.name = {$yealink_remote_phone_book_name_2}
remote_phonebook.data.3.url = {$yealink_remote_phone_book_url_3}
remote_phonebook.data.3.name = {$yealink_remote_phone_book_name_3}
remote_phonebook.data.4.url = {$yealink_remote_phone_book_url_4}
remote_phonebook.data.4.name = {$yealink_remote_phone_book_name_4}
remote_phonebook.data.5.url = {$yealink_remote_phone_book_url_5}
remote_phonebook.data.5.name = {$yealink_remote_phone_book_name_5}
#######################################################################################
## Network Directory ##