diff --git a/app/call_broadcast/call_broadcast.php b/app/call_broadcast/call_broadcast.php
index aff7712126..570e532c24 100644
--- a/app/call_broadcast/call_broadcast.php
+++ b/app/call_broadcast/call_broadcast.php
@@ -118,7 +118,7 @@
//get the call broadcasts
$sql = str_replace('count(*)','*', $sql);
- $sql .= order_by($order_by, $order);
+ $sql .= order_by($order_by, $order, 'broadcast_name', 'asc');
$sql .= limit_offset($rows_per_page, $offset);
$database = new database;
$result = $database->select($sql, $parameters, 'all');
diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php
index 7dea4ab8e0..78add06ae4 100644
--- a/app/grandstream/app_config.php
+++ b/app/grandstream/app_config.php
@@ -1077,4 +1077,44 @@
$apps[$x]['default_settings'][$y]['default_setting_value'] = "XMLApp";
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "label to display for XML application softkey";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "4ec80f34-4edc-476f-a04d-b157b85b69d3";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_intercom_playwarningtoneforautoanswer";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "153481e8-7a49-4d01-80f6-e7caa37a7ce2";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_multicast_paging_codec";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "9";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Multicast Paging Codec. 18 - G.729A/B, 0 - PCMU, 8 - PCMA, 2 - G.726-32, 9 - G.722, 98 - iLBC, 4- G.723.1 \r\nDefault is 0.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c1039b72-fd3a-4de7-8a74-e5e967f03b2a";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_multicast_channel_number";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Multicast Channel Number \r\n\r\nNumber: 0 - 50 (0 for normal RTP packets, 1-50 for Polycom multicast format packets.) Default is 0 - WP8xx defaults to 1-cannot use 0";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a3da99f4-c970-439b-a42f-b632291ec97c";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_multicast_listening_address_1";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "224.0.1.116:5001";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Multicast Listening\r\n\r\nPriority 1 Listening Address \r\n\r\n(224.0.1.116:5001 is default address for WP8xx PTT)";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7bcd0340-72bb-4043-8ec1-d58ffed0d518";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_multicast_listening_label_1";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Listening group name, for example: \"Cordless\", \"PTT\", or \"WalkieTalkie\"";
?>
diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml
index 08b6ca41e4..8e0e5f6fb2 100644
--- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml
@@ -933,7 +933,11 @@
- 1
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -3765,12 +3769,20 @@
- 0
-
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
+
- 0
-
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
+
{$account.1.display_name}
@@ -3779,12 +3791,20 @@
- 224.0.1.117:5003
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
- Page
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
+
diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml
index 2d8d36f968..8201c5ab11 100644
--- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml
@@ -933,7 +933,11 @@
- 1
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -4617,12 +4621,20 @@
- 0
-
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
+
- 0
-
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
+
{$account.1.display_name}
@@ -4631,12 +4643,20 @@
-
-
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
+
-
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
+
@@ -5259,7 +5279,9 @@
{if isset($grandstream_key_mode)}
- {$grandstream_key_mode}
+ {$grandstream_key_mode}
+ {else}
+ 1
{/if}
diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
index 7fb0b60617..34fe1ed1cd 100644
--- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
@@ -937,7 +937,11 @@
- 1
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -5891,11 +5895,19 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
@@ -5905,11 +5917,19 @@
- 224.0.1.117:5003
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
- Page
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml
index fbc63c2488..641b3dad07 100644
--- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml
@@ -938,7 +938,11 @@
- 1
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -6928,11 +6932,19 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
@@ -6942,11 +6954,19 @@
- 224.0.1.117:5003
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
- Page
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml
index 7640213c86..79b7e4d208 100644
--- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml
@@ -933,7 +933,11 @@
- 1
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -7807,11 +7811,19 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
@@ -7821,11 +7833,19 @@
- 224.0.1.117:5003
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
- Page
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
index 353d8c30c5..71d989f82b 100644
--- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml
@@ -941,7 +941,11 @@
- 0
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -7779,25 +7783,41 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
-
+ {$account.1.display_name}
-
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
index 822ac1ae37..6a4a62c74d 100644
--- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml
@@ -940,7 +940,11 @@
- 0
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -6639,7 +6643,11 @@
+ {if isset($grandstream_web_access_mode)}
+ {$grandstream_web_access_mode}
+ {else}
0
+ {/if}
@@ -7778,25 +7786,41 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
-
+ {$account.1.display_name}
-
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
index fd516c57d5..41069c6ff1 100644
--- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml
@@ -941,7 +941,11 @@
- 0
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -7779,25 +7783,41 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
-
+ {$account.1.display_name}
-
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
index f3adaa988c..82cd135362 100644
--- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml
@@ -941,7 +941,11 @@
- 0
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -7777,29 +7781,41 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
-
+ {$account.1.display_name}
- {if isset($multicast_listen_address_1)}
- {$multicast_listen_address_1}
-{else}
-
-{/if}
-
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
+
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
index 875616b0af..08c14d0507 100644
--- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
@@ -945,7 +945,11 @@
- 0
+ {if isset($grandstream_intercom_playwarningtoneforautoanswer) }
+ {$grandstream_intercom_playwarningtoneforautoanswer}
+ {else}
+ 0
+ {/if}
@@ -7790,29 +7794,41 @@
- 0
+ {if isset($grandstream_multicast_paging_codec) }
+ {$grandstream_multicast_paging_codec}
+ {else}
+ 0
+ {/if}
- 0
+ {if isset($grandstream_multicast_channel_number) }
+ {$grandstream_multicast_channel_number}
+ {else}
+ 0
+ {/if}
-
+ {$account.1.display_name}
- {if isset($multicast_listen_address_1)}
- {$multicast_listen_address_1}
-{else}
-
-{/if}
+ {if isset($grandstream_multicast_listening_address_1) }
+ {$grandstream_multicast_listening_address_1}
+ {else}
+
+ {/if}
-
+ {if isset($grandstream_multicast_listening_label_1) }
+ {$grandstream_multicast_listening_label_1}
+ {else}
+
+ {/if}
diff --git a/resources/templates/provision/grandstream/gxv3480/{$mac}.xml b/resources/templates/provision/grandstream/gxv3480/{$mac}.xml
new file mode 100644
index 0000000000..623c4f7dc3
--- /dev/null
+++ b/resources/templates/provision/grandstream/gxv3480/{$mac}.xml
@@ -0,0 +1,1308 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {for $line=1 to 16}
+ {$row=$lines.$line}
+
+
+ - {if filter_var($row.enabled, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+
+ - {$row.display_name}
+
+
+ - {$row.server_address}
+
+
+ - {$row.user_id}
+
+
+ - {$row.auth_id}
+
+
+ - {$row.password}
+
+ - {$voicemail_number}
+
+ - {$row.display_name}
+
+
+ - Disabled
+
+
+ - {$row.outbound_proxy_primary}
+
+ - {$row.outbound_proxy_secondary}
+
+
+{$dns=ARecord}
+{if isset($grandstream_dns_mode)}
+ {if $grandstream_dns_mode == 0}{$dns=ARecord}{/if}
+ {if $grandstream_dns_mode == 1}{$dns=SRV}{/if}
+ {if $grandstream_dns_mode == 2}{$dns=NaprtOrSrv}{/if}
+{/if}
+ - {$dns}
+
+
+ - Default
+
+
+ - KeepAlive
+
+
+
+
+ - Yes
+
+
+ - Instance
+
+ - {$row.register_expires}
+
+ - 0
+
+ - 20
+
+
+ - Yes
+
+ - Yes
+
+ - 30
+
+ - 3
+
+
+ - No
+
+
+ - Default
+
+
+ - Default
+
+
+{$tp=UDP}
+{if $row.sip_transport == 'udp'}{$tp=UDP}{/if}
+{if $row.sip_transport == 'tcp'}{$tp=TCP}{/if}
+{if $row.sip_transport == 'tls'}{$tp=TlsOrTcp}{/if}
+{if $row.sip_transport == 'dns srv'}
+ {if isset($grandstream_dnssrv_transport)}
+ {if $grandstream_dnssrv_transport == 'udp'}{$tp=UDP}
+ {elseif $grandstream_dnssrv_transport == 'tls'}{$tp=TlsOrTcp}
+ {else}{$tp=TCP}
+ {/if}
+ {else}{$tp=TCP}
+ {/if}
+{/if}
+ - {$tp}
+
+ - {$row.sip_port}
+
+
+ - sip
+
+
+ - No
+
+
+ - Yes
+
+
+ - 0_5sec
+
+
+ - 4sec
+
+ - 0
+
+
+ - InRoute
+
+
+ - No
+
+
+ - 180
+
+ - 90
+
+
+ - Omit
+
+
+ - UAC
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+
+ - G_722
+ - PCMU
+ - PCMA
+ - iLBC
+ - OPUS
+ - G_726_32
+ - G_729AOrB
+
+
+ - Caller
+
+
+ - No
+
+
+ - 30ms
+
+
+ - 1
+
+
+ - 126
+
+ - 123
+
+
+ - No
+ - Yes
+ - No
+
+ - 101
+
+
+ - Adaptive
+
+
+ - No
+
+
+ - 121
+
+
+ - 124
+
+
+ - No
+
+ - 2
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - 0
+
+
+ - 120
+
+
+
+ - Non-Interleaved
+
+
+ - 720P
+
+
+ - No
+
+
+ - BP&MP&HP
+
+
+
+
+ - 2048
+
+
+ - MediaLevel
+
+
+ - 99
+
+
+ - Yes
+
+
+ - 1080P
+
+
+ - BP&MP&HP
+
+
+
+
+ - 1024
+
+
+ - 15
+
+
+ - UDP
+
+
+ - Disabled
+
+
+ - AES128And256Bit
+
+
+ - Yes
+
+
+
+
+ - No
+
+
+ - Disable
+
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - Prompt
+
+
+ - EnableIntercom/Paging
+
+
+ - Yes
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+ - All
+
+
+ - No
+
+
+ - No
+
+
+ - Yes
+
+
+
+
+
+
+ - 4
+
+
+ - 60
+
+
+ - No
+
+
+ - Yes
+
+
+
+
+
+ - 0
+
+ - {$grandstream_dial_plan}
+
+
+
+ - Auto
+
+
+
+
+ - No
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+ - Disabled
+
+
+ - Yes
+
+
+ - No
+
+
+ - No
+
+
+ - No
+
+
+
+
+ - -1
+
+
+ - 100
+
+
+ - No
+
+
+
+ - **
+
+
+
+ - {if filter_var($grandstream_feature_key_sync, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+
+ - No
+
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+ - No
+
+
+
+
+ - {if isset($row.shared_line)}1{else}0{/if}
+
+
+
+ - {if isset($row.shared_line)}Yes{else}No{/if}
+
+
+ - Yes
+
+
+
+
+ - 15
+ {/for}
+
+
+
+ - 50040
+
+
+ - No
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - 20
+
+ - stun.ipvideotalk.com
+
+
+
+
+
+
+
+
+
+ - Yes
+
+
+ - No
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - Yes
+
+ - Yes
+
+
+ - BlindTransfer
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - No
+
+
+ - Disable
+
+
+ - No
+
+
+
+
+
+ - 30
+
+
+ - No
+
+
+ - No
+
+
+ - 2
+
+ - [()- ]
+
+
+ - Yes
+
+
+ - Local
+
+
+
+ - No
+
+ - f1=350@-13,f2=440@-13,c=0/0;
+
+
+
+ - f1=440,f2=480,c=2000/4000;
+
+ - f1=480,f2=620,c=500/500;
+
+ - f1=480,f2=620,c=250/250;
+
+ - f1=350,f2=440,c=100/100-100/100-100/100;
+
+ - f1=440,c=300/2000-300/2000-0/0;
+
+
+ - Low
+
+ - c=2000/4000;
+
+
+
+ - 15
+
+
+ - EqualProportionalCutting
+
+
+ - Yes
+
+
+
+ - Disable
+
+
+ - No
+
+
+ - PCMU
+
+
+ - No
+
+
+ - H264
+
+
+ - VGA
+
+
+
+
+ - 256
+
+
+ - 15
+
+
+ - Baseline
+
+
+ - 99
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {if $grandstream_ipv_mode=='0'}
+ - BothAndPreferIPv4
+ {elseif $grandstream_ipv_mode=='1'}
+ - BothAndPreferIPv6
+ {elseif $grandstream_ipv_mode=='2'}
+ - IPv4Only
+ {elseif $grandstream_ipv_mode=='3'}
+ - IPv6Only
+ {else}
+ - BothAndPreferIPv4
+ {/if}
+
+
+ - DHCP
+
+
+ - Disable
+
+
+
+
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+
+
+
+
+
+ - 0
+
+
+ - 0
+
+
+ - AutoConfigured
+
+
+
+ - 64
+
+
+
+
+
+
+ - Disable
+
+
+
+
+
+
+ {if isset($grandstream_wifi_enable)}
+
+ - {if filter_var($grandstream_wifi_enable, FILTER_VALIDATE_BOOLEAN)}Yes{else}No{/if}
+
+ {if isset($grandstream_wifi_essid)}
+ - {$grandstream_wifi_essid}
+
+ - {$grandstream_wifi_password}
+
+
+ - {$grandstream_wifi_hidden_security}
+ {/if}
+
+ - 0
+ {/if}
+
+
+
+ - 0
+
+
+
+ - 1194
+
+
+ - 0
+
+
+
+
+
+
+
+
+ - Blowfish
+
+
+
+
+
+
+ - 0
+ - 0
+ - 0
+ - 0
+
+
+
+
+
+
+
+ - Yes
+
+ - 30
+
+
+ - Yes
+
+ - 26
+
+ - 46
+
+ - 34
+
+
+
+
+
+
+ - Enabled
+
+ - 0
+
+ - 0
+
+
+
+
+
+ - pool.ntp.org
+
+
+ - Yes
+
+
+ - Yes
+
+
+{if isset($grandstream_timezone) }
+ - {$grandstream_timezone}
+{elseif isset($grandstream_gxp_time_zone) }
+ - {$grandstream_gxp_time_zone}
+{/if}
+
+
+ - 12Hour
+
+
+ - Normal
+
+
+ - en_US
+
+
+
+ - No
+
+
+ - HTTP
+
+
+ - 80
+
+
+ - No
+
+
+ - Allow
+
+ - {if isset($admin_password)}{$admin_password}{else}admin{/if}
+
+ - {if isset($device_password)}{$device_password}{else}user{/if}
+
+
+
+
+
+
+
+
+
+
+
+ - No
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - No
+
+
+ - Yes
+
+
+ - 10Mins
+
+
+ - 5Mins
+
+
+{if isset($grandstream_wallpaper_url)}
+ - Download
+{else}
+ - Default
+{/if}
+
+{if isset($grandstream_wallpaper_url)}
+ - {$grandstream_wallpaper_url}
+{else}
+
+{/if}
+
+
+ - Bright
+
+
+ - 0
+
+
+ - 0
+
+
+ - 0
+
+
+ - 0
+
+
+ - Normal
+
+
+ - No
+
+
+ - -6
+
+
+ - -6
+
+
+
+ - Yes
+
+ - https://acs.gdms.cloud/
+
+
+
+
+
+
+ - No
+
+ - 86400
+
+ - {$mac|replace:'-':''|upper}
+
+ - {$mac|replace:'-':''|upper}
+
+ - 7547
+
+
+
+
+
+
+
+ {if isset($grandstream_firmware_upgrade_protocol) }
+ {if $grandstream_firmware_upgrade_protocol=="0"}- TFTP
{/if}
+ {if $grandstream_firmware_upgrade_protocol=="1"}- HTTP
{/if}
+ {if $grandstream_firmware_upgrade_protocol=="2"}- HTTPS
{/if}
+ {else}
+ - HTTP
+ {/if}
+
+ {if isset($grandstream_firmware_path) && isset($firmware_version)}
+ - {$grandstream_firmware_path}/{$firmware_version}
+ {elseif isset($grandstream_firmware_path)}
+ - {$grandstream_firmware_path}
+ {else}
+ - {$domain_name}{$project_path}/app/provision/resources/firmware/
+ {/if}
+
+ - {$http_auth_username}
+
+ - {$http_auth_password}
+
+
+
+
+
+
+ - HTTP
+
+ {if $grandstream_config_server_path=="none"}
+
+ {elseif isset($grandstream_config_server_path)}
+ - {$grandstream_config_server_path}
+ {else}
+ - {$domain_name}{$project_path}/app/provision
+ {/if}
+
+ - {$http_auth_username}
+
+ - {$http_auth_password}
+
+
+
+
+
+
+ - No
+
+
+
+
+ - HTTPS
+
+ {if $grandstream_config_server_path=="none"}
+
+ {elseif isset($grandstream_config_server_path)}
+ - {$grandstream_config_server_path}
+ {else}
+ - {$domain_name}{$project_path}/app/provision
+ {/if}
+
+ - {$http_auth_username}
+
+ - {$http_auth_password}
+
+
+ - 0
+
+
+
+
+ - No
+
+ - 22
+ - 23
+
+
+
+ - 1
+
+
+ - 10080
+
+
+ - AlwaysCheck
+
+
+ - Yes
+
+
+ - No
+
+
+ - Yes
+
+
+ - Yes
+
+
+ - No
+
+
+
+ - Yes
+
+
+
+
+ - UDP
+
+ - log.ipvideotalk.com
+
+
+ - None
+
+
+
+
+
+ - Name
+
+
+ - No
+
+
+
+ - LastName
+
+
+ - Default
+
+
+ - 911
+
+
+
+ - No
+
+
+ - Yes
+
+
+ - Disabled
+
+
+ - UTF
+
+
+
+
+
+
+
+
+ - 0
+
+
+
+ - LDAP
+
+
+
+ - 389
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 50
+
+ - 4
+
+
+ - No
+
+
+ - No
+
+
+ - 0
+
+
+
+
+
+ {$keyIndex=1}
+
+
+ {$key_types=["none"=>"","speed dial"=>"SpeedDial","blf"=>"BLF","speed dial active"=>"SpeedDialViaActiveAccount","dial dtmf"=>"DialDTMF","intercom"=>"Intercom","transfer"=>"Transfer","call park"=>"CallPark","multicast paging"=>"MulticastPaging","conference"=>"Conference"]}
+ {foreach $keys as $category => $rows}
+ {foreach $rows as $row}
+ {if isset($row.device_key_type)}
+ - {$key_types[$row.device_key_type]}
+
+
+
+ - {$row.device_key_line}-1
+
+ - {$row.device_key_label}
+
+
+ - {$row.device_key_value}
+
+ {$keyIndex=$keyIndex+1}
+ {/if}
+ {/foreach}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
index f13ce71d80..c26f2757ae 100644
--- a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
@@ -801,12 +801,12 @@
-100
+101
-100
+102
@@ -3276,7 +3276,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_1)}
+{$grandstream_offhook_auto_dial_1}
+{else}
+{/if}
0
1
@@ -3295,7 +3299,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_2)}
+{$grandstream_offhook_auto_dial_2}
+{else}
+{/if}
0
1
@@ -3314,7 +3322,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_3)}
+{$grandstream_offhook_auto_dial_3}
+{else}
+{/if}
0
1
@@ -3333,7 +3345,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_4)}
+{$grandstream_offhook_auto_dial_4}
+{else}
+{/if}
0
1
@@ -3352,7 +3368,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_5)}
+{$grandstream_offhook_auto_dial_5}
+{else}
+{/if}
0
1
@@ -3371,7 +3391,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_6)}
+{$grandstream_offhook_auto_dial_6}
+{else}
+{/if}
0
1
@@ -3390,7 +3414,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_7)}
+{$grandstream_offhook_auto_dial_7}
+{else}
+{/if}
0
1
@@ -3409,7 +3437,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_8)}
+{$grandstream_offhook_auto_dial_8}
+{else}
+{/if}
0
1
@@ -3428,7 +3460,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_9)}
+{$grandstream_offhook_auto_dial_9}
+{else}
+{/if}
0
1
@@ -3447,7 +3483,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_10)}
+{$grandstream_offhook_auto_dial_10}
+{else}
+{/if}
0
1
@@ -3466,7 +3506,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_11)}
+{$grandstream_offhook_auto_dial_11}
+{else}
+{/if}
0
1
@@ -3485,7 +3529,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_12)}
+{$grandstream_offhook_auto_dial_12}
+{else}
+{/if}
0
1
@@ -3504,7 +3552,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_13)}
+{$grandstream_offhook_auto_dial_13}
+{else}
+{/if}
0
1
@@ -3523,7 +3575,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_14)}
+{$grandstream_offhook_auto_dial_14}
+{else}
+{/if}
0
1
@@ -3542,7 +3598,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_15)}
+{$grandstream_offhook_auto_dial_15}
+{else}
+{/if}
0
1
@@ -3561,7 +3621,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_16)}
+{$grandstream_offhook_auto_dial_16}
+{else}
+{/if}
0
1
@@ -3580,7 +3644,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_17)}
+{$grandstream_offhook_auto_dial_17}
+{else}
+{/if}
0
1
@@ -3599,7 +3667,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_18)}
+{$grandstream_offhook_auto_dial_18}
+{else}
+{/if}
0
1
@@ -3618,7 +3690,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_19)}
+{$grandstream_offhook_auto_dial_19}
+{else}
+{/if}
0
1
@@ -3637,7 +3713,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_20)}
+{$grandstream_offhook_auto_dial_20}
+{else}
+{/if}
0
1
@@ -3656,7 +3736,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_21)}
+{$grandstream_offhook_auto_dial_21}
+{else}
+{/if}
0
1
@@ -3675,7 +3759,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_22)}
+{$grandstream_offhook_auto_dial_22}
+{else}
+{/if}
0
1
@@ -3694,7 +3782,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_23)}
+{$grandstream_offhook_auto_dial_23}
+{else}
+{/if}
0
1
@@ -3713,7 +3805,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_24)}
+{$grandstream_offhook_auto_dial_24}
+{else}
+{/if}
0
1
@@ -3732,7 +3828,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_25)}
+{$grandstream_offhook_auto_dial_25}
+{else}
+{/if}
0
1
@@ -3752,7 +3852,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_26)}
+{$grandstream_offhook_auto_dial_26}
+{else}
+{/if}
0
1
@@ -3771,7 +3875,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_27)}
+{$grandstream_offhook_auto_dial_27}
+{else}
+{/if}
0
1
@@ -3790,7 +3898,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_28)}
+{$grandstream_offhook_auto_dial_28}
+{else}
+{/if}
0
1
@@ -3809,7 +3921,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_29)}
+{$grandstream_offhook_auto_dial_29}
+{else}
+{/if}
0
1
@@ -3828,7 +3944,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_30)}
+{$grandstream_offhook_auto_dial_30}
+{else}
+{/if}
0
1
@@ -3847,7 +3967,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_31)}
+{$grandstream_offhook_auto_dial_31}
+{else}
+{/if}
0
1
@@ -3866,7 +3990,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_32)}
+{$grandstream_offhook_auto_dial_32}
+{else}
+{/if}
0
1
@@ -3885,7 +4013,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_33)}
+{$grandstream_offhook_auto_dial_33}
+{else}
+{/if}
0
1
@@ -3904,7 +4036,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_34)}
+{$grandstream_offhook_auto_dial_34}
+{else}
+{/if}
0
1
@@ -3923,7 +4059,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_35)}
+{$grandstream_offhook_auto_dial_35}
+{else}
+{/if}
0
1
@@ -3942,7 +4082,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_36)}
+{$grandstream_offhook_auto_dial_36}
+{else}
+{/if}
0
1
@@ -3961,7 +4105,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_37)}
+{$grandstream_offhook_auto_dial_37}
+{else}
+{/if}
0
1
@@ -3980,7 +4128,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_38)}
+{$grandstream_offhook_auto_dial_38}
+{else}
+{/if}
0
1
@@ -3999,7 +4151,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_39)}
+{$grandstream_offhook_auto_dial_39}
+{else}
+{/if}
0
1
@@ -4018,7 +4174,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_40)}
+{$grandstream_offhook_auto_dial_40}
+{else}
+{/if}
0
1
@@ -4037,7 +4197,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_41)}
+{$grandstream_offhook_auto_dial_41}
+{else}
+{/if}
0
1
@@ -4056,7 +4220,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_42)}
+{$grandstream_offhook_auto_dial_42}
+{else}
+{/if}
0
1
@@ -4075,7 +4243,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_43)}
+{$grandstream_offhook_auto_dial_43}
+{else}
+{/if}
0
1
@@ -4094,7 +4266,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_44)}
+{$grandstream_offhook_auto_dial_44}
+{else}
+{/if}
0
1
@@ -4113,7 +4289,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_45)}
+{$grandstream_offhook_auto_dial_45}
+{else}
+{/if}
0
1
@@ -4132,7 +4312,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_46)}
+{$grandstream_offhook_auto_dial_46}
+{else}
+{/if}
0
1
@@ -4151,7 +4335,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_47)}
+{$grandstream_offhook_auto_dial_47}
+{else}
+{/if}
0
1
@@ -4170,7 +4358,11 @@
1
{/if}
+{if isset($grandstream_offhook_auto_dial_48)}
+{$grandstream_offhook_auto_dial_48}
+{else}
+{/if}
0
1
diff --git a/resources/templates/provision/grandstream/wp820/{$mac}.xml b/resources/templates/provision/grandstream/wp820/{$mac}.xml
index 6b3705d877..7868ca3f29 100644
--- a/resources/templates/provision/grandstream/wp820/{$mac}.xml
+++ b/resources/templates/provision/grandstream/wp820/{$mac}.xml
@@ -376,17 +376,29 @@
-0
+{if isset($grandstream_senddtmf_inaudio) }
+{$grandstream_senddtmf_inaudio}
+{else}
+0
+{/if}
-1
+{if isset($grandstream_senddtmf_rtp) }
+{$grandstream_senddtmf_rtp}
+{else}
+1
+{/if}
-0
+{if isset($grandstream_senddtmf_sipinfo) }
+{$grandstream_senddtmf_sipinfo}
+{else}
+0
+{/if}
@@ -1030,27 +1042,27 @@
{if isset($grandstream_senddtmf_inaudio) }
- {$grandstream_senddtmf_inaudio}
+ {$grandstream_senddtmf_inaudio}
{else}
- 0
+ 0
{/if}
{if isset($grandstream_senddtmf_rtp) }
- {$grandstream_senddtmf_rtp}
+ {$grandstream_senddtmf_rtp}
{else}
- 1
+ 1
{/if}
{if isset($grandstream_senddtmf_sipinfo) }
- {$grandstream_senddtmf_sipinfo}
+ {$grandstream_senddtmf_sipinfo}
{else}
- 0
+ 0
{/if}
@@ -1339,7 +1351,7 @@
-0
+1
@@ -1838,20 +1850,25 @@
-Grandstream WP800
+
-
-
+
+{if isset($grandstream_wifi_roam_scan_interval_good)}
+{$grandstream_wifi_roam_scan_interval_good}
+{/if}
-
-
-
-
-
-
+
+{if isset($grandstream_wifi_roam_scan_interval_poor)}
+{$grandstream_wifi_roam_scan_interval_poor}
+{/if}
+
+
+{if isset($grandstream_wifi_roam_signal_threshold)}
+{$grandstream_wifi_roam_signal_threshold}
+{/if}
@@ -2284,7 +2301,7 @@
-
+7547