diff --git a/resources/templates/provision/grandstream/grp2612/{$mac}.xml b/resources/templates/provision/grandstream/grp2612/{$mac}.xml index 64f1c6b132..03122670b7 100644 --- a/resources/templates/provision/grandstream/grp2612/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612/{$mac}.xml @@ -3535,8 +3535,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 - +{/if} @@ -3942,12 +3945,20 @@ - 0 +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} + 0 +{/if} - + - 0 +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} + 0 +{/if} @@ -4351,7 +4362,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index d4dd0ea801..b70ea91f9b 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -3629,7 +3629,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -4036,12 +4040,20 @@ - 0 +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} + 0 +{/if} - + - 0 +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} + 0 +{/if} @@ -4445,7 +4457,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp2613/{$mac}.xml b/resources/templates/provision/grandstream/grp2613/{$mac}.xml index 6e6ea052bc..83980ee35a 100644 --- a/resources/templates/provision/grandstream/grp2613/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2613/{$mac}.xml @@ -4361,7 +4361,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -4776,12 +4780,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} @@ -5165,7 +5177,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml index acd47f4145..6c09773ed4 100644 --- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml @@ -5620,7 +5620,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -6091,12 +6095,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} @@ -6500,7 +6512,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp2615/{$mac}.xml b/resources/templates/provision/grandstream/grp2615/{$mac}.xml index f9d8401fab..d556ed29ac 100644 --- a/resources/templates/provision/grandstream/grp2615/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2615/{$mac}.xml @@ -3811,7 +3811,7 @@ - + @@ -6559,7 +6559,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7026,13 +7030,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 - +{/if} @@ -7421,7 +7432,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp2616/{$mac}.xml b/resources/templates/provision/grandstream/grp2616/{$mac}.xml index 10cfa77ee5..2c3b33fd54 100644 --- a/resources/templates/provision/grandstream/grp2616/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2616/{$mac}.xml @@ -4759,7 +4759,7 @@ - + @@ -7519,7 +7519,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7990,12 +7994,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} @@ -8399,7 +8411,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml index 513920bece..765d517f9c 100644 --- a/resources/templates/provision/grandstream/grp26xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp26xx/{$mac}.xml @@ -6856,7 +6856,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7268,12 +7272,20 @@ - 0 +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} + 0 +{/if} - + - 0 +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} + 0 +{/if} @@ -7731,7 +7743,7 @@ - 0 + {$grandstream_blind_xfer_blf} diff --git a/resources/templates/provision/grandstream/gxp116x/{$mac}.xml b/resources/templates/provision/grandstream/gxp116x/{$mac}.xml index 2a40351ea9..a563803545 100644 --- a/resources/templates/provision/grandstream/gxp116x/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp116x/{$mac}.xml @@ -1294,12 +1294,20 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml index c88f3bd122..9a9b3c0acb 100644 --- a/resources/templates/provision/grandstream/gxp140x/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp140x/{$mac}.xml @@ -1556,11 +1556,19 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 - - - +{/if} + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml index 2644d5efe8..b2073dec5f 100644 --- a/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp140xbk/{$mac}.xml @@ -1556,11 +1556,19 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 - - - +{/if} + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp1450/{$mac}.xml b/resources/templates/provision/grandstream/gxp1450/{$mac}.xml index 7ab759d0d6..d9a5c8c87d 100644 --- a/resources/templates/provision/grandstream/gxp1450/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp1450/{$mac}.xml @@ -2065,12 +2065,20 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} - - - + + + +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml b/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml index ce86875608..d222f2762c 100644 --- a/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp1450bk/{$mac}.xml @@ -1872,12 +1872,20 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} - - - + + + +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml index d4405cfb30..a33b9bbca9 100644 --- a/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp16xx/{$mac}.xml @@ -2710,11 +2710,19 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml index 49d1539d4a..fe878be725 100644 --- a/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp17xx/{$mac}.xml @@ -3778,12 +3778,20 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml index 9dacce64b9..7574d645a2 100644 --- a/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml @@ -315,10 +315,18 @@ 0 +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} 0 diff --git a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml index 3ef6254975..2751136ec3 100644 --- a/resources/templates/provision/grandstream/gxp2100/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2100/{$mac}.xml @@ -3480,12 +3480,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} - - - + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml index 577392e170..353fbb0256 100644 --- a/resources/templates/provision/grandstream/gxp2124/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2124/{$mac}.xml @@ -2295,11 +2295,19 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 - - - +{/if} + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml index 24c0af222c..d57c949987 100644 --- a/resources/templates/provision/grandstream/gxp2130/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2130/{$mac}.xml @@ -7447,7 +7447,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7925,12 +7929,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index 97771d831f..0c3e22554a 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -7447,7 +7447,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7925,12 +7929,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index 97771d831f..0c3e22554a 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -7447,7 +7447,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7925,12 +7929,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 4e4c4c1346..71d64cc1b8 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -7451,7 +7451,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7929,12 +7933,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 0f32d27a20..25ec3e9fc0 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -7447,7 +7447,11 @@ +{if isset($dnd)} + {$dnd} +{else} 1 +{/if} @@ -7925,12 +7929,20 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml index 933c5788df..86e4f4bb02 100644 --- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml @@ -3064,11 +3064,19 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 --> +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 - - - +{/if} + + + +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml index c16de358c1..c706818fd9 100644 --- a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml @@ -3782,12 +3782,20 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 --> +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} - - - + + + +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml index d1cb119427..6c0051972a 100644 --- a/resources/templates/provision/grandstream/gxp2200/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2200/{$mac}.xml @@ -3323,11 +3323,19 @@ Account 5 Codec Settings +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxp3240/{$mac}.xml b/resources/templates/provision/grandstream/gxp3240/{$mac}.xml index 64a59d5d63..71dd325f17 100644 --- a/resources/templates/provision/grandstream/gxp3240/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp3240/{$mac}.xml @@ -3533,11 +3533,19 @@ Account 5 Codec Settings +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxv3140/{$mac}.xml b/resources/templates/provision/grandstream/gxv3140/{$mac}.xml index dafabbf3c5..01a3cc3cfe 100644 --- a/resources/templates/provision/grandstream/gxv3140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3140/{$mac}.xml @@ -1501,10 +1501,18 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxv3175/{$mac}.xml b/resources/templates/provision/grandstream/gxv3175/{$mac}.xml index 57f0596ff5..6da83e7eb9 100644 --- a/resources/templates/provision/grandstream/gxv3175/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3175/{$mac}.xml @@ -1389,10 +1389,18 @@ -0 +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} + 0 +{/if} -0 +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} + 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml b/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml index 80e94779f0..331264c920 100644 --- a/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3175v2/{$mac}.xml @@ -865,10 +865,17 @@ +{if isset($grandstream_headset_tx_gain)} + {$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} + {$grandstream_headset_rx_gain} +{else} 0 - +{/if} 0 12 diff --git a/resources/templates/provision/grandstream/gxv3240/{$mac}.xml b/resources/templates/provision/grandstream/gxv3240/{$mac}.xml index f2c92825ce..158da35e69 100644 --- a/resources/templates/provision/grandstream/gxv3240/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3240/{$mac}.xml @@ -5391,11 +5391,19 @@ +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if} diff --git a/resources/templates/provision/grandstream/gxv3275/{$mac}.xml b/resources/templates/provision/grandstream/gxv3275/{$mac}.xml index 05054468f5..16a159f70e 100644 --- a/resources/templates/provision/grandstream/gxv3275/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3275/{$mac}.xml @@ -3532,11 +3532,19 @@ Account 5 Codec Settings +{if isset($grandstream_headset_tx_gain)} +{$grandstream_headset_tx_gain} +{else} 0 +{/if} +{if isset($grandstream_headset_rx_gain)} +{$grandstream_headset_rx_gain} +{else} 0 +{/if}