Add a new variable mitel_vlan_id.

This commit is contained in:
markjcrane 2015-11-20 10:50:35 -07:00
parent ff9e302768
commit 93ff09e8b1
2 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,7 @@
<local_sip_port>5060</local_sip_port>
<tos>0</tos>
<e802_priority>-1</e802_priority>
<vlan_id>-1</vlan_id>
{if isset($mitel_vlan_id)}<vlan_id>{$mitel_vlan_id}</vlan_id>{else}<vlan_id>-1</vlan_id>{/if}
<host_name>sip1</host_name>
<domain>-example.com</domain>
<addr_type>0</addr_type>
@ -349,7 +349,6 @@
<User State="1" ID="user" DispName="disp username" Pwd="hello" AuthName="user" Realm="" RegSvr="" RegPort="5060" RegScheme="2" ProxySvr="" ProxyPort="5060" ProxyScheme="2" VMSvr="" VMPort="5060" VMScheme="2" OutSvr="" OutPort="5060" OutCtr="0" Ring="1" Line="0" EventSvr="" EventPort="5060" EventScheme="2" NatMode="0" NatType="option" NatIp="0"></User>
-->
</user_list>
{/foreach}
<!--
<ipadr>10.7.0.12</ipadr>

View File

@ -11,7 +11,7 @@
<local_sip_port>5060</local_sip_port>
<tos>0</tos>
<e802_priority>-1</e802_priority>
<vlan_id>-1</vlan_id>
{if isset($mitel_vlan_id)}<vlan_id>{$mitel_vlan_id}</vlan_id>{else}<vlan_id>-1</vlan_id>{/if}
<host_name>sip1</host_name>
<domain>-example.com</domain>
<addr_type>0</addr_type>
@ -349,7 +349,6 @@
<User State="1" ID="user" DispName="disp username" Pwd="hello" AuthName="user" Realm="" RegSvr="" RegPort="5060" RegScheme="2" ProxySvr="" ProxyPort="5060" ProxyScheme="2" VMSvr="" VMPort="5060" VMScheme="2" OutSvr="" OutPort="5060" OutCtr="0" Ring="1" Line="0" EventSvr="" EventPort="5060" EventScheme="2" NatMode="0" NatType="option" NatIp="0"></User>
-->
</user_list>
{/foreach}
<!--
<ipadr>10.7.0.12</ipadr>