From d4ae16bce78238d9a718b96ff2306334a30b452b Mon Sep 17 00:00:00 2001
From: vivoras <60329535+vivoras@users.noreply.github.com>
Date: Fri, 2 Oct 2020 07:39:31 +0200
Subject: [PATCH 1/2] Update {$mac}.xml
Add phonebook options
---
.../templates/provision/grandstream/gxp2130/{$mac}.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
index 3060319c5b..29c97ebad1 100644
--- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
@@ -6679,7 +6679,11 @@
+{if isset($grandstream_sort_phonebook_by)}
+ {$grandstream_sort_phonebook_by}
+{else}
0
+{/if}
@@ -6693,7 +6697,11 @@
+{if isset($grandstream_phonebook_search_mode)}
+ {$grandstream_phonebook_search_mode}
+{else}
0
+{/if}
From 477d411023c026577872c3d06964a39e29e3f3e2 Mon Sep 17 00:00:00 2001
From: vivoras <60329535+vivoras@users.noreply.github.com>
Date: Fri, 2 Oct 2020 07:40:01 +0200
Subject: [PATCH 2/2] Update {$mac}.xml
Add phonebook options
---
.../templates/provision/grandstream/gxp2160/{$mac}.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
index 8db9185b49..9509a8f213 100644
--- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
@@ -6683,7 +6683,11 @@
+{if isset($grandstream_sort_phonebook_by)}
+ {$grandstream_sort_phonebook_by}
+{else}
0
+{/if}
@@ -6697,7 +6701,11 @@
+{if isset($grandstream_phonebook_search_mode)}
+ {$grandstream_phonebook_search_mode}
+{else}
0
+{/if}