[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
how to send request to all devices same time for autoprovision..
Author Message
cptjack Offline
Member
***

Posts: 97
Joined: Jan 2014
Reputation: 8
Post: #11
RE: how to send request to all devices same time for autoprovision..
Hello Gilb, sorry for the late reply as I was on holiday. Here is an example of how to implement this for 3 phones, but you can easily add more.

In your Asterisk sip_notify.conf file you can add these lines:
Code:
[reboot-yealink]
Event=>check-sync\;reboot=true

[reconfig-yealink]
Event=>check-sync

Then in your dialplan extensions.conf file, you add these lines:
Code:
[rebootphones]
1234 => 1,System(/usr/sbin/asterisk -rx "sip notify reboot-yealink telA telB telC")

This will reboot phonew telA telB telC when you dial 1234 from within the rebootphones context.

Additional measures should be taken that prevent any user from dialing that extension, so make sure only an admin phone can do this from the rebootphones context, ask for a PIN code or both... Also don't use any user variables in the System() call, as this can jeopardise the security of your PBX.

Please use the reputation button below if you like this post.
08-16-2015 05:06 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: how to send request to all devices same time for autoprovision.. - cptjack - 08-16-2015 05:06 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T57W will not factory reset to autoprovision! bill@wesimplifyit.com 1 284 11-08-2024 08:36 PM
Last Post: complex1
Wink Auto Provsioning EOL products and devices that do dont have recent firmware releases GalacticSolutions 3 7,744 04-12-2023 05:32 PM
Last Post: aaronmedina
  Loading the configuration every time after reboot goodtm 1 4,045 05-19-2022 05:20 PM
Last Post: complex1
  settings are not updating from autoprovision server AdmshipYard 1 6,956 02-20-2021 04:20 PM
Last Post: AdmshipYard
Question Autoprovision - LED Light Flashing [Resolved] voipsupport 2 8,163 05-01-2020 06:43 PM
Last Post: voipsupport
  Repeated AutoProvision TFTP/HTTP Issue patrick_keys 1 6,521 02-10-2020 05:04 PM
Last Post: jolouis
  How to erase a parameter using autoprovision file Santi 1 7,703 06-21-2019 10:25 AM
Last Post: complex1
  Local Phonebook autoprovision Aber 6 19,022 06-11-2019 01:55 AM
Last Post: Aber
  Auto Provision - first time with encrypting.. Gilb 14 50,211 06-21-2018 10:05 AM
Last Post: wanna
  Autoprovision - config file encryption problem oea 7 28,675 04-11-2018 11:03 AM
Last Post: Rus

Forum Jump:


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

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