[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
  settings are not updating from autoprovision server AdmshipYard 1 2,549 02-20-2021 04:20 PM
Last Post: AdmshipYard
Question Autoprovision - LED Light Flashing [Resolved] voipsupport 2 3,785 05-01-2020 06:43 PM
Last Post: voipsupport
  Repeated AutoProvision TFTP/HTTP Issue patrick_keys 1 3,069 02-10-2020 05:04 PM
Last Post: jolouis
  How to erase a parameter using autoprovision file Santi 1 3,693 06-21-2019 10:25 AM
Last Post: complex1
  Local Phonebook autoprovision Aber 6 9,379 06-11-2019 01:55 AM
Last Post: Aber
  Auto Provision - first time with encrypting.. Gilb 14 31,345 06-21-2018 10:05 AM
Last Post: wanna
  Autoprovision - config file encryption problem oea 7 18,453 04-11-2018 11:03 AM
Last Post: Rus
  Autoprovision Softkey XML Group Lansalot 0 3,270 02-15-2018 04:15 PM
Last Post: Lansalot
Question Autoprovisioned settings reverting to defaults after a period of time Inline Computer Support 1 4,162 02-05-2018 09:58 AM
Last Post: Kevin_Yealink
  Problems with the Auto Provisioning from the T48S (NTP-Server, TIme and Date) Skamqi 1 4,622 11-08-2017 03:26 AM
Last Post: Paul_Yealink

Forum Jump:


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

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