Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Operator » Template override by MAC troubles
  •  
whitneyr78

Messages: 9
Karma: 2
Send a private message to this user
I'm trying to set all phones to VLAN 5, except one phone that I would like to have on VLAN 0. Currently every phone goes to VLAN 5, but the MAC exception phone goes to VLAN 5 instead of 0. My code is also supposed to set a label to 'TEST' so that I can quickly see if it made the change. I am trying to do this inside the template override for a Grandstream GXP2170. I am trying this code, but it doesn't seem to be working:

@ if ($MAC === '000B82A9C3B6') {
<P1471>TEST</P1471>
<P51>0</P51>
@ } else {
<P1471>Page</P1471>
<P51>5</P51>
@}


Anyone have any ideas?

Thanks,
Rob
Previous Topic: How to document phone systems
Next Topic: Cisco SPA508G
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Tue Sep 26 22:04:44 CEST 2017

Total time taken to generate the page: 0.00319 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.