[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change vlan setting to more than one phone at once
Author Message
cptjack Offline
Member
***

Posts: 97
Joined: Jan 2014
Reputation: 8
Post: #10
RE: Change vlan setting to more than one phone at once
First thing is to manually configure one phone to make sure you have the correct settings for your network. Then you can apply these parameters using the example script(s) above, either PHP or SIP Notify to only change the parameters you really need.

Like:
Code:
<item>network.vlan.internet_port_enable = 1</item>
<item>network.vlan.internet_port_vid = 132</item>
<item>network.vlan.internet_port_priority = 0</item>
<item>network.vlan.pc_port_enable = 1</item>
<item>network.vlan.pc_port_vid = 1</item>
<item>network.vlan.pc_port_priority = 0</item>
or any combination thereof. This is only an example, so it should be changed to match your network configuration.

Once you have it setup on one phone, it should be possible to duplicate the settings accross multiple phones. The parameters are the same as the auto provisioning guide, but they can be included in an XML message/script to change it on the phone.

I would opt to add a command to the sip_notify.conf so you can update the phone from the Asterisk CLI. Since the phone will reboot, you can monitor the if the extensions goes offline and come back online with the new IP from within the console.

Please use the reputation button below if you like this post.
11-18-2014 11:48 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Change vlan setting to more than one phone at once - cptjack - 11-18-2014 11:48 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Question 3CX / Yealink passthrough VLAN issue (when phone is rebooted) maindriver 4 8,397 03-24-2022 10:25 PM
Last Post: maindriver
  W70B - 3CX phone book is not displayed completely ChrisGER 0 1,315 02-05-2022 04:57 PM
Last Post: ChrisGER
  Directory DSS Key Target Change nolto 1 3,536 01-14-2022 07:05 PM
Last Post: nolto
  Limit maximum of active calls per phone elastalink 5 12,273 09-09-2021 03:52 AM
Last Post: kapetrosyan
  Read specific variable from phone configuration saivo 0 2,429 06-13-2021 05:23 PM
Last Post: saivo
  Change default admin password with config file? PeterSkiles 1 4,693 05-18-2021 01:22 AM
Last Post: complex1
  Change number of rings to get to day voicmail drb@thecatdr.net 4 8,021 06-10-2020 05:44 PM
Last Post: drb@thecatdr.net
  Raw XML for Remote Phone Book rgranholm 1 5,363 03-24-2020 06:14 AM
Last Post: crazyau
  Setting phone to default to No Account by default when Off Hook InterLynx 4 12,731 01-08-2020 01:20 AM
Last Post: tfrazer
  How can i reset my phone andyjgarner 3 8,454 10-24-2019 02:45 PM
Last Post: anonymous1669303959940

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication