From 15af7e3589916788917b0a6aade8d1580c9f4710 Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Fri, 11 Dec 2020 15:18:21 -0700
Subject: [PATCH] adding dhcp options variables
---
.../templates/provision/grandstream/grp2614/{$mac}.xml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
index 3a23a5c8cc..0928140e6d 100644
--- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
@@ -4413,18 +4413,18 @@
- 0
+ {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
- 0
+ {if isset($grandstream_dhcp_option_additional_override)}{$grandstream_dhcp_option_additional_override}{else}0{/if}
- 0
+ {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}
@@ -6940,8 +6940,6 @@
-
-
{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]}
{$start_id=23000}
{for $exp=1 to 160}