diff --git a/resources/templates/provision/flyingvoice/fip10/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip10/{$mac}.cfg index af89fe2ef6..bbd976b0ef 100644 --- a/resources/templates/provision/flyingvoice/fip10/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip10/{$mac}.cfg @@ -280,7 +280,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -658,7 +658,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip11c/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip11c/{$mac}.cfg index ddb3b162d6..27af97f830 100644 --- a/resources/templates/provision/flyingvoice/fip11c/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip11c/{$mac}.cfg @@ -281,7 +281,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -659,7 +659,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1039,7 +1039,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$flyingvoice_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip12wp/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip12wp/{$mac}.cfg index 9dec2bb779..ee8d11fdd4 100644 --- a/resources/templates/provision/flyingvoice/fip12wp/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip12wp/{$mac}.cfg @@ -281,7 +281,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -659,7 +659,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip13g/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip13g/{$mac}.cfg index c6e00c3fc7..37d523540f 100644 --- a/resources/templates/provision/flyingvoice/fip13g/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip13g/{$mac}.cfg @@ -281,7 +281,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -659,7 +659,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1039,7 +1039,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$flyingvoice_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1433,7 +1433,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$flyingvoice_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip14g/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip14g/{$mac}.cfg index e2a67e0388..6b70a69520 100644 --- a/resources/templates/provision/flyingvoice/fip14g/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip14g/{$mac}.cfg @@ -281,7 +281,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -659,7 +659,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1039,7 +1039,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$flyingvoice_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1433,7 +1433,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$flyingvoice_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = @@ -1826,7 +1826,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= +account.5.cp_source = {$flyingvoice_cp_source} account.5.cid_source_ppi= account.5.cid_source_privacy= account.5.reg_with_pani_header.enable = @@ -2219,7 +2219,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= +account.6.cp_source = {$flyingvoice_cp_source} account.6.cid_source_ppi= account.6.cid_source_privacy= account.6.reg_with_pani_header.enable = @@ -2613,7 +2613,7 @@ account.7.vq_rtcpxr.collector_server_port= account.7.vq_rtcpxr.collector_server_host= account.7.vq_rtcpxr.collector_name= account.7.compact_header_enable= -account.7.cp_source= +account.7.cp_source = {$flyingvoice_cp_source} account.7.cid_source_ppi= account.7.cid_source_privacy= account.7.reg_with_pani_header.enable = @@ -3007,7 +3007,7 @@ account.8.vq_rtcpxr.collector_server_port= account.8.vq_rtcpxr.collector_server_host= account.8.vq_rtcpxr.collector_name= account.8.compact_header_enable= -account.8.cp_source= +account.8.cp_source = {$flyingvoice_cp_source} account.8.cid_source_ppi= account.8.cid_source_privacy= account.8.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip15g/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip15g/{$mac}.cfg index 9d2d21de29..ac435b5843 100644 --- a/resources/templates/provision/flyingvoice/fip15g/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip15g/{$mac}.cfg @@ -280,7 +280,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -679,7 +679,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1080,7 +1080,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$flyingvoice_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1495,7 +1495,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$flyingvoice_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = @@ -1909,7 +1909,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= +account.5.cp_source = {$flyingvoice_cp_source} account.5.cid_source_ppi= account.5.cid_source_privacy= account.5.reg_with_pani_header.enable = @@ -2323,7 +2323,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= +account.6.cp_source = {$flyingvoice_cp_source} account.6.cid_source_ppi= account.6.cid_source_privacy= account.6.reg_with_pani_header.enable = @@ -2738,7 +2738,7 @@ account.7.vq_rtcpxr.collector_server_port= account.7.vq_rtcpxr.collector_server_host= account.7.vq_rtcpxr.collector_name= account.7.compact_header_enable= -account.7.cp_source= +account.7.cp_source = {$flyingvoice_cp_source} account.7.cid_source_ppi= account.7.cid_source_privacy= account.7.reg_with_pani_header.enable = @@ -3153,7 +3153,7 @@ account.8.vq_rtcpxr.collector_server_port= account.8.vq_rtcpxr.collector_server_host= account.8.vq_rtcpxr.collector_name= account.8.compact_header_enable= -account.8.cp_source= +account.8.cp_source = {$flyingvoice_cp_source} account.8.cid_source_ppi= account.8.cid_source_privacy= account.8.reg_with_pani_header.enable = @@ -3568,7 +3568,7 @@ account.9.vq_rtcpxr.collector_server_port= account.9.vq_rtcpxr.collector_server_host= account.9.vq_rtcpxr.collector_name= account.9.compact_header_enable= -account.9.cp_source= +account.9.cp_source = {$flyingvoice_cp_source} account.9.cid_source_ppi= account.9.cid_source_privacy= account.9.reg_with_pani_header.enable = @@ -3962,7 +3962,7 @@ account.10.vq_rtcpxr.collector_server_port= account.10.vq_rtcpxr.collector_server_host= account.10.vq_rtcpxr.collector_name= account.10.compact_header_enable= -account.10.cp_source= +account.10.cp_source = {$flyingvoice_cp_source} account.10.cid_source_ppi= account.10.cid_source_privacy= account.10.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip16/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip16/{$mac}.cfg index f6eb5b170d..7af80e3dce 100644 --- a/resources/templates/provision/flyingvoice/fip16/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip16/{$mac}.cfg @@ -268,7 +268,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -602,7 +602,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = diff --git a/resources/templates/provision/flyingvoice/fip16plus/{$mac}.cfg b/resources/templates/provision/flyingvoice/fip16plus/{$mac}.cfg index f6eb5b170d..7af80e3dce 100644 --- a/resources/templates/provision/flyingvoice/fip16plus/{$mac}.cfg +++ b/resources/templates/provision/flyingvoice/fip16plus/{$mac}.cfg @@ -268,7 +268,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$flyingvoice_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -602,7 +602,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$flyingvoice_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/cp860/{$mac}.cfg b/resources/templates/provision/yealink/cp860/{$mac}.cfg index e104d2ff47..db4037e849 100644 --- a/resources/templates/provision/yealink/cp860/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp860/{$mac}.cfg @@ -396,7 +396,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -867,7 +867,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1382,7 +1382,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1882,7 +1882,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2379,7 +2379,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2875,7 +2875,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/cp920/{$mac}.cfg b/resources/templates/provision/yealink/cp920/{$mac}.cfg index c73dc2c1a6..17db1d9888 100644 --- a/resources/templates/provision/yealink/cp920/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp920/{$mac}.cfg @@ -395,7 +395,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -866,7 +866,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1382,7 +1382,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1884,7 +1884,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2382,7 +2382,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2879,7 +2879,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/cp960/{$mac}.cfg b/resources/templates/provision/yealink/cp960/{$mac}.cfg index adbdf6c748..7884ac15ce 100644 --- a/resources/templates/provision/yealink/cp960/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp960/{$mac}.cfg @@ -397,7 +397,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -868,7 +868,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1383,7 +1383,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1882,7 +1882,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2379,7 +2379,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2875,7 +2875,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t19p/{$mac}.cfg b/resources/templates/provision/yealink/t19p/{$mac}.cfg index 887a161ed9..a4cebbcaca 100644 --- a/resources/templates/provision/yealink/t19p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t19p/{$mac}.cfg @@ -129,7 +129,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -247,10 +247,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -482,7 +482,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -600,10 +600,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -807,7 +807,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -925,10 +925,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1133,7 +1133,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1251,10 +1251,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1461,7 +1461,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1577,10 +1577,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1784,7 +1784,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1900,10 +1900,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t20p/{$mac}.cfg b/resources/templates/provision/yealink/t20p/{$mac}.cfg index 2cbd32d16d..20ea845067 100644 --- a/resources/templates/provision/yealink/t20p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t20p/{$mac}.cfg @@ -129,7 +129,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -247,10 +247,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -484,7 +484,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -602,10 +602,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -809,7 +809,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -927,10 +927,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1134,7 +1134,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1252,10 +1252,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1462,7 +1462,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1578,10 +1578,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1785,7 +1785,7 @@ account.6.subscribe_mwi_expires = account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1901,10 +1901,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t21p/{$mac}.cfg b/resources/templates/provision/yealink/t21p/{$mac}.cfg index 49593ccb6f..a4c97435ed 100644 --- a/resources/templates/provision/yealink/t21p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t21p/{$mac}.cfg @@ -143,10 +143,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -397,7 +397,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -645,10 +645,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -866,7 +866,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1158,10 +1158,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1379,7 +1379,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1654,10 +1654,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1875,7 +1875,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2150,10 +2150,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2371,7 +2371,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2645,10 +2645,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2866,7 +2866,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 887a161ed9..a4cebbcaca 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -129,7 +129,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -247,10 +247,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -482,7 +482,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -600,10 +600,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -807,7 +807,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -925,10 +925,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1133,7 +1133,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1251,10 +1251,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1461,7 +1461,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1577,10 +1577,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1784,7 +1784,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1900,10 +1900,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index 2e50f8c2cd..0bd842130d 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -661,10 +661,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1147,10 +1147,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1368,7 +1368,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1623,10 +1623,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2099,10 +2099,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2320,7 +2320,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2574,10 +2574,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2795,7 +2795,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t23p/{$mac}.cfg b/resources/templates/provision/yealink/t23p/{$mac}.cfg index 9f8ef2ba22..588e51b3f4 100644 --- a/resources/templates/provision/yealink/t23p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23p/{$mac}.cfg @@ -142,10 +142,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -396,7 +396,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -647,10 +647,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -868,7 +868,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1133,10 +1133,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1354,7 +1354,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1609,10 +1609,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1830,7 +1830,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2085,10 +2085,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2306,7 +2306,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2560,10 +2560,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2781,7 +2781,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t26p/{$mac}.cfg b/resources/templates/provision/yealink/t26p/{$mac}.cfg index e83102609f..36a86d3d47 100644 --- a/resources/templates/provision/yealink/t26p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t26p/{$mac}.cfg @@ -129,7 +129,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -247,10 +247,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -482,7 +482,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -600,10 +600,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -808,7 +808,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -926,10 +926,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1133,7 +1133,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1251,10 +1251,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1461,7 +1461,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1577,10 +1577,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1784,7 +1784,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1900,10 +1900,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t27g/{$mac}.cfg b/resources/templates/provision/yealink/t27g/{$mac}.cfg index 193e262abb..9f7d704ea6 100644 --- a/resources/templates/provision/yealink/t27g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27g/{$mac}.cfg @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -881,7 +881,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1366,7 +1366,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1841,7 +1841,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2316,7 +2316,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2790,7 +2790,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t27p/{$mac}.cfg b/resources/templates/provision/yealink/t27p/{$mac}.cfg index 53b3ffbe70..63fe50f4ef 100644 --- a/resources/templates/provision/yealink/t27p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27p/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -660,10 +660,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -881,7 +881,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1145,10 +1145,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1366,7 +1366,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1620,10 +1620,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1841,7 +1841,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2095,10 +2095,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2316,7 +2316,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2569,10 +2569,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2790,7 +2790,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t28p/{$mac}.cfg b/resources/templates/provision/yealink/t28p/{$mac}.cfg index e83102609f..36a86d3d47 100644 --- a/resources/templates/provision/yealink/t28p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t28p/{$mac}.cfg @@ -129,7 +129,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -247,10 +247,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -482,7 +482,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -600,10 +600,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -808,7 +808,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -926,10 +926,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1133,7 +1133,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1251,10 +1251,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1461,7 +1461,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1577,10 +1577,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1784,7 +1784,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1900,10 +1900,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t29g/{$mac}.cfg b/resources/templates/provision/yealink/t29g/{$mac}.cfg index ffcb4fb066..457ce430cf 100644 --- a/resources/templates/provision/yealink/t29g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t29g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -661,10 +661,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1147,10 +1147,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1368,7 +1368,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1623,10 +1623,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2099,10 +2099,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2320,7 +2320,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2574,10 +2574,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2795,7 +2795,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t2x/{$mac}.cfg b/resources/templates/provision/yealink/t2x/{$mac}.cfg index ec497332c2..5ae93d6331 100644 --- a/resources/templates/provision/yealink/t2x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t2x/{$mac}.cfg @@ -357,7 +357,7 @@ account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916 -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t31g/{$mac}.cfg b/resources/templates/provision/yealink/t31g/{$mac}.cfg index d47858570a..5a4c0d2e67 100644 --- a/resources/templates/provision/yealink/t31g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t31g/{$mac}.cfg @@ -124,7 +124,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -469,7 +469,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -786,7 +786,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -1103,7 +1103,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1423,7 +1423,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1738,7 +1738,7 @@ account.6.subscribe_mwi_expires = account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} diff --git a/resources/templates/provision/yealink/t32g/{$mac}.cfg b/resources/templates/provision/yealink/t32g/{$mac}.cfg index 5ca84accf6..84b64901fd 100644 --- a/resources/templates/provision/yealink/t32g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t32g/{$mac}.cfg @@ -124,7 +124,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -238,10 +238,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -469,7 +469,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -583,10 +583,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -786,7 +786,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -900,10 +900,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1103,7 +1103,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1217,10 +1217,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1423,7 +1423,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1535,10 +1535,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1738,7 +1738,7 @@ account.6.subscribe_mwi_expires = account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1850,10 +1850,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t33g/{$mac}.cfg b/resources/templates/provision/yealink/t33g/{$mac}.cfg index fbd6fb6767..f885b69650 100644 --- a/resources/templates/provision/yealink/t33g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t33g/{$mac}.cfg @@ -292,7 +292,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= 2 +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= 1 account.1.cid_source_privacy= 1 account.1.reg_with_pani_header.enable = @@ -863,7 +863,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= 2 +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= 1 account.2.cid_source_privacy= 1 account.2.reg_with_pani_header.enable = @@ -1431,7 +1431,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= 2 +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= 1 account.3.cid_source_privacy= 1 account.3.reg_with_pani_header.enable = @@ -1999,7 +1999,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= 2 +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= 1 account.4.cid_source_privacy= 1 account.4.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t38g/{$mac}.cfg b/resources/templates/provision/yealink/t38g/{$mac}.cfg index 5ca84accf6..84b64901fd 100644 --- a/resources/templates/provision/yealink/t38g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t38g/{$mac}.cfg @@ -124,7 +124,7 @@ account.1.subscribe_mwi_expires = account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -238,10 +238,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -469,7 +469,7 @@ account.2.subscribe_mwi_expires = account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -583,10 +583,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -786,7 +786,7 @@ account.3.subscribe_mwi_expires = account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -900,10 +900,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1103,7 +1103,7 @@ account.4.subscribe_mwi_expires = account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1217,10 +1217,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1423,7 +1423,7 @@ account.5.subscribe_mwi_expires = account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1535,10 +1535,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -1738,7 +1738,7 @@ account.6.subscribe_mwi_expires = account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1850,10 +1850,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} diff --git a/resources/templates/provision/yealink/t40g/{$mac}.cfg b/resources/templates/provision/yealink/t40g/{$mac}.cfg index 36990dafed..80f58d7c1e 100644 --- a/resources/templates/provision/yealink/t40g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40g/{$mac}.cfg @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1398,7 +1398,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1897,7 +1897,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2396,7 +2396,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2894,7 +2894,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t40p/{$mac}.cfg b/resources/templates/provision/yealink/t40p/{$mac}.cfg index c8406b858e..c279ce991e 100644 --- a/resources/templates/provision/yealink/t40p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40p/{$mac}.cfg @@ -402,7 +402,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1400,7 +1400,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1901,7 +1901,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2402,7 +2402,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2902,7 +2902,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index 3e446e8960..d4f257db67 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$mac}.cfg @@ -142,10 +142,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -396,7 +396,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -644,10 +644,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -865,7 +865,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1157,10 +1157,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1378,7 +1378,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1653,10 +1653,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1874,7 +1874,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2149,10 +2149,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2370,7 +2370,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2644,10 +2644,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2865,7 +2865,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t41s/{$mac}.cfg b/resources/templates/provision/yealink/t41s/{$mac}.cfg index 4e72326ab0..e1e5aa59eb 100644 --- a/resources/templates/provision/yealink/t41s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41s/{$mac}.cfg @@ -411,7 +411,7 @@ account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index 217f30f47f..dbfe253fef 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -661,10 +661,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1147,10 +1147,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1368,7 +1368,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1623,10 +1623,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2099,10 +2099,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2320,7 +2320,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2574,10 +2574,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2795,7 +2795,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t42s/{$mac}.cfg b/resources/templates/provision/yealink/t42s/{$mac}.cfg index 3f755f12a4..5cdeda2bdd 100644 --- a/resources/templates/provision/yealink/t42s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42s/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -409,7 +409,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -660,10 +660,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -885,7 +885,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1147,10 +1147,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1373,7 +1373,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1623,10 +1623,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2094,10 +2094,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2315,7 +2315,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2564,10 +2564,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2785,7 +2785,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t43u/{$mac}.cfg b/resources/templates/provision/yealink/t43u/{$mac}.cfg index d698a07497..6441661db9 100644 --- a/resources/templates/provision/yealink/t43u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t43u/{$mac}.cfg @@ -288,7 +288,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= 2 +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= 1 account.1.cid_source_privacy= 1 account.1.reg_with_pani_header.enable = @@ -856,7 +856,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= 2 +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= 1 account.2.cid_source_privacy= 1 account.2.reg_with_pani_header.enable = @@ -1424,7 +1424,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= 2 +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= 1 account.3.cid_source_privacy= 1 account.3.reg_with_pani_header.enable = @@ -1992,7 +1992,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= 2 +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= 1 account.4.cid_source_privacy= 1 account.4.reg_with_pani_header.enable = @@ -2560,7 +2560,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= 2 +account.5.cp_source = {$yealink_cp_source} account.5.cid_source_ppi= 1 account.5.cid_source_privacy= 1 account.5.reg_with_pani_header.enable = @@ -3128,7 +3128,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= 2 +account.6.cp_source = {$yealink_cp_source} account.6.cid_source_ppi= 1 account.6.cid_source_privacy= 1 account.6.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index a88c023a87..3e82c20a0c 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -411,7 +411,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -662,10 +662,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -883,7 +883,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1148,10 +1148,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1369,7 +1369,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1624,10 +1624,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1845,7 +1845,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2100,10 +2100,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2321,7 +2321,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2575,10 +2575,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2796,7 +2796,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 35b1a51d54..48854c19fc 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -409,7 +409,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -660,10 +660,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -885,7 +885,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1150,10 +1150,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1376,7 +1376,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1631,10 +1631,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1852,7 +1852,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2107,10 +2107,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2328,7 +2328,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2582,10 +2582,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2803,7 +2803,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t46u/{$mac}.cfg b/resources/templates/provision/yealink/t46u/{$mac}.cfg index dec327ec71..7f928d7f24 100644 --- a/resources/templates/provision/yealink/t46u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46u/{$mac}.cfg @@ -288,7 +288,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= 2 +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= 1 account.1.cid_source_privacy= 1 account.1.reg_with_pani_header.enable = @@ -851,7 +851,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= 2 +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= 1 account.2.cid_source_privacy= 1 account.2.reg_with_pani_header.enable = @@ -1414,7 +1414,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= 2 +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= 1 account.3.cid_source_privacy= 1 account.3.reg_with_pani_header.enable = @@ -1977,7 +1977,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= 2 +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= 1 account.4.cid_source_privacy= 1 account.4.reg_with_pani_header.enable = @@ -2540,7 +2540,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= 2 +account.5.cp_source = {$yealink_cp_source} account.5.cid_source_ppi= 1 account.5.cid_source_privacy= 1 account.5.reg_with_pani_header.enable = @@ -3103,7 +3103,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= 2 +account.6.cp_source = {$yealink_cp_source} account.6.cid_source_ppi= 1 account.6.cid_source_privacy= 1 account.6.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index a05796d9f4..8d6398ef07 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -661,10 +661,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1147,10 +1147,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1368,7 +1368,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1623,10 +1623,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2099,10 +2099,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2320,7 +2320,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2574,10 +2574,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2795,7 +2795,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t48s/{$mac}.cfg b/resources/templates/provision/yealink/t48s/{$mac}.cfg index 48960c91fa..d5e4f06168 100644 --- a/resources/templates/provision/yealink/t48s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48s/{$mac}.cfg @@ -409,7 +409,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -885,7 +885,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1372,7 +1372,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1844,7 +1844,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2316,7 +2316,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2787,7 +2787,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t48u/{$mac}.cfg b/resources/templates/provision/yealink/t48u/{$mac}.cfg index 9664c82373..044d82796a 100644 --- a/resources/templates/provision/yealink/t48u/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48u/{$mac}.cfg @@ -282,7 +282,7 @@ account.{$row.line_number}.vq_rtcpxr.collector_server_port= account.{$row.line_number}.vq_rtcpxr.collector_server_host= account.{$row.line_number}.vq_rtcpxr.collector_name= account.{$row.line_number}.compact_header_enable= -account.{$row.line_number}.cp_source= 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} account.{$row.line_number}.cid_source_ppi= 1 account.{$row.line_number}.cid_source_privacy= 1 account.{$row.line_number}.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index b596780d5d..0138c0e665 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -156,10 +156,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport} @@ -410,7 +410,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -661,10 +661,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport} @@ -882,7 +882,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1186,10 +1186,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport} @@ -1407,7 +1407,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1685,10 +1685,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport} @@ -1906,7 +1906,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2184,10 +2184,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport} @@ -2405,7 +2405,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2682,10 +2682,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport} @@ -2903,7 +2903,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t4x/{$mac}.cfg b/resources/templates/provision/yealink/t4x/{$mac}.cfg index 8775d79817..36de0827b2 100644 --- a/resources/templates/provision/yealink/t4x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t4x/{$mac}.cfg @@ -361,7 +361,7 @@ account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916 -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t52s/{$mac}.cfg b/resources/templates/provision/yealink/t52s/{$mac}.cfg index 7f4c5271ad..0b0db1a2c0 100644 --- a/resources/templates/provision/yealink/t52s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t52s/{$mac}.cfg @@ -501,7 +501,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= diff --git a/resources/templates/provision/yealink/t53/{$mac}.cfg b/resources/templates/provision/yealink/t53/{$mac}.cfg index 97e8cb5840..705e2947b6 100644 --- a/resources/templates/provision/yealink/t53/{$mac}.cfg +++ b/resources/templates/provision/yealink/t53/{$mac}.cfg @@ -287,7 +287,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -826,7 +826,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1353,7 +1353,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1880,7 +1880,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = @@ -2406,7 +2406,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= +account.5.cp_source = {$yealink_cp_source} account.5.cid_source_ppi= account.5.cid_source_privacy= account.5.reg_with_pani_header.enable = @@ -2946,7 +2946,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= +account.6.cp_source = {$yealink_cp_source} account.6.cid_source_ppi= account.6.cid_source_privacy= account.6.reg_with_pani_header.enable = @@ -3473,7 +3473,7 @@ account.7.vq_rtcpxr.collector_server_port= account.7.vq_rtcpxr.collector_server_host= account.7.vq_rtcpxr.collector_name= account.7.compact_header_enable= -account.7.cp_source= +account.7.cp_source = {$yealink_cp_source} account.7.cid_source_ppi= account.7.cid_source_privacy= account.7.reg_with_pani_header.enable = @@ -4000,7 +4000,7 @@ account.8.vq_rtcpxr.collector_server_port= account.8.vq_rtcpxr.collector_server_host= account.8.vq_rtcpxr.collector_name= account.8.compact_header_enable= -account.8.cp_source= +account.8.cp_source = {$yealink_cp_source} account.8.cid_source_ppi= account.8.cid_source_privacy= account.8.reg_with_pani_header.enable = @@ -4527,7 +4527,7 @@ account.9.vq_rtcpxr.collector_server_port= account.9.vq_rtcpxr.collector_server_host= account.9.vq_rtcpxr.collector_name= account.9.compact_header_enable= -account.9.cp_source= +account.9.cp_source = {$yealink_cp_source} account.9.cid_source_ppi= account.9.cid_source_privacy= account.9.reg_with_pani_header.enable = @@ -5054,7 +5054,7 @@ account.10.vq_rtcpxr.collector_server_port= account.10.vq_rtcpxr.collector_server_host= account.10.vq_rtcpxr.collector_name= account.10.compact_header_enable= -account.10.cp_source= +account.10.cp_source = {$yealink_cp_source} account.10.cid_source_ppi= account.10.cid_source_privacy= account.10.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t53w/{$mac}.cfg b/resources/templates/provision/yealink/t53w/{$mac}.cfg index 7091d0f59c..844b069100 100644 --- a/resources/templates/provision/yealink/t53w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t53w/{$mac}.cfg @@ -288,7 +288,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -828,7 +828,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1356,7 +1356,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1884,7 +1884,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = @@ -2411,7 +2411,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= +account.5.cp_source = {$yealink_cp_source} account.5.cid_source_ppi= account.5.cid_source_privacy= account.5.reg_with_pani_header.enable = @@ -2952,7 +2952,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= +account.6.cp_source = {$yealink_cp_source} account.6.cid_source_ppi= account.6.cid_source_privacy= account.6.reg_with_pani_header.enable = @@ -3480,7 +3480,7 @@ account.7.vq_rtcpxr.collector_server_port= account.7.vq_rtcpxr.collector_server_host= account.7.vq_rtcpxr.collector_name= account.7.compact_header_enable= -account.7.cp_source= +account.7.cp_source = {$yealink_cp_source} account.7.cid_source_ppi= account.7.cid_source_privacy= account.7.reg_with_pani_header.enable = @@ -4008,7 +4008,7 @@ account.8.vq_rtcpxr.collector_server_port= account.8.vq_rtcpxr.collector_server_host= account.8.vq_rtcpxr.collector_name= account.8.compact_header_enable= -account.8.cp_source= +account.8.cp_source = {$yealink_cp_source} account.8.cid_source_ppi= account.8.cid_source_privacy= account.8.reg_with_pani_header.enable = @@ -4536,7 +4536,7 @@ account.9.vq_rtcpxr.collector_server_port= account.9.vq_rtcpxr.collector_server_host= account.9.vq_rtcpxr.collector_name= account.9.compact_header_enable= -account.9.cp_source= +account.9.cp_source = {$yealink_cp_source} account.9.cid_source_ppi= account.9.cid_source_privacy= account.9.reg_with_pani_header.enable = @@ -5064,7 +5064,7 @@ account.10.vq_rtcpxr.collector_server_port= account.10.vq_rtcpxr.collector_server_host= account.10.vq_rtcpxr.collector_name= account.10.compact_header_enable= -account.10.cp_source= +account.10.cp_source = {$yealink_cp_source} account.10.cid_source_ppi= account.10.cid_source_privacy= account.10.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t54s/{$mac}.cfg b/resources/templates/provision/yealink/t54s/{$mac}.cfg index 2baae20fc8..1eda2bc0d8 100644 --- a/resources/templates/provision/yealink/t54s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54s/{$mac}.cfg @@ -502,7 +502,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index a924dc7436..b24bc05a67 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -289,7 +289,7 @@ account.{$row.line_number}.vq_rtcpxr.collector_server_port= account.{$row.line_number}.vq_rtcpxr.collector_server_host= account.{$row.line_number}.vq_rtcpxr.collector_name= account.{$row.line_number}.compact_header_enable= -account.{$row.line_number}.cp_source= +account.{$row.line_number}.cp_source = {$yealink_cp_source} account.{$row.line_number}.cid_source_ppi= account.{$row.line_number}.cid_source_privacy= account.{$row.line_number}.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t56a/{$mac}.cfg b/resources/templates/provision/yealink/t56a/{$mac}.cfg index c3a467822d..065dfabd18 100644 --- a/resources/templates/provision/yealink/t56a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t56a/{$mac}.cfg @@ -382,7 +382,7 @@ account.1.conf_uri = {if $nway_conference == 'true'}nway{$account.1.auth_id}@{$a account.1.cid_source = {$yealink_cid_source} account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### @@ -845,7 +845,7 @@ account.2.conf_uri = {if $nway_conference == 'true'}nway{$account.2.user_id}@{$a account.2.cid_source = {$yealink_cid_source} account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### @@ -1308,7 +1308,7 @@ account.3.conf_uri = {if $nway_conference == 'true'}nway{$account.3.user_id}@{$a account.3.cid_source = {$yealink_cid_source} account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### @@ -1775,7 +1775,7 @@ account.4.conf_uri = {if $nway_conference == 'true'}nway{$account.4.user_id}@{$a account.4.cid_source = {$yealink_cid_source} account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### @@ -2243,7 +2243,7 @@ account.5.conf_uri = {if $nway_conference == 'true'}nway{$account.5.user_id}@{$a account.5.cid_source = {$yealink_cid_source} account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### @@ -2713,7 +2713,7 @@ account.6.conf_uri = {if $nway_conference == 'true'}nway{$account.6.user_id}@{$a account.6.cid_source = {$yealink_cid_source} account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### diff --git a/resources/templates/provision/yealink/t57w/{$mac}.cfg b/resources/templates/provision/yealink/t57w/{$mac}.cfg index 46cb3ea4af..d1c971c36d 100644 --- a/resources/templates/provision/yealink/t57w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t57w/{$mac}.cfg @@ -288,7 +288,7 @@ account.1.vq_rtcpxr.collector_server_port= account.1.vq_rtcpxr.collector_server_host= account.1.vq_rtcpxr.collector_name= account.1.compact_header_enable= -account.1.cp_source= +account.1.cp_source = {$yealink_cp_source} account.1.cid_source_ppi= account.1.cid_source_privacy= account.1.reg_with_pani_header.enable = @@ -827,7 +827,7 @@ account.2.vq_rtcpxr.collector_server_port= account.2.vq_rtcpxr.collector_server_host= account.2.vq_rtcpxr.collector_name= account.2.compact_header_enable= -account.2.cp_source= +account.2.cp_source = {$yealink_cp_source} account.2.cid_source_ppi= account.2.cid_source_privacy= account.2.reg_with_pani_header.enable = @@ -1354,7 +1354,7 @@ account.3.vq_rtcpxr.collector_server_port= account.3.vq_rtcpxr.collector_server_host= account.3.vq_rtcpxr.collector_name= account.3.compact_header_enable= -account.3.cp_source= +account.3.cp_source = {$yealink_cp_source} account.3.cid_source_ppi= account.3.cid_source_privacy= account.3.reg_with_pani_header.enable = @@ -1881,7 +1881,7 @@ account.4.vq_rtcpxr.collector_server_port= account.4.vq_rtcpxr.collector_server_host= account.4.vq_rtcpxr.collector_name= account.4.compact_header_enable= -account.4.cp_source= +account.4.cp_source = {$yealink_cp_source} account.4.cid_source_ppi= account.4.cid_source_privacy= account.4.reg_with_pani_header.enable = @@ -2407,7 +2407,7 @@ account.5.vq_rtcpxr.collector_server_port= account.5.vq_rtcpxr.collector_server_host= account.5.vq_rtcpxr.collector_name= account.5.compact_header_enable= -account.5.cp_source= +account.5.cp_source = {$yealink_cp_source} account.5.cid_source_ppi= account.5.cid_source_privacy= account.5.reg_with_pani_header.enable = @@ -2947,7 +2947,7 @@ account.6.vq_rtcpxr.collector_server_port= account.6.vq_rtcpxr.collector_server_host= account.6.vq_rtcpxr.collector_name= account.6.compact_header_enable= -account.6.cp_source= +account.6.cp_source = {$yealink_cp_source} account.6.cid_source_ppi= account.6.cid_source_privacy= account.6.reg_with_pani_header.enable = @@ -3474,7 +3474,7 @@ account.7.vq_rtcpxr.collector_server_port= account.7.vq_rtcpxr.collector_server_host= account.7.vq_rtcpxr.collector_name= account.7.compact_header_enable= -account.7.cp_source= +account.7.cp_source = {$yealink_cp_source} account.7.cid_source_ppi= account.7.cid_source_privacy= account.7.reg_with_pani_header.enable = @@ -4001,7 +4001,7 @@ account.8.vq_rtcpxr.collector_server_port= account.8.vq_rtcpxr.collector_server_host= account.8.vq_rtcpxr.collector_name= account.8.compact_header_enable= -account.8.cp_source= +account.8.cp_source = {$yealink_cp_source} account.8.cid_source_ppi= account.8.cid_source_privacy= account.8.reg_with_pani_header.enable = @@ -4528,7 +4528,7 @@ account.9.vq_rtcpxr.collector_server_port= account.9.vq_rtcpxr.collector_server_host= account.9.vq_rtcpxr.collector_name= account.9.compact_header_enable= -account.9.cp_source= +account.9.cp_source = {$yealink_cp_source} account.9.cid_source_ppi= account.9.cid_source_privacy= account.9.reg_with_pani_header.enable = @@ -5055,7 +5055,7 @@ account.10.vq_rtcpxr.collector_server_port= account.10.vq_rtcpxr.collector_server_host= account.10.vq_rtcpxr.collector_name= account.10.compact_header_enable= -account.10.cp_source= +account.10.cp_source = {$yealink_cp_source} account.10.cid_source_ppi= account.10.cid_source_privacy= account.10.reg_with_pani_header.enable = diff --git a/resources/templates/provision/yealink/t58a/{$mac}.cfg b/resources/templates/provision/yealink/t58a/{$mac}.cfg index c3a467822d..065dfabd18 100644 --- a/resources/templates/provision/yealink/t58a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58a/{$mac}.cfg @@ -382,7 +382,7 @@ account.1.conf_uri = {if $nway_conference == 'true'}nway{$account.1.auth_id}@{$a account.1.cid_source = {$yealink_cid_source} account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### @@ -845,7 +845,7 @@ account.2.conf_uri = {if $nway_conference == 'true'}nway{$account.2.user_id}@{$a account.2.cid_source = {$yealink_cid_source} account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### @@ -1308,7 +1308,7 @@ account.3.conf_uri = {if $nway_conference == 'true'}nway{$account.3.user_id}@{$a account.3.cid_source = {$yealink_cid_source} account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### @@ -1775,7 +1775,7 @@ account.4.conf_uri = {if $nway_conference == 'true'}nway{$account.4.user_id}@{$a account.4.cid_source = {$yealink_cid_source} account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### @@ -2243,7 +2243,7 @@ account.5.conf_uri = {if $nway_conference == 'true'}nway{$account.5.user_id}@{$a account.5.cid_source = {$yealink_cid_source} account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### @@ -2713,7 +2713,7 @@ account.6.conf_uri = {if $nway_conference == 'true'}nway{$account.6.user_id}@{$a account.6.cid_source = {$yealink_cid_source} account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### diff --git a/resources/templates/provision/yealink/t58v/{$mac}.cfg b/resources/templates/provision/yealink/t58v/{$mac}.cfg index e93702d333..fa08b3abad 100644 --- a/resources/templates/provision/yealink/t58v/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58v/{$mac}.cfg @@ -399,7 +399,7 @@ account.{$row.line_number}.conf_uri = {if $nway_conference == 'true'}nway{$row.a account.{$row.line_number}.cid_source = {$yealink_cid_source} account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### diff --git a/resources/templates/provision/yealink/t58w/{$mac}.cfg b/resources/templates/provision/yealink/t58w/{$mac}.cfg index c788b9c0cc..14a8be5f20 100644 --- a/resources/templates/provision/yealink/t58w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58w/{$mac}.cfg @@ -491,7 +491,7 @@ account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916 -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/t5x/{$mac}.cfg b/resources/templates/provision/yealink/t5x/{$mac}.cfg index d2063b5cef..70d11b6db2 100644 --- a/resources/templates/provision/yealink/t5x/{$mac}.cfg +++ b/resources/templates/provision/yealink/t5x/{$mac}.cfg @@ -340,7 +340,7 @@ account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916 -account.{$row.line_number}.cp_source = 2 +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/vp530/{$mac}.cfg b/resources/templates/provision/yealink/vp530/{$mac}.cfg index 80018a1e5e..faf8f952f7 100644 --- a/resources/templates/provision/yealink/vp530/{$mac}.cfg +++ b/resources/templates/provision/yealink/vp530/{$mac}.cfg @@ -137,10 +137,10 @@ account.1.nat.stun_server = {$stun_server} account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.1.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.1.nat.rport = {$yealink_rport_1} @@ -391,7 +391,7 @@ account.1.cid_source_privacy = 1 account.1.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -635,10 +635,10 @@ account.2.nat.stun_server = {$stun_server} account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 +account.2.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.2.nat.rport = {$yealink_rport_2} @@ -856,7 +856,7 @@ account.2.cid_source_privacy = 1 account.2.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1144,10 +1144,10 @@ account.3.nat.stun_server = {$stun_server} account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 +account.3.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.3.nat.rport = {$yealink_rport_3} @@ -1365,7 +1365,7 @@ account.3.cid_source_privacy = 1 account.3.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -1636,10 +1636,10 @@ account.4.nat.stun_server = {$stun_server} account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 +account.4.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.4.nat.rport = {$yealink_rport_4} @@ -1857,7 +1857,7 @@ account.4.cid_source_privacy = 1 account.4.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2128,10 +2128,10 @@ account.5.nat.stun_server = {$stun_server} account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.5.nat.udp_update_enable = {if isset($account.5.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.5.nat.udp_update_time = 30 +account.5.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.5.nat.rport = {$yealink_rport_5} @@ -2349,7 +2349,7 @@ account.5.cid_source_privacy = 1 account.5.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## @@ -2619,10 +2619,10 @@ account.6.nat.stun_server = account.6.nat.stun_port = 3478 #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} +account.6.nat.udp_update_enable = {if isset($account.6.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. -account.6.nat.udp_update_time = 30 +account.6.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.6.nat.rport = {$yealink_rport_6} @@ -2840,7 +2840,7 @@ account.6.cid_source_privacy = 1 account.6.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/vp59/{$mac}.cfg b/resources/templates/provision/yealink/vp59/{$mac}.cfg index 1cd12e094e..ac335ac5ae 100644 --- a/resources/templates/provision/yealink/vp59/{$mac}.cfg +++ b/resources/templates/provision/yealink/vp59/{$mac}.cfg @@ -387,7 +387,7 @@ account.{$row.line_number}.conf_uri = account.{$row.line_number}.cid_source = {$yealink_cid_source} account.{$row.line_number}.cid_source_privacy = account.{$row.line_number}.cid_source_ppi = -account.{$row.line_number}.cp_source = +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## diff --git a/resources/templates/provision/yealink/w52p/{$mac}.cfg b/resources/templates/provision/yealink/w52p/{$mac}.cfg index 40072d9083..d9caf592c9 100644 --- a/resources/templates/provision/yealink/w52p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w52p/{$mac}.cfg @@ -114,7 +114,7 @@ account.1.subscribe_mwi_expires = 3600 account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -435,7 +435,7 @@ account.2.subscribe_mwi_expires = 3600 account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -708,7 +708,7 @@ account.3.subscribe_mwi_expires = 3600 account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -982,7 +982,7 @@ account.4.subscribe_mwi_expires = 3600 account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1256,7 +1256,7 @@ account.5.subscribe_mwi_expires = 3600 account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} diff --git a/resources/templates/provision/yealink/w56p/{$mac}.cfg b/resources/templates/provision/yealink/w56p/{$mac}.cfg index 60a83c4e10..78465681a9 100644 --- a/resources/templates/provision/yealink/w56p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w56p/{$mac}.cfg @@ -114,7 +114,7 @@ account.1.subscribe_mwi_expires = 3600 account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -420,7 +420,7 @@ account.2.subscribe_mwi_expires = 3600 account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -678,7 +678,7 @@ account.3.subscribe_mwi_expires = 3600 account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -937,7 +937,7 @@ account.4.subscribe_mwi_expires = 3600 account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1196,7 +1196,7 @@ account.5.subscribe_mwi_expires = 3600 account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg index b51a82e7dc..31b08f697d 100644 --- a/resources/templates/provision/yealink/w60b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -85,7 +85,7 @@ account.1.subscribe_mwi_expires = 3600 account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -379,7 +379,7 @@ account.2.subscribe_mwi_expires = 3600 account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -625,7 +625,7 @@ account.3.subscribe_mwi_expires = 3600 account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -871,7 +871,7 @@ account.4.subscribe_mwi_expires = 3600 account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1117,7 +1117,7 @@ account.5.subscribe_mwi_expires = 3600 account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1382,7 +1382,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1647,7 +1647,7 @@ account.7.subscribe_mwi_expires = 3600 account.7.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.7.cp_source = 2 +account.7.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.7.session_timer.enable = {$yealink_session_timer} @@ -1912,7 +1912,7 @@ account.8.subscribe_mwi_expires = 3600 account.8.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.8.cp_source = 2 +account.8.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.8.session_timer.enable = {$yealink_session_timer} diff --git a/resources/templates/provision/yealink/w70b/{$mac}.cfg b/resources/templates/provision/yealink/w70b/{$mac}.cfg index b51a82e7dc..31b08f697d 100644 --- a/resources/templates/provision/yealink/w70b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w70b/{$mac}.cfg @@ -85,7 +85,7 @@ account.1.subscribe_mwi_expires = 3600 account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -379,7 +379,7 @@ account.2.subscribe_mwi_expires = 3600 account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -625,7 +625,7 @@ account.3.subscribe_mwi_expires = 3600 account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -871,7 +871,7 @@ account.4.subscribe_mwi_expires = 3600 account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1117,7 +1117,7 @@ account.5.subscribe_mwi_expires = 3600 account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1382,7 +1382,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1647,7 +1647,7 @@ account.7.subscribe_mwi_expires = 3600 account.7.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.7.cp_source = 2 +account.7.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.7.session_timer.enable = {$yealink_session_timer} @@ -1912,7 +1912,7 @@ account.8.subscribe_mwi_expires = 3600 account.8.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.8.cp_source = 2 +account.8.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.8.session_timer.enable = {$yealink_session_timer} diff --git a/resources/templates/provision/yealink/w7xp/{$mac}.cfg b/resources/templates/provision/yealink/w7xp/{$mac}.cfg index b51a82e7dc..31b08f697d 100644 --- a/resources/templates/provision/yealink/w7xp/{$mac}.cfg +++ b/resources/templates/provision/yealink/w7xp/{$mac}.cfg @@ -85,7 +85,7 @@ account.1.subscribe_mwi_expires = 3600 account.1.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.1.cp_source = 2 +account.1.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.1.session_timer.enable = {$yealink_session_timer} @@ -379,7 +379,7 @@ account.2.subscribe_mwi_expires = 3600 account.2.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = 2 +account.2.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.2.session_timer.enable = {$yealink_session_timer} @@ -625,7 +625,7 @@ account.3.subscribe_mwi_expires = 3600 account.3.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = 2 +account.3.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.3.session_timer.enable = {$yealink_session_timer} @@ -871,7 +871,7 @@ account.4.subscribe_mwi_expires = 3600 account.4.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = 2 +account.4.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.4.session_timer.enable = {$yealink_session_timer} @@ -1117,7 +1117,7 @@ account.5.subscribe_mwi_expires = 3600 account.5.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = 2 +account.5.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.5.session_timer.enable = {$yealink_session_timer} @@ -1382,7 +1382,7 @@ account.6.subscribe_mwi_expires = 3600 account.6.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = 2 +account.6.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.6.session_timer.enable = {$yealink_session_timer} @@ -1647,7 +1647,7 @@ account.7.subscribe_mwi_expires = 3600 account.7.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.7.cp_source = 2 +account.7.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.7.session_timer.enable = {$yealink_session_timer} @@ -1912,7 +1912,7 @@ account.8.subscribe_mwi_expires = 3600 account.8.cid_source = {$yealink_cid_source} #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.8.cp_source = 2 +account.8.cp_source = {$yealink_cp_source} #Enable or disable the session timer; 0-Disabled (default), 1-Enabled; account.8.session_timer.enable = {$yealink_session_timer}