From 47b41b8616570b2c86a90eb2ae4f90ceee373eaa Mon Sep 17 00:00:00 2001 From: Jim Kusznir Date: Sat, 1 Apr 2017 14:15:13 -0700 Subject: [PATCH 1/3] Added variables to disable call waiting and t.38 faxing --- .../provision/grandstream/ht702/{$mac}.xml | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/grandstream/ht702/{$mac}.xml b/resources/templates/provision/grandstream/ht702/{$mac}.xml index 1971fe7eeb..775e74faa2 100644 --- a/resources/templates/provision/grandstream/ht702/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht702/{$mac}.xml @@ -3,7 +3,10 @@ - + @@ -69,7 +72,7 @@ -fm.grandstream.com/gs +{$domain_name}{$project_path}/app/provision @@ -533,7 +536,9 @@ -0 +{if $disable_cw == '1'}1 + {else}0 + {/if} @@ -742,7 +747,10 @@ -0 +{if $disable_t38 == '1'}1 + {else}0 + {/if} + @@ -1192,7 +1200,9 @@ -0 +{if $disable_cw == '1'}1 + {else}0 + {/if} @@ -1399,7 +1409,9 @@ -0 +{if $disable_t38 == '1'}1 + {else}0 + {/if} From 0e22bb12f8a94e1cf3544c7db456f37fbb15879d Mon Sep 17 00:00:00 2001 From: Jim Kusznir Date: Mon, 3 Apr 2017 14:15:30 -0700 Subject: [PATCH 2/3] HT702 config file variables: grandstream_disable_call_waiting, grandstream_disable_fax_t38 --- .../templates/provision/grandstream/ht702/{$mac}.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/grandstream/ht702/{$mac}.xml b/resources/templates/provision/grandstream/ht702/{$mac}.xml index 775e74faa2..06655b6e1c 100644 --- a/resources/templates/provision/grandstream/ht702/{$mac}.xml +++ b/resources/templates/provision/grandstream/ht702/{$mac}.xml @@ -4,8 +4,8 @@ @@ -536,7 +536,7 @@ -{if $disable_cw == '1'}1 +{if $grandstream_disable_call_waiting == '1'}1 {else}0 {/if} @@ -747,7 +747,7 @@ -{if $disable_t38 == '1'}1 +{if $grandstream_disable_fax_t38 == '1'}1 {else}0 {/if} @@ -1200,7 +1200,7 @@ -{if $disable_cw == '1'}1 +{if $grandstream_disable_call_waiting == '1'}1 {else}0 {/if} @@ -1409,7 +1409,7 @@ -{if $disable_t38 == '1'}1 +{if $grandstream_disable_fax_t38 == '1'}1 {else}0 {/if} From a95f380c60d79b435040084502723809e5b8e0fd Mon Sep 17 00:00:00 2001 From: Jim Kusznir Date: Thu, 6 Apr 2017 21:21:16 -0700 Subject: [PATCH 3/3] Corrected bug with expansion board and call park value. Was 19, should be 16. --- resources/templates/provision/grandstream/gxp2140/{$mac}.xml | 2 +- resources/templates/provision/grandstream/gxp2170/{$mac}.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml index aa57ba1d1f..6a8b029e92 100644 --- a/resources/templates/provision/grandstream/gxp2140/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2140/{$mac}.xml @@ -576,7 +576,7 @@ {if $row.device_key_type == "voicemail"} 6{/if} {if $row.device_key_type == "call return"} 7{/if} {if $row.device_key_type == "transfer"} 8{/if} -{if $row.device_key_type == "call park"} 19{/if} +{if $row.device_key_type == "call park"} 16{/if} {if $row.device_key_type == "intercom"} 10{/if} {if $row.device_key_type == "ldap search"} 11{/if} diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 1184345c3b..b62359d1d2 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -576,7 +576,7 @@ {if $row.device_key_type == "voicemail"} 6{/if} {if $row.device_key_type == "call return"} 7{/if} {if $row.device_key_type == "transfer"} 8{/if} -{if $row.device_key_type == "call park"} 19{/if} +{if $row.device_key_type == "call park"} 16{/if} {if $row.device_key_type == "intercom"} 10{/if} {if $row.device_key_type == "ldap search"} 11{/if}