From dd26e357e0ba505cfef6692adaac2dafe1182bfb Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Thu, 8 Jul 2021 02:47:04 -0400 Subject: [PATCH] Yealink add mwi subscribe variables (#5989) --- app/yealink/app_config.php | 8 ++++++++ .../templates/provision/yealink/cp860/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/cp920/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/cp960/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t19p/{$mac}.cfg | 2 +- .../templates/provision/yealink/t20p/{$mac}.cfg | 2 +- .../templates/provision/yealink/t21p/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t22p/{$mac}.cfg | 2 +- .../templates/provision/yealink/t23g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t23p/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t26p/{$mac}.cfg | 2 +- .../templates/provision/yealink/t27g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t27p/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t28p/{$mac}.cfg | 2 +- .../templates/provision/yealink/t29g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t2x/{$mac}.cfg | 2 +- .../templates/provision/yealink/t40g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t40p/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t41p/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t41s/{$mac}.cfg | 2 +- .../templates/provision/yealink/t42g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t42s/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t46g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t46s/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t48g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t48s/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t49g/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/t4x/{$mac}.cfg | 2 +- .../templates/provision/yealink/t5x/{$mac}.cfg | 2 +- .../templates/provision/yealink/vp530/{$mac}.cfg | 12 ++++++------ .../templates/provision/yealink/w52p/{$mac}.cfg | 10 +++++----- .../templates/provision/yealink/w56p/{$mac}.cfg | 10 +++++----- .../templates/provision/yealink/w60b/{$mac}.cfg | 16 ++++++++-------- 33 files changed, 155 insertions(+), 147 deletions(-) diff --git a/app/yealink/app_config.php b/app/yealink/app_config.php index 31e6649714..d561651eee 100644 --- a/app/yealink/app_config.php +++ b/app/yealink/app_config.php @@ -95,6 +95,14 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Retransmission"; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8e73d35a-dea9-11eb-a34d-536492a496c1"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_subscribe_mwi"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $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'] = "subscribe the message waiting indicator 0-Disabled (default), 1-Enabled"; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d0fb35a5-b5cb-4d9c-9554-56c5087d74ec"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_subscribe_mwi_to_vm"; diff --git a/resources/templates/provision/yealink/cp860/{$mac}.cfg b/resources/templates/provision/yealink/cp860/{$mac}.cfg index cf72b3b727..5525135011 100644 --- a/resources/templates/provision/yealink/cp860/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp860/{$mac}.cfg @@ -173,7 +173,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -676,7 +676,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1191,7 +1191,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1691,7 +1691,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2188,7 +2188,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2684,7 +2684,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/cp920/{$mac}.cfg b/resources/templates/provision/yealink/cp920/{$mac}.cfg index 1c8ae2d7e0..dc7c441300 100644 --- a/resources/templates/provision/yealink/cp920/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp920/{$mac}.cfg @@ -172,7 +172,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -675,7 +675,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1191,7 +1191,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1693,7 +1693,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2191,7 +2191,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2688,7 +2688,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/cp960/{$mac}.cfg b/resources/templates/provision/yealink/cp960/{$mac}.cfg index 647167e2fa..6d3c0330bd 100644 --- a/resources/templates/provision/yealink/cp960/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp960/{$mac}.cfg @@ -173,7 +173,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -677,7 +677,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1192,7 +1192,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1691,7 +1691,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2188,7 +2188,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2684,7 +2684,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t19p/{$mac}.cfg b/resources/templates/provision/yealink/t19p/{$mac}.cfg index 5ef4e8867a..dcf857a589 100644 --- a/resources/templates/provision/yealink/t19p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t19p/{$mac}.cfg @@ -1775,7 +1775,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/t20p/{$mac}.cfg b/resources/templates/provision/yealink/t20p/{$mac}.cfg index 6cae244c84..967c3a2187 100644 --- a/resources/templates/provision/yealink/t20p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t20p/{$mac}.cfg @@ -1776,7 +1776,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = diff --git a/resources/templates/provision/yealink/t21p/{$mac}.cfg b/resources/templates/provision/yealink/t21p/{$mac}.cfg index 608cc9f8f3..22e6f3fb4c 100644 --- a/resources/templates/provision/yealink/t21p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t21p/{$mac}.cfg @@ -173,7 +173,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -675,7 +675,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1188,7 +1188,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1684,7 +1684,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2180,7 +2180,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2675,7 +2675,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 5ef4e8867a..dcf857a589 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -1775,7 +1775,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index 369973202a..44af577323 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1177,7 +1177,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2129,7 +2129,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2604,7 +2604,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t23p/{$mac}.cfg b/resources/templates/provision/yealink/t23p/{$mac}.cfg index 06306b7075..e8d85c269a 100644 --- a/resources/templates/provision/yealink/t23p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23p/{$mac}.cfg @@ -172,7 +172,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -677,7 +677,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1163,7 +1163,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1639,7 +1639,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2115,7 +2115,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2590,7 +2590,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t26p/{$mac}.cfg b/resources/templates/provision/yealink/t26p/{$mac}.cfg index afe0ddbcac..ea7803f3ae 100644 --- a/resources/templates/provision/yealink/t26p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t26p/{$mac}.cfg @@ -1775,7 +1775,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/t27g/{$mac}.cfg b/resources/templates/provision/yealink/t27g/{$mac}.cfg index 2b50a7959c..035cea5e22 100644 --- a/resources/templates/provision/yealink/t27g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -690,7 +690,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1175,7 +1175,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1650,7 +1650,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2125,7 +2125,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2599,7 +2599,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t27p/{$mac}.cfg b/resources/templates/provision/yealink/t27p/{$mac}.cfg index fea4d0e100..1ef206e248 100644 --- a/resources/templates/provision/yealink/t27p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27p/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -690,7 +690,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1175,7 +1175,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1650,7 +1650,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2125,7 +2125,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2599,7 +2599,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t28p/{$mac}.cfg b/resources/templates/provision/yealink/t28p/{$mac}.cfg index afe0ddbcac..ea7803f3ae 100644 --- a/resources/templates/provision/yealink/t28p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t28p/{$mac}.cfg @@ -1775,7 +1775,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/t29g/{$mac}.cfg b/resources/templates/provision/yealink/t29g/{$mac}.cfg index 64966a6ac2..bb5db314d8 100644 --- a/resources/templates/provision/yealink/t29g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t29g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1177,7 +1177,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2129,7 +2129,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2604,7 +2604,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t2x/{$mac}.cfg b/resources/templates/provision/yealink/t2x/{$mac}.cfg index 2271b5ad1b..627c9c3733 100644 --- a/resources/templates/provision/yealink/t2x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t2x/{$mac}.cfg @@ -178,7 +178,7 @@ voice_mail.number.{$row.line_number} = {$voicemail_number} ####################################################################################### ## ranges from 1 to 12 -account.{$row.line_number}.subscribe_mwi = 1 +account.{$row.line_number}.subscribe_mwi = {$yealink_subscribe_mwi} account.{$row.line_number}.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator 0-Disabled (default), 1-Enabled diff --git a/resources/templates/provision/yealink/t40g/{$mac}.cfg b/resources/templates/provision/yealink/t40g/{$mac}.cfg index 3f3d93eb3a..a892b5bdc8 100644 --- a/resources/templates/provision/yealink/t40g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1207,7 +1207,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1706,7 +1706,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2205,7 +2205,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2703,7 +2703,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t40p/{$mac}.cfg b/resources/templates/provision/yealink/t40p/{$mac}.cfg index 8b36d30b7d..6818a4d8a5 100644 --- a/resources/templates/provision/yealink/t40p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40p/{$mac}.cfg @@ -178,7 +178,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1209,7 +1209,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1710,7 +1710,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2211,7 +2211,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2711,7 +2711,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index bddef033a8..444784418c 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$mac}.cfg @@ -172,7 +172,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -674,7 +674,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1187,7 +1187,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1683,7 +1683,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2179,7 +2179,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2674,7 +2674,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t41s/{$mac}.cfg b/resources/templates/provision/yealink/t41s/{$mac}.cfg index 9471fc1708..9871e309b6 100644 --- a/resources/templates/provision/yealink/t41s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41s/{$mac}.cfg @@ -191,7 +191,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.{$row.line_number}.subscribe_mwi = 1 +account.{$row.line_number}.subscribe_mwi = {$yealink_subscribe_mwi} account.{$row.line_number}.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index a5179af6f8..ba02649672 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1177,7 +1177,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2129,7 +2129,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2604,7 +2604,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t42s/{$mac}.cfg b/resources/templates/provision/yealink/t42s/{$mac}.cfg index 4ef5a661a7..49237cd527 100644 --- a/resources/templates/provision/yealink/t42s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42s/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -690,7 +690,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1177,7 +1177,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2124,7 +2124,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2594,7 +2594,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index 4e5283bd6a..a1f065cbc3 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -692,7 +692,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1178,7 +1178,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1654,7 +1654,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2130,7 +2130,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2605,7 +2605,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index dc517bb7d8..c285966812 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -690,7 +690,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1180,7 +1180,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1661,7 +1661,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2137,7 +2137,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2612,7 +2612,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index c91eee6f29..ca5e3f0fa1 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1177,7 +1177,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2129,7 +2129,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2604,7 +2604,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t48s/{$mac}.cfg b/resources/templates/provision/yealink/t48s/{$mac}.cfg index 1c9a5fc118..43e6320d0f 100644 --- a/resources/templates/provision/yealink/t48s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48s/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -690,7 +690,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1176,7 +1176,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1653,7 +1653,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2125,7 +2125,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2596,7 +2596,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index 26c3ff1eba..2e3ecb35d1 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -186,7 +186,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -691,7 +691,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1216,7 +1216,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1715,7 +1715,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2214,7 +2214,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2712,7 +2712,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/t4x/{$mac}.cfg b/resources/templates/provision/yealink/t4x/{$mac}.cfg index 3b510772bd..8cb8413098 100644 --- a/resources/templates/provision/yealink/t4x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t4x/{$mac}.cfg @@ -180,7 +180,7 @@ voice_mail.number.{$row.line_number} = {$voicemail_number} ## ranges from 1 to 16 ##account.X.subscribe_mwi = -account.{$row.line_number}.subscribe_mwi = 1 +account.{$row.line_number}.subscribe_mwi = {$yealink_subscribe_mwi} account.{$row.line_number}.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator 0-Disabled (default), 1-Enabled diff --git a/resources/templates/provision/yealink/t5x/{$mac}.cfg b/resources/templates/provision/yealink/t5x/{$mac}.cfg index 05dbd44598..c6ac3321d6 100644 --- a/resources/templates/provision/yealink/t5x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t5x/{$mac}.cfg @@ -159,7 +159,7 @@ voice_mail.number.{$row.line_number} = {$voicemail_number} ####################################################################################### ## ranges from 1 to 16 -account.{$row.line_number}.subscribe_mwi = 1 +account.{$row.line_number}.subscribe_mwi = {$yealink_subscribe_mwi} account.{$row.line_number}.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator 0-Disabled (default), 1-Enabled diff --git a/resources/templates/provision/yealink/vp530/{$mac}.cfg b/resources/templates/provision/yealink/vp530/{$mac}.cfg index f50561e69b..d684156266 100644 --- a/resources/templates/provision/yealink/vp530/{$mac}.cfg +++ b/resources/templates/provision/yealink/vp530/{$mac}.cfg @@ -167,7 +167,7 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = 1 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} account.1.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -665,7 +665,7 @@ voice_mail.number.2 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.2.subscribe_mwi = 1 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} account.2.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1174,7 +1174,7 @@ voice_mail.number.3 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.3.subscribe_mwi = 1 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} account.3.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -1666,7 +1666,7 @@ voice_mail.number.4 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.4.subscribe_mwi = 1 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} account.4.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2158,7 +2158,7 @@ voice_mail.number.5 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.5.subscribe_mwi = 1 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} account.5.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; @@ -2649,7 +2649,7 @@ voice_mail.number.6 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; diff --git a/resources/templates/provision/yealink/w52p/{$mac}.cfg b/resources/templates/provision/yealink/w52p/{$mac}.cfg index 409442c333..0ddd832911 100644 --- a/resources/templates/provision/yealink/w52p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w52p/{$mac}.cfg @@ -105,7 +105,7 @@ account.1.precondition = account.1.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.1.subscribe_mwi = 0 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.1.subscribe_mwi_expires = 3600 @@ -426,7 +426,7 @@ account.2.precondition = account.2.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.2.subscribe_mwi = 0 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.2.subscribe_mwi_expires = 3600 @@ -699,7 +699,7 @@ account.3.precondition = account.3.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.3.subscribe_mwi = 0 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.3.subscribe_mwi_expires = 3600 @@ -973,7 +973,7 @@ account.4.precondition = account.4.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.4.subscribe_mwi = 0 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.4.subscribe_mwi_expires = 3600 @@ -1247,7 +1247,7 @@ account.5.precondition = account.5.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.5.subscribe_mwi = 0 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.5.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/w56p/{$mac}.cfg b/resources/templates/provision/yealink/w56p/{$mac}.cfg index b014e997ff..34a3c4bc49 100644 --- a/resources/templates/provision/yealink/w56p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w56p/{$mac}.cfg @@ -105,7 +105,7 @@ account.1.precondition = account.1.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.1.subscribe_mwi = 0 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.1.subscribe_mwi_expires = 3600 @@ -411,7 +411,7 @@ account.2.precondition = account.2.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.2.subscribe_mwi = 0 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.2.subscribe_mwi_expires = 3600 @@ -669,7 +669,7 @@ account.3.precondition = account.3.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.3.subscribe_mwi = 0 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.3.subscribe_mwi_expires = 3600 @@ -928,7 +928,7 @@ account.4.precondition = account.4.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.4.subscribe_mwi = 0 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.4.subscribe_mwi_expires = 3600 @@ -1187,7 +1187,7 @@ account.5.precondition = account.5.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.5.subscribe_mwi = 0 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.5.subscribe_mwi_expires = 3600 diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg index 717f851bb2..7146af437a 100644 --- a/resources/templates/provision/yealink/w60b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -76,7 +76,7 @@ account.1.precondition = account.1.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.1.subscribe_mwi = 0 +account.1.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.1.subscribe_mwi_expires = 3600 @@ -370,7 +370,7 @@ account.2.precondition = account.2.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.2.subscribe_mwi = 0 +account.2.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.2.subscribe_mwi_expires = 3600 @@ -616,7 +616,7 @@ account.3.precondition = account.3.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.3.subscribe_mwi = 0 +account.3.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.3.subscribe_mwi_expires = 3600 @@ -862,7 +862,7 @@ account.4.precondition = account.4.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.4.subscribe_mwi = 0 +account.4.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.4.subscribe_mwi_expires = 3600 @@ -1108,7 +1108,7 @@ account.5.precondition = account.5.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.5.subscribe_mwi = 0 +account.5.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.5.subscribe_mwi_expires = 3600 @@ -1373,7 +1373,7 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.6.subscribe_mwi_expires = 3600 @@ -1638,7 +1638,7 @@ account.7.precondition = account.7.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.7.subscribe_mwi = 0 +account.7.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.7.subscribe_mwi_expires = 3600 @@ -1903,7 +1903,7 @@ account.8.precondition = account.8.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.8.subscribe_mwi = 0 +account.8.subscribe_mwi = {$yealink_subscribe_mwi} #Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600. account.8.subscribe_mwi_expires = 3600