mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Added variables to grandstream configs for idle mute fuction (#6371)
* Added varibles to grandstream configs for idle mute fuction I have changed them all to the default of "0" and then added a varible called "grandstream_idle_mute_function" that overwrites the default option of 0 There seems to be older configs where 0 = no instead of dnd so I've added grandstream_idle_mute_function_old for these configs * Added curls for grandstream_idle_mute_function
This commit is contained in:
@@ -3573,7 +3573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # # Enable Auto Unmute. 0 - No, 1 - Yes. Default is 1 -->
|
||||
<P8488>0</P8488>
|
||||
|
||||
@@ -3668,7 +3668,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # # Enable Auto Unmute. 0 - No, 1 - Yes. Default is 1 -->
|
||||
<P8488>0</P8488>
|
||||
|
||||
@@ -4412,7 +4412,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -5683,7 +5683,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -6714,7 +6714,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -7606,7 +7606,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>2</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -6927,7 +6927,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # Enable Auto Unmute. 0 - No, 1 - Yes. Default is 1 -->
|
||||
<P8488>1</P8488>
|
||||
|
||||
@@ -1170,7 +1170,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
@@ -1188,7 +1188,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
@@ -1481,7 +1481,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -1481,7 +1481,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -1962,7 +1962,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
@@ -1769,7 +1769,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
@@ -2523,7 +2523,11 @@
|
||||
<!-- Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- Number: 0, 1, 2 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -3630,7 +3630,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
||||
@@ -3265,7 +3265,11 @@
|
||||
<!--# Enable Idle Mute. 0 - No, 1 - Yes. Default is 0-->
|
||||
<!--# Number: 0, 1-->
|
||||
<!--# Mandatory-->
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!--# Disable Transfer. 0 - No, 1 - Yes. Defauls is 0-->
|
||||
<!--# Number: 0, 1-->
|
||||
|
||||
@@ -2216,7 +2216,11 @@
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -7573,7 +7573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -7573,7 +7573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -7573,7 +7573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -7573,7 +7573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -7573,7 +7573,11 @@
|
||||
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
|
||||
<!-- # Number: 0,1,2 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
|
||||
<!-- # Number: 0,1,2,3 -->
|
||||
|
||||
@@ -3029,7 +3029,11 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -3730,7 +3730,11 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Enable Idle Mute. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
<P1565>0</P1565>
|
||||
{if isset($grandstream_idle_mute_function_old)}
|
||||
<P1565>{$grandstream_idle_mute_function_old}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
@@ -4109,7 +4109,11 @@
|
||||
|
||||
<!-- Mute Key Function While Idle. 0 - DND, 1 - Idle Mute, 2 - Permanent Mute. Default value is 0 -->
|
||||
<!-- Number: 0,1,2 -->
|
||||
<P1565>0 </P1565>
|
||||
{if isset($grandstream_idle_mute_function)}
|
||||
<P1565>{$grandstream_idle_mute_function}</P1565>
|
||||
{else}
|
||||
<P1565>0</P1565>
|
||||
{/if}
|
||||
|
||||
<!-- Auto Unhold When Press the Line Key. 0 - No, 1 - Yes. Default value is 0. -->
|
||||
<!-- Number: 0, 1 -->
|
||||
|
||||
Reference in New Issue
Block a user