Adding dhcp options variables. Pull request #5631

adding dhcp options variables
This commit is contained in:
FusionPBX 2020-12-12 01:58:47 -07:00 committed by GitHub
commit 1db81cf8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -4413,18 +4413,18 @@
<!-- # When set to Yes(1), it will override the configured provision path and method -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P145>0</P145>
{if isset($grandstream_dhcp_option_override)}<P145>{$grandstream_dhcp_option_override}</P145>{else}<P145>1</P145>{/if}
<!-- # Additional Override DHCP Option. 0 - None, 1 - Option 150, 2 - Option 160. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P8337>0</P8337>
{if isset($grandstream_dhcp_option_additional_override)}<P8337>{$grandstream_dhcp_option_additional_override}</P8337>{else}<P8337>0</P8337>{/if}
<!-- # Allow DHCP Option 120 to Override SIP Server -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1411>0</P1411>
{if isset($grandstream_dhcp_option_override_sip_server)}<P1411>{$grandstream_dhcp_option_override_sip_server}</P1411>{else}<P1411>0</P1411>{/if}
<!-- # 3CX Auto Provision. 0 - No, 1 - Yes. Default is Yes -->
<!-- # Number: 0, 1 -->
@ -6940,8 +6940,6 @@
<!-- # String -->
<!-- <P23003></P23003> -->
{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}