From d70fa0307bc86c239039afa4e2b518c76d22a694 Mon Sep 17 00:00:00 2001 From: Norman King Date: Sat, 15 Jul 2023 20:49:39 -0400 Subject: [PATCH] Add var to enable tr 069 on grandstream (#6774) * added tr069 enable and periodic_inform_enable vars to config templates add variable on dp750 template for enabling tr-069 provisioning. * add vars to grandstream app default settings * add if condition to use the variables. * Update app_config.php --- app/grandstream/app_config.php | 17 + .../provision/grandstream/dp715.sm/{$mac}.xml | 5 + .../provision/grandstream/dp715/{$mac}.xml | 7 +- .../provision/grandstream/dp750/{$mac}.xml | 8 + .../provision/grandstream/gac2500/{$mac}.xml | 14 +- .../provision/grandstream/grp2612/{$mac}.xml | 7 +- .../provision/grandstream/grp2612w/{$mac}.xml | 7 +- .../provision/grandstream/grp2613/{$mac}.xml | 7 +- .../provision/grandstream/grp2614/{$mac}.xml | 7 +- .../provision/grandstream/grp2615/{$mac}.xml | 7 +- .../provision/grandstream/grp2616/{$mac}.xml | 7 +- .../provision/grandstream/grp26xx/{$mac}.xml | 7 +- .../provision/grandstream/gxp110x/{$mac}.xml | 5 + .../provision/grandstream/gxp116x/{$mac}.xml | 5 + .../provision/grandstream/gxp140x/{$mac}.xml | 7 +- .../grandstream/gxp140xbk/{$mac}.xml | 7 +- .../provision/grandstream/gxp1450/{$mac}.xml | 5 + .../grandstream/gxp1450bk/{$mac}.xml | 5 + .../provision/grandstream/gxp16xx/{$mac}.xml | 6302 +++++++------- .../provision/grandstream/gxp17xx/{$mac}.xml | 5 + .../provision/grandstream/gxp2100/{$mac}.xml | 7 +- .../provision/grandstream/gxp2124/{$mac}.xml | 7 +- .../provision/grandstream/gxp2130/{$mac}.xml | 7 +- .../provision/grandstream/gxp2135/{$mac}.xml | 7 +- .../provision/grandstream/gxp2140/{$mac}.xml | 7 +- .../provision/grandstream/gxp2160/{$mac}.xml | 7 +- .../provision/grandstream/gxp2170/{$mac}.xml | 7 +- .../provision/grandstream/gxp21xx/{$mac}.xml | 7339 +++++++++-------- .../grandstream/gxp21xxbk/{$mac}.xml | 10 + .../provision/grandstream/gxp2200/{$mac}.xml | 10 + .../provision/grandstream/gxp3240/{$mac}.xml | 10 + .../provision/grandstream/gxv3240/{$mac}.xml | 10 + .../provision/grandstream/gxv3275/{$mac}.xml | 10 + .../provision/grandstream/gxw40xx/{$mac}.xml | 7 +- .../provision/grandstream/gxw42xx/{$mac}.xml | 5 + .../provision/grandstream/ht502/{$mac}.xml | 7 +- .../provision/grandstream/ht503/{$mac}.xml | 5 + .../provision/grandstream/ht701/{$mac}.xml | 5 + .../provision/grandstream/ht702/{$mac}.xml | 5 + .../provision/grandstream/ht704/{$mac}.xml | 5 + .../provision/grandstream/ht801/{$mac}.xml | 14 +- .../provision/grandstream/ht802/{$mac}.xml | 14 +- .../provision/grandstream/ht814/{$mac}.xml | 14 +- .../provision/grandstream/ht818/{$mac}.xml | 6 +- .../provision/grandstream/wp810/{$mac}.xml | 6 +- .../provision/grandstream/wp820/{$mac}.xml | 5 + 46 files changed, 7133 insertions(+), 6844 deletions(-) diff --git a/app/grandstream/app_config.php b/app/grandstream/app_config.php index 23e7d884f7..72fac4077b 100644 --- a/app/grandstream/app_config.php +++ b/app/grandstream/app_config.php @@ -846,6 +846,22 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Show Keys Label. 1 - Show, 2 - Hide, 0 - Toggle. Default is 0"; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "deef7015-8460-4e02-b986-3f2f2d804c76"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_tr069_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable tr-069 provisioning for grandstream devices 0-disable, 1-enable"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "bad2bcef-4117-4aa3-ad29-ffd2b6b832aa"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_tr069_periodic_inform_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "enables the periodic enform enable interval 0-disable, 1-enable"; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "13d088f2-5d1b-47bf-a9b5-e7fdc24faeec"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_missed_call_log"; @@ -1125,5 +1141,6 @@ $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Public Mode. 0 - No, 1 - Yes. Default is 0"; + $y++; ?> diff --git a/resources/templates/provision/grandstream/dp715.sm/{$mac}.xml b/resources/templates/provision/grandstream/dp715.sm/{$mac}.xml index b7e6b51f45..9735e579f3 100644 --- a/resources/templates/provision/grandstream/dp715.sm/{$mac}.xml +++ b/resources/templates/provision/grandstream/dp715.sm/{$mac}.xml @@ -151,7 +151,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + 300 diff --git a/resources/templates/provision/grandstream/dp715/{$mac}.xml b/resources/templates/provision/grandstream/dp715/{$mac}.xml index 7209254fc3..9574eb0d12 100644 --- a/resources/templates/provision/grandstream/dp715/{$mac}.xml +++ b/resources/templates/provision/grandstream/dp715/{$mac}.xml @@ -92,7 +92,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 300 diff --git a/resources/templates/provision/grandstream/dp750/{$mac}.xml b/resources/templates/provision/grandstream/dp750/{$mac}.xml index 2818c32019..9682183af6 100644 --- a/resources/templates/provision/grandstream/dp750/{$mac}.xml +++ b/resources/templates/provision/grandstream/dp750/{$mac}.xml @@ -3075,7 +3075,11 @@ +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} @@ -3092,7 +3096,11 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gac2500/{$mac}.xml b/resources/templates/provision/grandstream/gac2500/{$mac}.xml index 4b5eacf865..2f626be56e 100644 --- a/resources/templates/provision/grandstream/gac2500/{$mac}.xml +++ b/resources/templates/provision/grandstream/gac2500/{$mac}.xml @@ -4518,7 +4518,12 @@ - 0 + {if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} +0 +{/if} + @@ -4531,7 +4536,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index 7138439317..c247c5f33c 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -2629,7 +2629,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 04841f5346..9f37b35820 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -2711,7 +2711,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index cde2f20abc..5fa626878d 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -3504,7 +3504,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml index a80b4863f6..6e9b34703d 100644 --- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml @@ -4714,7 +4714,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index 0495b050d8..45b52d7f98 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -5766,7 +5766,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index 769176e9fd..37ae41fd47 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -6632,7 +6632,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index cbdfa857e7..3f2f3b02f2 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -5946,7 +5946,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp110x/{$mac}.xml b/resources/templates/provision/grandstream/gxp110x/{$mac}.xml index e178670d29..ce830c4975 100644 --- a/resources/templates/provision/grandstream/gxp110x/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp110x/{$mac}.xml @@ -1060,7 +1060,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp116x/{$mac}.xml b/resources/templates/provision/grandstream/gxp116x/{$mac}.xml index 7c0a5a67f8..728d0b347d 100644 --- a/resources/templates/provision/grandstream/gxp116x/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp116x/{$mac}.xml @@ -936,7 +936,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml index a9c78f2c76..d4f8f96780 100644 --- a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml @@ -1281,7 +1281,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 86400 diff --git a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml index 654bbd5c1f..358d12b978 100644 --- a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml @@ -1281,7 +1281,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 86400 diff --git a/resources/templates/provision/grandstream/gxp1450/{$mac}.xml b/resources/templates/provision/grandstream/gxp1450/{$mac}.xml index ac28cf83a7..bb2abf7ce0 100644 --- a/resources/templates/provision/grandstream/gxp1450/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp1450/{$mac}.xml @@ -1691,7 +1691,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml b/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml index 424d58d473..c3d21d0264 100644 --- a/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml @@ -1498,7 +1498,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml index 2e3194df77..4b07d7e041 100644 --- a/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml @@ -1,3148 +1,3154 @@ - - -{$mac|replace:'-':''} - - - - - - - - - - - - - - - - -{if isset($account.1.password)} -1 -{else} -0 -{/if} - - -{$account.1.display_name} - - -{if $account.1.sip_transport != 'dns srv'} -{$account.1.server_address}:{$account.1.sip_port} -{else} -{$account.1.server_address} -{/if} - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.server_address_secondary)} -{$account.1.server_address_secondary}:{$account.1.sip_port} -{else} -{$account.1.server_address_secondary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} -{$account.1.outbound_proxy_primary}:{$account.1.sip_port} -{else} -{$account.1.outbound_proxy_primary} -{/if} - - - - -{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} -{$account.1.outbound_proxy_secondary}:{$account.1.sip_port} -{else} -{$account.1.outbound_proxy_secondary} -{/if} - - - -{$account.1.user_id} - - -{$account.1.auth_id} - - -{$account.1.password} - - -{$account.1.display_name} - - -{$voicemail_number} - - - - - - -{if isset($grandstream_dns_mode_1) } -{$grandstream_dns_mode_1} -{else} -0 -{/if} - - - - - - - - - - - - -{if isset($account.1.nat_traversal) } -{$account.1.nat_traversal} -{else} -0 -{/if} - - - - - - - - - -0 - - - -1 - - - -0 - - - -3 - - - -60 - - - -0 - - - -1 - - - -30 - - - -3 - - - -5060 - - - -20 - - - - -50 - - - - -400 - - - -{$tp=0} -{if $account.1.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.1.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} -{$tp} - - - -1 - - - -0 - - - -0 - - - -1 - - - -{if isset($subscribe_mwi)} -1 -{else} -0 -{/if} - - - -0 - - - -0 - - - -0 - - - - -0 - - - - - - - -0 - - - - -0 - - - - -1 - - - - -1 - - - - -1 - - - - - - -15 - - - - - - - -0 - - -** - - - - - - - -0 - - -{if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - - -100 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -1 - - - -180 - - - -90 - - - -0 - - - - -0 - - - -0 - - - -0 - - - -1 - - - - -0 - - - - - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -1 - - - -0 - - - -101 - - - - - -0 - - - -8 - - - -18 - - - -2 - - - -9 - - - -2 - - - -98 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -2 - - - -0 - - - -0 - - - -1 - - - -97 - - - -1 - - - - -2 - - - -0 - - - - - - -0 - - - - - - - -{if isset($grandstream_dial_plan) } -{$grandstream_dial_plan} -{else} -{literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} -{/if} - - - - - -20 - - - -1 - - - -0 - - - -{if isset($grandstream_account_ring_tone_1)||$grandstream_account_ring_tone_1==0} -{$grandstream_account_ring_tone_1} -{/if} - - - -{if isset($grandstream_ring_tone_caller_id_1_1)} -{$grandstream_ring_tone_caller_id_1_1} -{/if} - - - - - -{if isset($grandstream_ring_tone_1_1)||$grandstream_ring_tone_1_1==0} -{$grandstream_ring_tone_1_1} -{/if} - - - -{if isset($grandstream_ring_tone_caller_id_2_1)} -{$grandstream_ring_tone_caller_id_2_1} -{/if} - - - - - -{if isset($grandstream_ring_tone_2_1)||$grandstream_ring_tone_2_1==0} -{$grandstream_ring_tone_2_1} -{/if} - - - -{if isset($grandstream_ring_tone_caller_id_3_1)} -{$grandstream_ring_tone_caller_id_3_1} -{/if} - - - - - -{if isset($grandstream_ring_tone_3_1)||$grandstream_ring_tone_2_1==0} -{$grandstream_ring_tone_3_1} -{/if} - - - - -60 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -0 - - - -0 - - - -4 - - - -1 - - -*78 - - -*79 - - - - - - - - - -0 - - -0 - - - - - - - - - -{if isset($account.2.password)} -1 -{else} -0 -{/if} - - - -{$account.2.display_name} - - -{if $account.2.sip_transport != 'dns srv'} -{$account.2.server_address}:{$account.2.sip_port} -{else} -{$account.2.server_address} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} -{$account.2.server_address_secondary}:{$account.2.sip_port} -{else} -{$account.2.server_address_secondary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} -{$account.2.outbound_proxy_primary}:{$account.2.sip_port} -{else} -{$account.2.outbound_proxy_primary} -{/if} - - - - -{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} -{$account.2.outbound_proxy_secondary}:{$account.2.sip_port} -{else} -{$account.2.outbound_proxy_secondary} -{/if} - - - -{$account.2.user_id} - - - -{$account.2.auth_id} - - - -{$account.2.password} - - - -{$account.2.display_name} - - - -{$voicemail_number} - - - - - - -{if isset($account.2.dns_mode) } -{$account.2.dns_mode} -{else} -0 -{/if} - - - - - - - - - - - - -{if isset($account.2.nat_traversal) } -{$account.2.nat_traversal} -{else} -0 -{/if} - - - - - - - - - - -0 - - - -1 - - - -0 - - - -3 - - - -60 - - - -0 - - - -0 - - - -30 - - - -3 - - - -5062 - - - -20 - - - - -50 - - - - -400 - - - -{$tp=0} -{if $account.2.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.2.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if} -{$tp} - - - -1 - - - -0 - - - -0 - - - -1 - - - -{if isset($subscribe_mwi)} -1 -{else} -0 -{/if} - - - -0 - - - -0 - - - -0 - - - - -0 - - - - - - - -0 - - - - -0 - - - - -1 - - - - -1 - - - - -1 - - - - - - -15 - - - - - - - -0 - - -** - - - - - - - -0 - - -{if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - - -100 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -1 - - - -180 - - - -90 - - - -0 - - - - -0 - - - -0 - - - -0 - - - -1 - - - - -0 - - - - - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -1 - - - -0 - - - -101 - - - - - -0 - - - -8 - - - -18 - - - -9 - - - -2 - - - -2 - - - -2 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -2 - - - -0 - - - -0 - - - -1 - - - -97 - - - -1 - - - - -2 - - - -0 - - - - - - -0 - - - - - - -{ x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - -20 - - - -1 - - - -0 - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - -60 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -0 - - - -0 - - - -4 - - - -1 - - -*78 - - -*79 - - - - - - - - - -0 - - -0 -{if $template == "grandstream/gxp1630"} - - - - - - - - - -{if isset($account.3.password)} -1 -{else} -0 -{/if} - - - -{$account.3.display_name} - - - -{if $account.3.sip_transport != 'dns srv'} -{$account.3.server_address}:{$account.3.sip_port} -{else} -{$account.3.server_address} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} -{$account.3.server_address_secondary}:{$account.3.sip_port} -{else} -{$account.3.server_address_secondary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} -{$account.3.outbound_proxy_primary}:{$account.3.sip_port} -{else} -{$account.3.outbound_proxy_primary} -{/if} - - - - -{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} -{$account.3.outbound_proxy_secondary}:{$account.3.sip_port} -{else} -{$account.3.outbound_proxy_secondary} -{/if} - - - -{$account.3.user_id} - - - -{$account.3.auth_id} - - - -{$account.3.password} - - - -{$account.3.display_name} - - - -{$voicemail_number} - - - - - - -{if isset($account.3.dns_mode) } -{$account.3.dns_mode} -{else} -0 -{/if} - - - - - - - - - - - - -{if isset($account.3.nat_traversal) } -{$account.3.nat_traversal} -{else} -0 -{/if} - - - - - - - - - - -0 - - - -1 - - - -0 - - - -60 - - - -60 - - - -0 - - - -0 - - - -30 - - - -3 - - - -5064 - - - -20 - - - - -50 - - - - -400 - - - -{$tp=0} -{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} -{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} -{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} -{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if} -{$tp} - - - -1 - - - -0 - - - -0 - - - -1 - - - -{if isset($subscribe_mwi)} -1 -{else} -0 -{/if} - - - - -0 - - - -0 - - - -0 - - - - -0 - - - - - - - -0 - - - - -0 - - - - -1 - - - - -1 - - - - -1 - - - - - - -15 - - - - - - - -0 - - -{if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - -** - - - - - - - -0 - - - - - -100 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -1 - - - -180 - - - -90 - - - -0 - - - - -0 - - - -0 - - - -0 - - - -1 - - - - -0 - - - - - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -1 - - - -0 - - - -101 - - - - - -0 - - - -8 - - - -18 - - - -9 - - - -2 - - - -2 - - - -2 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -2 - - - -0 - - - -1 - - - -97 - - - -1 - - - - -2 - - - -0 - - - - - - -0 - - - - - - -{ x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - -20 - - - -1 - - - -0 - - - -0 - - -{$grandstream_distinctive_ringtone_name_1} - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - -60 - - - -0 - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - -0 - - - -0 - - - -4 - - - -1 - - -*78 - - -*79 - - - - - - - - - -0 - - -0 - - -{/if} - - - - - - - -{if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - -0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -192 - -168 - -0 - -160 - - -255 - -255 - -255 - -0 - - -0 - -0 - -0 - -0 - - -0 - -0 - -0 - -0 - - -0 - -0 - -0 - -0 - - -0 - -0 - -0 - -0 - - - -0 - - -0 - - - - - - - - - - - - - - - - - - - - - -0 - - - - - - - - - - - - - - - -26 - - - -46 - - - -0 - - - -{if isset($grandstream_lan_port_vlan) } -{$grandstream_lan_port_vlan} -{else} -0 -{/if} - - - - -0 - - - -0 - - -{if isset($grandstream_pc_port_vlan) } -{$grandstream_pc_port_vlan} -{else} -1 -{/if} - - -0 - - - -1 - - - -1500 - - - - - - -0 - - - - - - -1194 - - - - - - - - - - - - - - - - - - -{$user_password} - - - -{$admin_password} - - - - - - - - - - -0 - - - -0 - - - -0 - - - - -{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - -{if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} - - - - -{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - -1 - - - - - - - - -2 - - - -60 - - - -1 - - - -1 - - - -0 - - - -0 - - - - -2 - - -{if $grandstream_config_server_path=="none"} - -{elseif isset($grandstream_config_server_path)} -{$grandstream_config_server_path} -{elseif isset($domain_name)} -{$domain_name}{$project_path}/app/provision -{/if} - - -{$http_auth_username} - - -{$http_auth_password} - - - - - - - - - - - - -0 - - - - -2 - - -{if isset($grandstream_firmware_path) && isset($firmware_version)} -{$grandstream_firmware_path}/gxp16xx/{$firmware_version} -{elseif isset($grandstream_firmware_path)} -{$grandstream_firmware_path}/gxp16xx -{else} -{$domain_name}{$project_path}/app/provision -{/if} - - - - - - - - - - - - - - - - - -{$grandstream_syslog_server} - - - -{if isset($grandstream_syslog_level)} -{$grandstream_syslog_level} -{else} -0 -{/if} - - - - - - -{if isset($grandstream_send_sip_log)} -{$grandstream_send_sip_log} -{else} -0 -{/if} - - - - - - - - - - - - - - - -{if isset($grandstream_display_language) } -{$grandstream_display_language} -{else} -auto -{/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 - - -86400 - - - - - - - - -7547 - - - - - - - - - - - - -0 - - - -0 - - - - - - - - - - - - - - - -1 - - - -80 - - - -443 - - -0 - - -5 - - - - - - -{if isset($contact_grandstream)} -1 -{else} -0 -{/if} - - - - -{if isset($contact_grandstream)} -{$grandstream_phonebook_xml_server_path}{$mac}/ -{elseif isset($grandstream_phonebook_xml_server_path)} -{$grandstream_phonebook_xml_server_path} -{else} - -{/if} - - - - -120 - - - -1 - - - -0 - - - -{if isset($contact_grandstream)} -3 -{else} -0 -{/if} - - - - - - -{$grandstream_ldap_server} - - -389 - - - - -{$grandstream_ldap_base_dn} - - -{$ldap_username} - - -{$ldap_password} - - - -{$grandstream_ldap_number_filter} - - - -{$grandstream_ldap_name_filter} - - - -3 - - - -{$grandstream_ldap_name_attr} - - - -{$grandstream_ldap_number_attr} - - -givenName sn - - - - -50 - - - - -30 - - - -0 - - -1 - -1 - - -givenName sn - - - - - - -5004 - - - -0 - - - -20 - - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - - - - - - -30 - - - -0 - - - - - - - - - - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -0 - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - -0 - - - - - - -0 - - - -0 - - - -0 - - - - - - -0 - - - - - -300 - - - -200 - - - - - - -1 - - - - - - - - -0 - - - -0 - - - -0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -f1=440,f2=480,c=200/400; - - - -f1=350,f2=440; - - -f1=350,f2=440; - - - -f1=350,f2=440,c=10/10; - - - -f1=440,f2=480,c=200/400; - - - -f1=440,f2=440,c=25/525; - - - -0 - - - -f1=480,f2=620,c=50/50; - - - -f1=480,f2=620,c=25/25; - - - -7 - - - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - -{if isset($grandstream_headset_ring)} -{$grandstream_headset_ring} -{/if} - - - -0 - - - -{if isset($grandstream_headset_tx_gain)} -{$grandstream_headset_tx_gain} -{else} -0 -{/if} - - - -{if isset($grandstream_headset_rx_gain)} -{$grandstream_headset_rx_gain} -{else} -0 -{/if} - - - -0 - - - - - - - - - - -6 - - - - - - - -2 - - - -3 - - - -0 - - - - - - - - - -0 - - - - - -{if isset($ntp_server_primary)} -{$ntp_server_primary} -{else} -pool.ntp.org -{/if} - - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$grandstream_gxp_time_zone} - - - - -{if isset($grandstream_dhcp_time_zone)}{$grandstream_dhcp_time_zone}{else}0{/if} - - - - - - - - - - - - - -0 - - - -0 - - - - - - -1 - - - - - - - -0 - - - -0 - - - -0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{$start_id=1363} -{assign var=key_types value=["line"=>0,"shared line"=>1,"speed dial"=>10, "speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"intercom"=>20,"ldap search"=>21]} - -{for $line=1 to 2} -{$pid=$line*2-2} -{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} -{$key_types[$keys.line.$line.device_key_type]} -{$keys.line.$line.device_key_line} -{$keys.line.$line.device_key_label} -{$keys.line.$line.device_key_value} -{else} -0 -0 - - -{/if} - -{/for} - - - - - - - - - - -{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21]} -{$prog=1} -{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} -{$key_types[$keys.programmable.$prog.device_key_type]} - - - -{$keys.programmable.$prog.device_key_line} - - -{$keys.programmable.$prog.device_key_label} - - -{$keys.programmable.$prog.device_key_value} -{else} -0 -0 - - -{/if} - - - - - - - - - -{assign var=key_types value=["speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13]} -{$start_id=323} -{for $mem=1 to 7} -{$pid=$mem*3-3} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} -1 -0 - - -{/if} - -{/for} - -{$mem=8} -{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} -{$key_types[$keys.memory.$mem.device_key_type]} -{$keys.memory.$mem.device_key_line} -{$keys.memory.$mem.device_key_label} -{$keys.memory.$mem.device_key_value} -{else} -0 -0 - - -{/if} - - - - - - - - - - - - - - - -0 - - - -0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - - - -0 - - - - - + + +{$mac|replace:'-':''} + + + + + + + + + + + + + + + + +{if isset($account.1.password)} +1 +{else} +0 +{/if} + + +{$account.1.display_name} + + +{if $account.1.sip_transport != 'dns srv'} +{$account.1.server_address}:{$account.1.sip_port} +{else} +{$account.1.server_address} +{/if} + + + +{if $account.1.sip_transport != 'dns srv' && isset($account.1.server_address_secondary)} +{$account.1.server_address_secondary}:{$account.1.sip_port} +{else} +{$account.1.server_address_secondary} +{/if} + + + + +{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_primary)} +{$account.1.outbound_proxy_primary}:{$account.1.sip_port} +{else} +{$account.1.outbound_proxy_primary} +{/if} + + + + +{if $account.1.sip_transport != 'dns srv' && isset($account.1.outbound_proxy_secondary)} +{$account.1.outbound_proxy_secondary}:{$account.1.sip_port} +{else} +{$account.1.outbound_proxy_secondary} +{/if} + + + +{$account.1.user_id} + + +{$account.1.auth_id} + + +{$account.1.password} + + +{$account.1.display_name} + + +{$voicemail_number} + + + + + + +{if isset($grandstream_dns_mode_1) } +{$grandstream_dns_mode_1} +{else} +0 +{/if} + + + + + + + + + + + + +{if isset($account.1.nat_traversal) } +{$account.1.nat_traversal} +{else} +0 +{/if} + + + + + + + + + +0 + + + +1 + + + +0 + + + +3 + + + +60 + + + +0 + + + +1 + + + +30 + + + +3 + + + +5060 + + + +20 + + + + +50 + + + + +400 + + + +{$tp=0} +{if $account.1.sip_transport == 'udp'}{$tp=0}{/if} +{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if} +{if $account.1.sip_transport == 'tls'}{$tp=2}{/if} +{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if} +{$tp} + + + +1 + + + +0 + + + +0 + + + +1 + + + +{if isset($subscribe_mwi)} +1 +{else} +0 +{/if} + + + +0 + + + +0 + + + +0 + + + + +0 + + + + + + + +0 + + + + +0 + + + + +1 + + + + +1 + + + + +1 + + + + + + +15 + + + + + + + +0 + + +** + + + + + + + +0 + + +{if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} + + + + + + + + +100 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +1 + + + +180 + + + +90 + + + +0 + + + + +0 + + + +0 + + + +0 + + + +1 + + + + +0 + + + + + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +1 + + + +0 + + + +101 + + + + + +0 + + + +8 + + + +18 + + + +2 + + + +9 + + + +2 + + + +98 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +2 + + + +0 + + + +0 + + + +1 + + + +97 + + + +1 + + + + +2 + + + +0 + + + + + + +0 + + + + + + + +{if isset($grandstream_dial_plan) } +{$grandstream_dial_plan} +{else} +{literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} +{/if} + + + + + +20 + + + +1 + + + +0 + + + +{if isset($grandstream_account_ring_tone_1)||$grandstream_account_ring_tone_1==0} +{$grandstream_account_ring_tone_1} +{/if} + + + +{if isset($grandstream_ring_tone_caller_id_1_1)} +{$grandstream_ring_tone_caller_id_1_1} +{/if} + + + + + +{if isset($grandstream_ring_tone_1_1)||$grandstream_ring_tone_1_1==0} +{$grandstream_ring_tone_1_1} +{/if} + + + +{if isset($grandstream_ring_tone_caller_id_2_1)} +{$grandstream_ring_tone_caller_id_2_1} +{/if} + + + + + +{if isset($grandstream_ring_tone_2_1)||$grandstream_ring_tone_2_1==0} +{$grandstream_ring_tone_2_1} +{/if} + + + +{if isset($grandstream_ring_tone_caller_id_3_1)} +{$grandstream_ring_tone_caller_id_3_1} +{/if} + + + + + +{if isset($grandstream_ring_tone_3_1)||$grandstream_ring_tone_2_1==0} +{$grandstream_ring_tone_3_1} +{/if} + + + + +60 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +0 + + + +0 + + + +4 + + + +1 + + +*78 + + +*79 + + + + + + + + + +0 + + +0 + + + + + + + + + +{if isset($account.2.password)} +1 +{else} +0 +{/if} + + + +{$account.2.display_name} + + +{if $account.2.sip_transport != 'dns srv'} +{$account.2.server_address}:{$account.2.sip_port} +{else} +{$account.2.server_address} +{/if} + + + + +{if $account.2.sip_transport != 'dns srv' && isset($account.2.server_address_secondary)} +{$account.2.server_address_secondary}:{$account.2.sip_port} +{else} +{$account.2.server_address_secondary} +{/if} + + + + +{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_primary)} +{$account.2.outbound_proxy_primary}:{$account.2.sip_port} +{else} +{$account.2.outbound_proxy_primary} +{/if} + + + + +{if $account.2.sip_transport != 'dns srv' && isset($account.2.outbound_proxy_secondary)} +{$account.2.outbound_proxy_secondary}:{$account.2.sip_port} +{else} +{$account.2.outbound_proxy_secondary} +{/if} + + + +{$account.2.user_id} + + + +{$account.2.auth_id} + + + +{$account.2.password} + + + +{$account.2.display_name} + + + +{$voicemail_number} + + + + + + +{if isset($account.2.dns_mode) } +{$account.2.dns_mode} +{else} +0 +{/if} + + + + + + + + + + + + +{if isset($account.2.nat_traversal) } +{$account.2.nat_traversal} +{else} +0 +{/if} + + + + + + + + + + +0 + + + +1 + + + +0 + + + +3 + + + +60 + + + +0 + + + +0 + + + +30 + + + +3 + + + +5062 + + + +20 + + + + +50 + + + + +400 + + + +{$tp=0} +{if $account.2.sip_transport == 'udp'}{$tp=0}{/if} +{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if} +{if $account.2.sip_transport == 'tls'}{$tp=2}{/if} +{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if} +{$tp} + + + +1 + + + +0 + + + +0 + + + +1 + + + +{if isset($subscribe_mwi)} +1 +{else} +0 +{/if} + + + +0 + + + +0 + + + +0 + + + + +0 + + + + + + + +0 + + + + +0 + + + + +1 + + + + +1 + + + + +1 + + + + + + +15 + + + + + + + +0 + + +** + + + + + + + +0 + + +{if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} + + + + + + + + +100 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +1 + + + +180 + + + +90 + + + +0 + + + + +0 + + + +0 + + + +0 + + + +1 + + + + +0 + + + + + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +1 + + + +0 + + + +101 + + + + + +0 + + + +8 + + + +18 + + + +9 + + + +2 + + + +2 + + + +2 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +2 + + + +0 + + + +0 + + + +1 + + + +97 + + + +1 + + + + +2 + + + +0 + + + + + + +0 + + + + + + +{ x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + +20 + + + +1 + + + +0 + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + +60 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +0 + + + +0 + + + +4 + + + +1 + + +*78 + + +*79 + + + + + + + + + +0 + + +0 +{if $template == "grandstream/gxp1630"} + + + + + + + + + +{if isset($account.3.password)} +1 +{else} +0 +{/if} + + + +{$account.3.display_name} + + + +{if $account.3.sip_transport != 'dns srv'} +{$account.3.server_address}:{$account.3.sip_port} +{else} +{$account.3.server_address} +{/if} + + + + +{if $account.3.sip_transport != 'dns srv' && isset($account.3.server_address_secondary)} +{$account.3.server_address_secondary}:{$account.3.sip_port} +{else} +{$account.3.server_address_secondary} +{/if} + + + + +{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_primary)} +{$account.3.outbound_proxy_primary}:{$account.3.sip_port} +{else} +{$account.3.outbound_proxy_primary} +{/if} + + + + +{if $account.3.sip_transport != 'dns srv' && isset($account.3.outbound_proxy_secondary)} +{$account.3.outbound_proxy_secondary}:{$account.3.sip_port} +{else} +{$account.3.outbound_proxy_secondary} +{/if} + + + +{$account.3.user_id} + + + +{$account.3.auth_id} + + + +{$account.3.password} + + + +{$account.3.display_name} + + + +{$voicemail_number} + + + + + + +{if isset($account.3.dns_mode) } +{$account.3.dns_mode} +{else} +0 +{/if} + + + + + + + + + + + + +{if isset($account.3.nat_traversal) } +{$account.3.nat_traversal} +{else} +0 +{/if} + + + + + + + + + + +0 + + + +1 + + + +0 + + + +60 + + + +60 + + + +0 + + + +0 + + + +30 + + + +3 + + + +5064 + + + +20 + + + + +50 + + + + +400 + + + +{$tp=0} +{if $account.3.sip_transport == 'udp'}{$tp=0}{/if} +{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if} +{if $account.3.sip_transport == 'tls'}{$tp=2}{/if} +{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if} +{$tp} + + + +1 + + + +0 + + + +0 + + + +1 + + + +{if isset($subscribe_mwi)} +1 +{else} +0 +{/if} + + + + +0 + + + +0 + + + +0 + + + + +0 + + + + + + + +0 + + + + +0 + + + + +1 + + + + +1 + + + + +1 + + + + + + +15 + + + + + + + +0 + + +{if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} + + + + + +** + + + + + + + +0 + + + + + +100 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +1 + + + +180 + + + +90 + + + +0 + + + + +0 + + + +0 + + + +0 + + + +1 + + + + +0 + + + + + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +1 + + + +0 + + + +101 + + + + + +0 + + + +8 + + + +18 + + + +9 + + + +2 + + + +2 + + + +2 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +2 + + + +0 + + + +1 + + + +97 + + + +1 + + + + +2 + + + +0 + + + + + + +0 + + + + + + +{ x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + +20 + + + +1 + + + +0 + + + +0 + + +{$grandstream_distinctive_ringtone_name_1} + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + +60 + + + +0 + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + +0 + + + +0 + + + +4 + + + +1 + + +*78 + + +*79 + + + + + + + + + +0 + + +0 + + +{/if} + + + + + + + +{if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} + + + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +192 + +168 + +0 + +160 + + +255 + +255 + +255 + +0 + + +0 + +0 + +0 + +0 + + +0 + +0 + +0 + +0 + + +0 + +0 + +0 + +0 + + +0 + +0 + +0 + +0 + + + +0 + + +0 + + + + + + + + + + + + + + + + + + + + + +0 + + + + + + + + + + + + + + + +26 + + + +46 + + + +0 + + + +{if isset($grandstream_lan_port_vlan) } +{$grandstream_lan_port_vlan} +{else} +0 +{/if} + + + + +0 + + + +0 + + +{if isset($grandstream_pc_port_vlan) } +{$grandstream_pc_port_vlan} +{else} +1 +{/if} + + +0 + + + +1 + + + +1500 + + + + + + +0 + + + + + + +1194 + + + + + + + + + + + + + + + + + + +{$user_password} + + + +{$admin_password} + + + + + + + + + + +0 + + + +0 + + + +0 + + + + +{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} + + + + +{if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if} + + + + +{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} + + + +1 + + + + + + + + +2 + + + +60 + + + +1 + + + +1 + + + +0 + + + +0 + + + + +2 + + +{if $grandstream_config_server_path=="none"} + +{elseif isset($grandstream_config_server_path)} +{$grandstream_config_server_path} +{elseif isset($domain_name)} +{$domain_name}{$project_path}/app/provision +{/if} + + +{$http_auth_username} + + +{$http_auth_password} + + + + + + + + + + + + +0 + + + + +2 + + +{if isset($grandstream_firmware_path) && isset($firmware_version)} +{$grandstream_firmware_path}/gxp16xx/{$firmware_version} +{elseif isset($grandstream_firmware_path)} +{$grandstream_firmware_path}/gxp16xx +{else} +{$domain_name}{$project_path}/app/provision +{/if} + + + + + + + + + + + + + + + + + +{$grandstream_syslog_server} + + + +{if isset($grandstream_syslog_level)} +{$grandstream_syslog_level} +{else} +0 +{/if} + + + + + + +{if isset($grandstream_send_sip_log)} +{$grandstream_send_sip_log} +{else} +0 +{/if} + + + + + + + + + + + + + + + +{if isset($grandstream_display_language) } +{$grandstream_display_language} +{else} +auto +{/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + + + +86400 + + + + + + + + +7547 + + + + + + + + + + + + +0 + + + +0 + + + + + + + + + + + + + + + +1 + + + +80 + + + +443 + + +0 + + +5 + + + + + + +{if isset($contact_grandstream)} +1 +{else} +0 +{/if} + + + + +{if isset($contact_grandstream)} +{$grandstream_phonebook_xml_server_path}{$mac}/ +{elseif isset($grandstream_phonebook_xml_server_path)} +{$grandstream_phonebook_xml_server_path} +{else} + +{/if} + + + + +120 + + + +1 + + + +0 + + + +{if isset($contact_grandstream)} +3 +{else} +0 +{/if} + + + + + + +{$grandstream_ldap_server} + + +389 + + + + +{$grandstream_ldap_base_dn} + + +{$ldap_username} + + +{$ldap_password} + + + +{$grandstream_ldap_number_filter} + + + +{$grandstream_ldap_name_filter} + + + +3 + + + +{$grandstream_ldap_name_attr} + + + +{$grandstream_ldap_number_attr} + + +givenName sn + + + + +50 + + + + +30 + + + +0 + + +1 + +1 + + +givenName sn + + + + + + +5004 + + + +0 + + + +20 + + + + + + +{if isset($grandstream_stun_server) } + {$grandstream_stun_server} +{else} + +{/if} + + + + +{if isset($grandstream_public_mode) } + {$grandstream_public_mode} +{else} + 0 +{/if} + + + + + + + + + + +30 + + + +0 + + + + + + + + + + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +0 + + + +{if isset($grandstream_idle_mute_function)} + {$grandstream_idle_mute_function} +{else} + 0 +{/if} + + + +0 + + + + + + +0 + + + +0 + + + +0 + + + + + + +0 + + + + + +300 + + + +200 + + + + + + +1 + + + + + + + + +0 + + + +0 + + + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +f1=440,f2=480,c=200/400; + + + +f1=350,f2=440; + + +f1=350,f2=440; + + + +f1=350,f2=440,c=10/10; + + + +f1=440,f2=480,c=200/400; + + + +f1=440,f2=440,c=25/525; + + + +0 + + + +f1=480,f2=620,c=50/50; + + + +f1=480,f2=620,c=25/25; + + + +7 + + + + + + +{if isset($grandstream_headset_key_mode)} + {$grandstream_headset_key_mode} +{/if} + + + + +{if isset($grandstream_headset_type)} + {$grandstream_headset_type} + + + + + {$grandstream_headset_type} +{/if} + + + +{if isset($grandstream_headset_ring)} +{$grandstream_headset_ring} +{/if} + + + +0 + + + +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} +0 +{/if} + + + +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} +0 +{/if} + + + +0 + + + + + + + + + + +6 + + + + + + + +2 + + + +3 + + + +0 + + + + + + + + + +0 + + + + + +{if isset($ntp_server_primary)} +{$ntp_server_primary} +{else} +pool.ntp.org +{/if} + + + + +1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{$grandstream_gxp_time_zone} + + + + +{if isset($grandstream_dhcp_time_zone)}{$grandstream_dhcp_time_zone}{else}0{/if} + + + + + + + + + + + + + +0 + + + +0 + + + + + + +1 + + + + + + + +0 + + + +0 + + + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{$start_id=1363} +{assign var=key_types value=["line"=>0,"shared line"=>1,"speed dial"=>10, "speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"intercom"=>20,"ldap search"=>21]} + +{for $line=1 to 2} +{$pid=$line*2-2} +{if isset($keys.line.$line.device_key_category) && isset($keys.line.$line.device_key_type) && isset($key_types[$keys.line.$line.device_key_type])} +{$key_types[$keys.line.$line.device_key_type]} +{$keys.line.$line.device_key_line} +{$keys.line.$line.device_key_label} +{$keys.line.$line.device_key_value} +{else} +0 +0 + + +{/if} + +{/for} + + + + + + + + + + +{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21]} +{$prog=1} +{if isset($keys.programmable.$prog.device_key_category) && isset($keys.programmable.$prog.device_key_type) && $keys.programmable.$prog.device_key_type|in_array:$key_types} +{$key_types[$keys.programmable.$prog.device_key_type]} + + + +{$keys.programmable.$prog.device_key_line} + + +{$keys.programmable.$prog.device_key_label} + + +{$keys.programmable.$prog.device_key_value} +{else} +0 +0 + + +{/if} + + + + + + + + + +{assign var=key_types value=["speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13]} +{$start_id=323} +{for $mem=1 to 7} +{$pid=$mem*3-3} +{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.memory.$mem.device_key_type|in_array:$key_types} +{$key_types[$keys.memory.$mem.device_key_type]} +{$keys.memory.$mem.device_key_line} +{$keys.memory.$mem.device_key_label} +{$keys.memory.$mem.device_key_value} +{else} +1 +0 + + +{/if} + +{/for} + +{$mem=8} +{if isset($keys.memory.$mem.device_key_category) && isset($keys.memory.$mem.device_key_type) && $keys.line.$line.device_key_type|in_array:$key_types} +{$key_types[$keys.memory.$mem.device_key_type]} +{$keys.memory.$mem.device_key_line} +{$keys.memory.$mem.device_key_label} +{$keys.memory.$mem.device_key_value} +{else} +0 +0 + + +{/if} + + + + + + + + + + + + + + + +0 + + + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + + +0 + + + + + + diff --git a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml index 04eeb7218c..b964ecd666 100644 --- a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml @@ -6286,7 +6286,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml index 5261637892..48e5216ac2 100644 --- a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml @@ -2976,7 +2976,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml index 1483062a43..92be242eb8 100644 --- a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml @@ -2020,7 +2020,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 86400 diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 6f2d14246c..7060816298 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -6585,7 +6585,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index bf0d18b979..13e9a36009 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -6584,7 +6584,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index 4c4a4d2e6b..61c7497803 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -6585,7 +6585,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 752f4a3769..6f7fa315b3 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -6585,7 +6585,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 7d42ec8768..91a9d12617 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -6589,7 +6589,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml index c504faa481..39f1e54710 100644 --- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml @@ -1,3667 +1,3672 @@ - - - - - - - - - 1 - - {$account.1.display_name} - - {$account.1.server_address} - - - - - - {$account.1.user_id} - - {$account.1.auth_id} - - {$account.1.password} - - {$account.1.display_name} - - {$voicemail_number} - - - 0 - - - - - - - - 0 - - - - - 0 - - 1 - - 0 - - {$account.1.register_expires} - - 0 - - 5060 - - 20 - - - 50 - - - 400 - - {if $account.1.sip_transport == 'udp'}0{/if} - {if $account.1.sip_transport == 'tcp'}1{/if} - {if $account.1.sip_transport == 'tls'}2{/if} - {if $account.1.sip_transport == 'dns srv'}1{/if} - - 1 - - 0 - - 0 - - 1 - - 0 - - 0 - - 0 - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - -{if isset($grandstream_feature_key_sync)} - {$grandstream_feature_key_sync} -{/if} - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} - - - - - - - ** - - - - 0 - - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - - 0 - - - - 8 - - - - 4 - - - - 18 - - - - 9 - - - - 98 - - - - 2 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - - 2 - - - - - 0 - - - - - - - - {if isset($grandstream_dial_plan) } - {$grandstream_dial_plan} - {else} - {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} - {/if} - - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - {$grandstream_distinctive_ringtone_name_1} - - - - - {$grandstream_distinctive_ringtone_1} - - - {$grandstream_distinctive_ringtone_name_2} - - - - - {$grandstream_distinctive_ringtone_2} - - - {$grandstream_distinctive_ringtone_name_3} - - - - - {$grandstream_distinctive_ringtone_3} - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 4 - - - - 1 - - - - - - - - - - - - 1 - - - {$account.2.display_name} - - - {$account.2.server_address} - - - - - - - - - {$account.2.user_id} - - - {$account.2.user_id} - - - {$account.2.password} - - - {$account.2.display_name} - - - {$voicemail_number} - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - 0 - - - - 1 - - - - 0 - - - - {$account.2.register_expires} - - - - 0 - - - - 5062 - - - - 20 - - - - - 50 - - - - - 400 - - - - {if $account.2.sip_transport == 'udp'}0{/if} - {if $account.2.sip_transport == 'tcp'}1{/if} - {if $account.2.sip_transport == 'tls'}2{/if} - {if $account.2.sip_transport == 'dns srv'}1{/if} - - - - 1 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} - - - - - - - ** - - - - 0 - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - - 0 - - - - 8 - - - - 4 - - - - 18 - - - - 9 - - - - 98 - - - - 2 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - - 2 - - - - - 0 - - - - - - - { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 4 - - - - 1 - - - - - - - - - - - - 1 - - - {$account.3.display_name} - - - {$account.3.server_address} - - - - - - - - - {$account.3.user_id} - - - {$account.3.user_id} - - - {$account.3.password} - - - {$account.3.display_name} - - - {$voicemail_number} - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - 0 - - - - 1 - - - - 0 - - - - {$account.3.register_expires} - - - - 0 - - - - 5064 - - - - 20 - - - - - 50 - - - - - 400 - - - - {if $account.3.sip_transport == 'udp'}0{/if} - {if $account.3.sip_transport == 'tcp'}1{/if} - {if $account.3.sip_transport == 'tls'}2{/if} - {if $account.3.sip_transport == 'dns srv'}1{/if} - - - - 1 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} - - - - - - - ** - - - - 0 - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - - 0 - - - - 8 - - - - 4 - - - - 18 - - - - 9 - - - - 98 - - - - 2 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - 2 - - - - - 0 - - - - - - - { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - {$grandstream_distinctive_ringtone_name_1} - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 4 - - - - 1 - - - - - - - - - - - - 1 - - - {$account.4.display_name} - - - {$account.4.server_address} - - - - - - - - - {$account.4.user_id} - - - {$account.4.user_id} - - - {$account.4.password} - - - {$account.4.display_name} - - - {$voicemail_number} - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - 0 - - - - 1 - - - - 0 - - - - {$account.4.register_expires} - - - - 0 - - - - 5066 - - - - 20 - - - - - 50 - - - - - 400 - - - - {if $account.4.sip_transport == 'udp'}0{/if} - {if $account.4.sip_transport == 'tcp'}1{/if} - {if $account.4.sip_transport == 'tls'}2{/if} - {if $account.4.sip_transport == 'dns srv'}1{/if} - - - - 1 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} - - - - - - - ** - - - - 0 - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - 0 - - - 8 - - - 4 - - - 18 - - - 9 - - - 98 - - - 2 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - - 2 - - - - - 0 - - - - - - - { x+ | *x+ | *xx*x+ } - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 4 - - - - 1 - - - - - - - - - - - - 1 - - - {$account.5.display_name} - - - {$account.5.server_address} - - - - - - - - - {$account.5.user_id} - - - {$account.5.user_id} - - - {$account.5.password} - - - {$account.5.display_name} - - - {$voicemail_number} - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - 0 - - - - 1 - - - - 0 - - - - {$account.5.register_expires} - - - - 0 - - - - 5068 - - - - 20 - - - - - 50 - - - - - 400 - - - - - {if $account.5.sip_transport == 'udp'}0{/if} - {if $account.5.sip_transport == 'tcp'}1{/if} - {if $account.5.sip_transport == 'tls'}2{/if} - {if $account.5.sip_transport == 'dns srv'}1{/if} - - - - 1 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} - - - - - - - ** - - - - 0 - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - - 0 - - - - 8 - - - - 4 - - - - 18 - - - - 9 - - - - 98 - - - - 2 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - 2 - - - - - 0 - - - - - - - { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 4 - - - - 1 - - - - - - - - - - - - 1 - - - {$account.6.display_name} - - - {$account.6.server_address} - - - - - - - - - {$account.6.user_id} - - - {$account.6.user_id} - - - {$account.6.password} - - - {$account.6.display_name} - - - {$voicemail_number} - - - - - 0 - - - - - - - - - - - - - 0 - - - - - - - - - 0 - - - - 1 - - - - 0 - - - - {$account.6.register_expires} - - - - 0 - - - - 5070 - - - - 20 - - - - - 50 - - - - - 400 - - - - {if $account.6.sip_transport == 'udp'}0{/if} - {if $account.6.sip_transport == 'tcp'}1{/if} - {if $account.6.sip_transport == 'tls'}2{/if} - {if $account.6.sip_transport == 'dns srv'}1{/if} - - - - 1 - - - - 0 - - - - 0 - - - - 1 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 15 - - - - - - {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} - - - - - - - ** - - - - 0 - - - - 100 - - - - - 180 - - - - 90 - - - - 0 - - - - - 0 - - - - - 0 - - - - 0 - - - - 1 - - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - - 1 - - - - 0 - - - - 101 - - - - - - 0 - - - - 8 - - - - 4 - - - - 18 - - - - 9 - - - - 98 - - - - 2 - - - - 0 - - - - - 0 - - - - 0 - - - - 0 - - - - 2 - - - - 1 - - - - 0 - - - - 1 - - - - 97 - - - - 1 - - - - 2 - - - - - 0 - - - - - - - { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } - - - - 20 - - - - 1 - - - - 0 - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - - - - - 0 - - - - 60 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - - - - - - - {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} - - - - 0 - - - - - - - - - - Grandstream GXP - - - - - - - - - - - - - - - 192 - - 168 - - 0 - - 160 - - - 255 - - 255 - - 0 - - 0 - - - 0 - - 0 - - 0 - - 0 - - - 0 - - 0 - - 0 - - 0 - - - 0 - - 0 - - 0 - - 0 - - - 0 - - 0 - - 0 - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - 12 - - - - 0 - - - - 0 - - - - 0 - - - - 1 - - - - {$user_password} - - - {$admin_password} - - - - - - - - 0 - - - - - - {$http_auth_username} - - - {$http_auth_password} - - - - 2 - - - - {if isset($grandstream_firmware_path) && isset($firmware_version)} - {$grandstream_firmware_path}/gxp21xx/{$firmware_version} - {elseif isset($grandstream_firmware_path)} - {$grandstream_firmware_path}/gxp21xx - {else} - {$domain_name}{$project_path}/app/provision - {/if} - - - {if $grandstream_config_server_path=="none"} - - {elseif isset($grandstream_config_server_path)} - {$grandstream_config_server_path} - {elseif isset($domain_name)} - {$domain_name}{$project_path}/app/provision - {/if} - - - - - - - - - - - - - - - - - - {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} - - - - - {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} - - - - 0 - - - - 10080 - - - 1 - - - 1 - - - - 0 - - - - - - - - 0 - - - - 0 - - - - 1 - - - - - - - - - - - - - auto - - - - - - - - 0 - - - - - - - - - - - - - 0 - - - 86400 - - - - - - - - - 0 - - - - - - - - - - - 0 - - - - 1 - - - - - - - - - - - - - - - - 1 - - - 0 - - - - - 0 - - - - - - - - - 0 - - - - 1 - - - - 0 - - - - - - - - 389 - - - - - - - - - - - - - - - - - - - - - - - 3 - - - - - - - - - - - - - - - - 50 - - - - - 30 - - - - 0 - - - 0 - - 0 - - - - - - - - 5004 - - - - 1 - - - - 20 - - - - - -{if isset($grandstream_stun_server) } - {$grandstream_stun_server} -{else} - -{/if} - - - - -{if isset($grandstream_public_mode) } - {$grandstream_public_mode} -{else} - 0 -{/if} - - - - - - - - - 30 - - - - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - 0 - - - - - 0 - - - -{if isset($grandstream_idle_mute_function)} - {$grandstream_idle_mute_function} -{else} - 0 -{/if} - - - - 0 - - - - - - - 0 - - - - 0 - - - - 0 - - - - - 300 - - - - 200 - - - - -{if isset($grandstream_headset_key_mode)} - {$grandstream_headset_key_mode} -{/if} - - - - -{if isset($grandstream_headset_type)} - {$grandstream_headset_type} - - - - - {$grandstream_headset_type} -{/if} - - - -{if isset($grandstream_headset_ring)} - {$grandstream_headset_ring} -{/if} - - - -{if isset($grandstream_headset_tx_gain)} - {$grandstream_headset_tx_gain} -{else} - 0 -{/if} - - - -{if isset($grandstream_headset_rx_gain)} - {$grandstream_headset_rx_gain} -{else} - 0 -{/if} - - - - - - - - 1 - - - - 0 - - - - - - 6 - - - - 2 - - - - 7 - - - - 1 - - - - us.pool.ntp.org - - - - - 1 - - - - - - 1 - - - - - 1 - - - - - - - 15 - - - - auto - - - - - 0 - - - - - 0 - - - - - - 0 - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - - {$line_key_type_1} - - - - - {$line_key_line_1} - - - {$line_key_label_1} - - - {$line_key_value_1} - - - - - - - - {$line_key_type_2} - - - - - {$line_key_line_2} - - - {$line_key_label_2} - - - {$line_key_value_2} - - - - - - - - {$line_key_type_3} - - - - - {$line_key_line_3} - - - {$line_key_label_3} - - - {$line_key_value_3} - - - - - - - - {$line_key_type_4} - - - - - {$line_key_line_4} - - - {$line_key_label_4} - - - {$line_key_value_4} - - - - - - - - - {$line_key_type_5} - - - - {$line_key_line_5} - - - {$line_key_label_5} - - - {$line_key_value_5} - - - - - - - - {$line_key_type_6} - - - - {$line_key_line_6} - - - {$line_key_label_6} - - - {$line_key_value_6} - - - - - - - - - - {$memory_key_type_1} - - - - {$memory_key_line_1} - - - {$memory_key_label_1} - - - {$memory_key_value_1} - - - - - - - - {$memory_key_type_2} - - - - {$memory_key_line_2} - - - {$memory_key_label_2} - - - {$memory_key_value_2} - - - - - - - - {$memory_key_type_3} - - - - {$memory_key_line_3} - - - {$memory_key_label_3} - - - {$memory_key_value_3} - - - - - - - - {$memory_key_type_4} - - - - {$memory_key_line_4} - - - {$memory_key_label_4} - - - {$memory_key_value_4} - - - - - - - - {$memory_key_type_5} - - - - {$memory_key_line_5} - - - {$memory_key_label_5} - - - {$memory_key_value_5} - - - - - - - - {$memory_key_type_6} - - - - {$memory_key_line_6} - - - {$memory_key_label_6} - - - {$memory_key_value_6} - - - - - - - - {$memory_key_type_7} - - - - {$memory_key_line_7} - - - {$memory_key_label_7} - - - {$memory_key_value_7} - - - - - - - - - {$memory_key_type_8} - - - - {$memory_key_line_8} - - - {$memory_key_label_8} - - - {$memory_key_value_8} - - - - - - - - {$memory_key_type_9} - - - - {$memory_key_line_9} - - - {$memory_key_label_9} - - - {$memory_key_value_9} - - - - - - - - {$memory_key_type_10} - - - - {$memory_key_line_10} - - - {$memory_key_label_10} - - - {$memory_key_value_10} - - - - - - - - {$memory_key_type_11} - - - - {$memory_key_line_11} - - - {$memory_key_label_11} - - - {$memory_key_value_11} - - - - - - - - {$memory_key_type_12} - - - - {$memory_key_line_12} - - - {$memory_key_label_12} - - - {$memory_key_value_12} - - - - - - - - {$memory_key_type_13} - - - - {$memory_key_line_13} - - - {$memory_key_label_13} - - - {$memory_key_value_13} - - - - - - - - {$memory_key_type_14} - - - - {$memory_key_line_14} - - - - - - {$memory_key_value_14} - - - - - - - - {$memory_key_type_15} - - - - {$memory_key_line_15} - - - {$memory_key_label_15} - - - {$memory_key_value_15} - - - - - - - - {$memory_key_type_16} - - - - {$memory_key_line_16} - - - - - - {$memory_key_value_16} - - - - - - - - {$memory_key_type_17} - - - - {$memory_key_line_17} - - - {$memory_key_label_17} - - - {$memory_key_value_17} - - - - - - - - {$memory_key_type_18} - - - - {$memory_key_line_18} - - - {$memory_key_label_18} - - - {$memory_key_value_18} - - -{$start_id = 23000} -{foreach $keys["expansion"] as $row} -{$key_id = $row.device_key_id - 1} -{$type_id = $start_id + ($key_id * 5)} -{$line_id = ($start_id + 1) + ($key_id * 5)} -{$label_id = ($start_id + 2) + ($key_id * 5)} -{$value_id = ($start_id + 3) + ($key_id * 5)} -{if $row.device_key_type == "speed dial"} 0{/if} -{if $row.device_key_type == "blf"} 1{/if} -{if $row.device_key_type == "presence watcher"} 2{/if} -{if $row.device_key_type == "eventlist blf"} 3{/if} -{if $row.device_key_type == "speed dial active"} 4{/if} -{if $row.device_key_type == "dial dtmf"} 5{/if} -{if $row.device_key_type == "voicemail"} 6{/if} -{if $row.device_key_type == "call return"} 7{/if} -{if $row.device_key_type == "transfer"} 8{/if} -{if $row.device_key_type == "call park"} 9{/if} -{if $row.device_key_type == "intercom"} 10{/if} -{if $row.device_key_type == "ldap search"} 11{/if} - - {$row.device_key_line} - {$row.device_key_label} - {$row.device_key_value} -{/foreach} - - - + + + + + + + + + 1 + + {$account.1.display_name} + + {$account.1.server_address} + + + + + + {$account.1.user_id} + + {$account.1.auth_id} + + {$account.1.password} + + {$account.1.display_name} + + {$voicemail_number} + + + 0 + + + + + + + + 0 + + + + + 0 + + 1 + + 0 + + {$account.1.register_expires} + + 0 + + 5060 + + 20 + + + 50 + + + 400 + + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}2{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + + 1 + + 0 + + 0 + + 1 + + 0 + + 0 + + 0 + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + +{if isset($grandstream_feature_key_sync)} + {$grandstream_feature_key_sync} +{/if} + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} + + + + + + + ** + + + + 0 + + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + + 0 + + + + 8 + + + + 4 + + + + 18 + + + + 9 + + + + 98 + + + + 2 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + + 2 + + + + + 0 + + + + + + + + {if isset($grandstream_dial_plan) } + {$grandstream_dial_plan} + {else} + {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} + {/if} + + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + {$grandstream_distinctive_ringtone_name_1} + + + + + {$grandstream_distinctive_ringtone_1} + + + {$grandstream_distinctive_ringtone_name_2} + + + + + {$grandstream_distinctive_ringtone_2} + + + {$grandstream_distinctive_ringtone_name_3} + + + + + {$grandstream_distinctive_ringtone_3} + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 4 + + + + 1 + + + + + + + + + + + + 1 + + + {$account.2.display_name} + + + {$account.2.server_address} + + + + + + + + + {$account.2.user_id} + + + {$account.2.user_id} + + + {$account.2.password} + + + {$account.2.display_name} + + + {$voicemail_number} + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + + 0 + + + + 1 + + + + 0 + + + + {$account.2.register_expires} + + + + 0 + + + + 5062 + + + + 20 + + + + + 50 + + + + + 400 + + + + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}2{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} + + + + + + + ** + + + + 0 + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + + 0 + + + + 8 + + + + 4 + + + + 18 + + + + 9 + + + + 98 + + + + 2 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + + 2 + + + + + 0 + + + + + + + { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 4 + + + + 1 + + + + + + + + + + + + 1 + + + {$account.3.display_name} + + + {$account.3.server_address} + + + + + + + + + {$account.3.user_id} + + + {$account.3.user_id} + + + {$account.3.password} + + + {$account.3.display_name} + + + {$voicemail_number} + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + + 0 + + + + 1 + + + + 0 + + + + {$account.3.register_expires} + + + + 0 + + + + 5064 + + + + 20 + + + + + 50 + + + + + 400 + + + + {if $account.3.sip_transport == 'udp'}0{/if} + {if $account.3.sip_transport == 'tcp'}1{/if} + {if $account.3.sip_transport == 'tls'}2{/if} + {if $account.3.sip_transport == 'dns srv'}1{/if} + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} + + + + + + + ** + + + + 0 + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + + 0 + + + + 8 + + + + 4 + + + + 18 + + + + 9 + + + + 98 + + + + 2 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + 2 + + + + + 0 + + + + + + + { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + {$grandstream_distinctive_ringtone_name_1} + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 4 + + + + 1 + + + + + + + + + + + + 1 + + + {$account.4.display_name} + + + {$account.4.server_address} + + + + + + + + + {$account.4.user_id} + + + {$account.4.user_id} + + + {$account.4.password} + + + {$account.4.display_name} + + + {$voicemail_number} + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + + 0 + + + + 1 + + + + 0 + + + + {$account.4.register_expires} + + + + 0 + + + + 5066 + + + + 20 + + + + + 50 + + + + + 400 + + + + {if $account.4.sip_transport == 'udp'}0{/if} + {if $account.4.sip_transport == 'tcp'}1{/if} + {if $account.4.sip_transport == 'tls'}2{/if} + {if $account.4.sip_transport == 'dns srv'}1{/if} + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} + + + + + + + ** + + + + 0 + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + 8 + + + 4 + + + 18 + + + 9 + + + 98 + + + 2 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + + 2 + + + + + 0 + + + + + + + { x+ | *x+ | *xx*x+ } + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 4 + + + + 1 + + + + + + + + + + + + 1 + + + {$account.5.display_name} + + + {$account.5.server_address} + + + + + + + + + {$account.5.user_id} + + + {$account.5.user_id} + + + {$account.5.password} + + + {$account.5.display_name} + + + {$voicemail_number} + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + + 0 + + + + 1 + + + + 0 + + + + {$account.5.register_expires} + + + + 0 + + + + 5068 + + + + 20 + + + + + 50 + + + + + 400 + + + + + {if $account.5.sip_transport == 'udp'}0{/if} + {if $account.5.sip_transport == 'tcp'}1{/if} + {if $account.5.sip_transport == 'tls'}2{/if} + {if $account.5.sip_transport == 'dns srv'}1{/if} + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} + + + + + + + ** + + + + 0 + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + + 0 + + + + 8 + + + + 4 + + + + 18 + + + + 9 + + + + 98 + + + + 2 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + 2 + + + + + 0 + + + + + + + { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 4 + + + + 1 + + + + + + + + + + + + 1 + + + {$account.6.display_name} + + + {$account.6.server_address} + + + + + + + + + {$account.6.user_id} + + + {$account.6.user_id} + + + {$account.6.password} + + + {$account.6.display_name} + + + {$voicemail_number} + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + {$account.6.register_expires} + + + + 0 + + + + 5070 + + + + 20 + + + + + 50 + + + + + 400 + + + + {if $account.6.sip_transport == 'udp'}0{/if} + {if $account.6.sip_transport == 'tcp'}1{/if} + {if $account.6.sip_transport == 'tls'}2{/if} + {if $account.6.sip_transport == 'dns srv'}1{/if} + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 15 + + + + + + {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} + + + + + + + ** + + + + 0 + + + + 100 + + + + + 180 + + + + 90 + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 1 + + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + + 0 + + + + 8 + + + + 4 + + + + 18 + + + + 9 + + + + 98 + + + + 2 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 1 + + + + 0 + + + + 1 + + + + 97 + + + + 1 + + + + 2 + + + + + 0 + + + + + + + { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } + + + + 20 + + + + 1 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + + + + + 0 + + + + 60 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} + + + + 0 + + + + + + + + + + Grandstream GXP + + + + + + + + + + + + + + + 192 + + 168 + + 0 + + 160 + + + 255 + + 255 + + 0 + + 0 + + + 0 + + 0 + + 0 + + 0 + + + 0 + + 0 + + 0 + + 0 + + + 0 + + 0 + + 0 + + 0 + + + 0 + + 0 + + 0 + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + 12 + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + {$user_password} + + + {$admin_password} + + + + + + + + 0 + + + + + + {$http_auth_username} + + + {$http_auth_password} + + + + 2 + + + + {if isset($grandstream_firmware_path) && isset($firmware_version)} + {$grandstream_firmware_path}/gxp21xx/{$firmware_version} + {elseif isset($grandstream_firmware_path)} + {$grandstream_firmware_path}/gxp21xx + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {elseif isset($domain_name)} + {$domain_name}{$project_path}/app/provision + {/if} + + + + + + + + + + + + + + + + + + {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} + + + + + {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} + + + + 0 + + + + 10080 + + + 1 + + + 1 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 1 + + + + + + + + + + + + + auto + + + + + + + + 0 + + + + + + + + + + + + + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + + + + 86400 + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 1 + + + 0 + + + + + 0 + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + + + + + 389 + + + + + + + + + + + + + + + + + + + + + + + 3 + + + + + + + + + + + + + + + + 50 + + + + + 30 + + + + 0 + + + 0 + + 0 + + + + + + + + 5004 + + + + 1 + + + + 20 + + + + + +{if isset($grandstream_stun_server) } + {$grandstream_stun_server} +{else} + +{/if} + + + + +{if isset($grandstream_public_mode) } + {$grandstream_public_mode} +{else} + 0 +{/if} + + + + + + + + + 30 + + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + +{if isset($grandstream_idle_mute_function)} + {$grandstream_idle_mute_function} +{else} + 0 +{/if} + + + + 0 + + + + + + + 0 + + + + 0 + + + + 0 + + + + + 300 + + + + 200 + + + + +{if isset($grandstream_headset_key_mode)} + {$grandstream_headset_key_mode} +{/if} + + + + +{if isset($grandstream_headset_type)} + {$grandstream_headset_type} + + + + + {$grandstream_headset_type} +{/if} + + + +{if isset($grandstream_headset_ring)} + {$grandstream_headset_ring} +{/if} + + + +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} + 0 +{/if} + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} + 0 +{/if} + + + + + + + + 1 + + + + 0 + + + + + + 6 + + + + 2 + + + + 7 + + + + 1 + + + + us.pool.ntp.org + + + + + 1 + + + + + + 1 + + + + + 1 + + + + + + + 15 + + + + auto + + + + + 0 + + + + + 0 + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + {$line_key_type_1} + + + + + {$line_key_line_1} + + + {$line_key_label_1} + + + {$line_key_value_1} + + + + + + + + {$line_key_type_2} + + + + + {$line_key_line_2} + + + {$line_key_label_2} + + + {$line_key_value_2} + + + + + + + + {$line_key_type_3} + + + + + {$line_key_line_3} + + + {$line_key_label_3} + + + {$line_key_value_3} + + + + + + + + {$line_key_type_4} + + + + + {$line_key_line_4} + + + {$line_key_label_4} + + + {$line_key_value_4} + + + + + + + + + {$line_key_type_5} + + + + {$line_key_line_5} + + + {$line_key_label_5} + + + {$line_key_value_5} + + + + + + + + {$line_key_type_6} + + + + {$line_key_line_6} + + + {$line_key_label_6} + + + {$line_key_value_6} + + + + + + + + + + {$memory_key_type_1} + + + + {$memory_key_line_1} + + + {$memory_key_label_1} + + + {$memory_key_value_1} + + + + + + + + {$memory_key_type_2} + + + + {$memory_key_line_2} + + + {$memory_key_label_2} + + + {$memory_key_value_2} + + + + + + + + {$memory_key_type_3} + + + + {$memory_key_line_3} + + + {$memory_key_label_3} + + + {$memory_key_value_3} + + + + + + + + {$memory_key_type_4} + + + + {$memory_key_line_4} + + + {$memory_key_label_4} + + + {$memory_key_value_4} + + + + + + + + {$memory_key_type_5} + + + + {$memory_key_line_5} + + + {$memory_key_label_5} + + + {$memory_key_value_5} + + + + + + + + {$memory_key_type_6} + + + + {$memory_key_line_6} + + + {$memory_key_label_6} + + + {$memory_key_value_6} + + + + + + + + {$memory_key_type_7} + + + + {$memory_key_line_7} + + + {$memory_key_label_7} + + + {$memory_key_value_7} + + + + + + + + + {$memory_key_type_8} + + + + {$memory_key_line_8} + + + {$memory_key_label_8} + + + {$memory_key_value_8} + + + + + + + + {$memory_key_type_9} + + + + {$memory_key_line_9} + + + {$memory_key_label_9} + + + {$memory_key_value_9} + + + + + + + + {$memory_key_type_10} + + + + {$memory_key_line_10} + + + {$memory_key_label_10} + + + {$memory_key_value_10} + + + + + + + + {$memory_key_type_11} + + + + {$memory_key_line_11} + + + {$memory_key_label_11} + + + {$memory_key_value_11} + + + + + + + + {$memory_key_type_12} + + + + {$memory_key_line_12} + + + {$memory_key_label_12} + + + {$memory_key_value_12} + + + + + + + + {$memory_key_type_13} + + + + {$memory_key_line_13} + + + {$memory_key_label_13} + + + {$memory_key_value_13} + + + + + + + + {$memory_key_type_14} + + + + {$memory_key_line_14} + + + + + + {$memory_key_value_14} + + + + + + + + {$memory_key_type_15} + + + + {$memory_key_line_15} + + + {$memory_key_label_15} + + + {$memory_key_value_15} + + + + + + + + {$memory_key_type_16} + + + + {$memory_key_line_16} + + + + + + {$memory_key_value_16} + + + + + + + + {$memory_key_type_17} + + + + {$memory_key_line_17} + + + {$memory_key_label_17} + + + {$memory_key_value_17} + + + + + + + + {$memory_key_type_18} + + + + {$memory_key_line_18} + + + {$memory_key_label_18} + + + {$memory_key_value_18} + + +{$start_id = 23000} +{foreach $keys["expansion"] as $row} +{$key_id = $row.device_key_id - 1} +{$type_id = $start_id + ($key_id * 5)} +{$line_id = ($start_id + 1) + ($key_id * 5)} +{$label_id = ($start_id + 2) + ($key_id * 5)} +{$value_id = ($start_id + 3) + ($key_id * 5)} +{if $row.device_key_type == "speed dial"} 0{/if} +{if $row.device_key_type == "blf"} 1{/if} +{if $row.device_key_type == "presence watcher"} 2{/if} +{if $row.device_key_type == "eventlist blf"} 3{/if} +{if $row.device_key_type == "speed dial active"} 4{/if} +{if $row.device_key_type == "dial dtmf"} 5{/if} +{if $row.device_key_type == "voicemail"} 6{/if} +{if $row.device_key_type == "call return"} 7{/if} +{if $row.device_key_type == "transfer"} 8{/if} +{if $row.device_key_type == "call park"} 9{/if} +{if $row.device_key_type == "intercom"} 10{/if} +{if $row.device_key_type == "ldap search"} 11{/if} + + {$row.device_key_line} + {$row.device_key_label} + {$row.device_key_value} +{/foreach} + + + diff --git a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml index a111da7093..386b7e37db 100644 --- a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml @@ -3444,7 +3444,12 @@ +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} + @@ -3461,7 +3466,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml index d1cd005de6..937704471b 100644 --- a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml @@ -3147,7 +3147,12 @@ Account 5 Codec Settings +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} + @@ -3160,7 +3165,12 @@ Account 5 Codec Settings +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxp3240/{$mac}.xml b/resources/templates/provision/grandstream/gxp3240/{$mac}.xml index c68a8291b8..c756a7a617 100644 --- a/resources/templates/provision/grandstream/gxp3240/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp3240/{$mac}.xml @@ -3357,7 +3357,12 @@ Account 5 Codec Settings +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} + @@ -3370,7 +3375,12 @@ Account 5 Codec Settings +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxv3240/{$mac}.xml b/resources/templates/provision/grandstream/gxv3240/{$mac}.xml index 5fd9e2c13d..39ff266f9a 100644 --- a/resources/templates/provision/grandstream/gxv3240/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3240/{$mac}.xml @@ -5054,7 +5054,12 @@ +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} + @@ -5067,7 +5072,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxv3275/{$mac}.xml b/resources/templates/provision/grandstream/gxv3275/{$mac}.xml index 8bef6e1f63..065ebdd8e7 100644 --- a/resources/templates/provision/grandstream/gxv3275/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3275/{$mac}.xml @@ -3504,7 +3504,12 @@ +{if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} 0 +{/if} + @@ -3517,7 +3522,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml index 48dd982ba8..2c1e5f73e6 100644 --- a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml @@ -156,7 +156,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 300 diff --git a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml index 5a73ec4f34..3260ed5f5b 100644 --- a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml @@ -273,7 +273,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht502/{$mac}.xml b/resources/templates/provision/grandstream/ht502/{$mac}.xml index 4e0759bcd2..592f396463 100644 --- a/resources/templates/provision/grandstream/ht502/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht502/{$mac}.xml @@ -115,7 +115,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + 300 diff --git a/resources/templates/provision/grandstream/ht503/{$mac}.xml b/resources/templates/provision/grandstream/ht503/{$mac}.xml index c56315f8db..f0c3422f04 100644 --- a/resources/templates/provision/grandstream/ht503/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht503/{$mac}.xml @@ -260,7 +260,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht701/{$mac}.xml b/resources/templates/provision/grandstream/ht701/{$mac}.xml index 376943478e..3ad60d9511 100644 --- a/resources/templates/provision/grandstream/ht701/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht701/{$mac}.xml @@ -176,7 +176,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht702/{$mac}.xml b/resources/templates/provision/grandstream/ht702/{$mac}.xml index 457afc82ff..6c56934cf5 100644 --- a/resources/templates/provision/grandstream/ht702/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht702/{$mac}.xml @@ -183,7 +183,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht704/{$mac}.xml b/resources/templates/provision/grandstream/ht704/{$mac}.xml index 278146315c..391053da49 100644 --- a/resources/templates/provision/grandstream/ht704/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht704/{$mac}.xml @@ -180,7 +180,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht801/{$mac}.xml b/resources/templates/provision/grandstream/ht801/{$mac}.xml index 62fd77732e..4e564845ec 100644 --- a/resources/templates/provision/grandstream/ht801/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht801/{$mac}.xml @@ -222,7 +222,12 @@ - 1 + {if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} +0 +{/if} + @@ -238,7 +243,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml index bc36f3f4be..3f57dce778 100644 --- a/resources/templates/provision/grandstream/ht802/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml @@ -222,7 +222,12 @@ - 1 + {if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} +0 +{/if} + @@ -238,7 +243,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht814/{$mac}.xml b/resources/templates/provision/grandstream/ht814/{$mac}.xml index 7929710f58..e6f1ba25d0 100644 --- a/resources/templates/provision/grandstream/ht814/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht814/{$mac}.xml @@ -213,7 +213,12 @@ - 1 + {if isset ($grandstream_tr069_enable)} +{$grandstream_tr069_enable} +{else} +0 +{/if} + @@ -229,7 +234,12 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} + diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml index 8bfb61d157..e7d20162d3 100644 --- a/resources/templates/provision/grandstream/ht818/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml @@ -230,7 +230,11 @@ - 0 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} diff --git a/resources/templates/provision/grandstream/wp810/{$mac}.xml b/resources/templates/provision/grandstream/wp810/{$mac}.xml index 33f789c80c..dbbfce801d 100644 --- a/resources/templates/provision/grandstream/wp810/{$mac}.xml +++ b/resources/templates/provision/grandstream/wp810/{$mac}.xml @@ -2137,7 +2137,11 @@ - 1 + {if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} +0 +{/if} diff --git a/resources/templates/provision/grandstream/wp820/{$mac}.xml b/resources/templates/provision/grandstream/wp820/{$mac}.xml index 7868ca3f29..19b1791553 100644 --- a/resources/templates/provision/grandstream/wp820/{$mac}.xml +++ b/resources/templates/provision/grandstream/wp820/{$mac}.xml @@ -2285,7 +2285,12 @@ +{if isset ($grandstream_tr069_periodic_inform_enable)} +{$grandstream_tr069_periodic_inform_enable} +{else} 0 +{/if} +