[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
Daily config check
Author Message
oliv Offline
Member
***

Posts: 92
Joined: Feb 2016
Reputation: 1
Post: #1
Daily config check
Hello,

I'm targeting an Asterisk environment where Yealink IP Phones
1. can send HTTP requests
2. can send and receive SIP messages (SIP Notify, ...) most of the time
3. cannot receive one time HTTP request.

I was planning to use SIP NOTIFY to force re-provisionning.
The chicken and egg issue I'm facing is that when new accounts are allocated to IP Phones, I cannot use SIP Notify anymore to force phones to re-provision as either phone or Asterisk is configured with outdated SIP accounts.

So I'm thinking about provisoning both Asterisk and IP phones at fixed times (and therefore accept a small time period during which newly re-configured IP phones would not be SIP connected to their Asterisk server).

To make this happen, I would like IP phones to daily perform a config check without needing any SIP Notify message or HTTP request to trigger this.

Is it possible ?
Looking at x.86.0.y doc, it seems Weekly check are implemented but Daily ones are not.

Best regards

PS: Looking at YDMP admin guide, Task management shows a Repeat parameter which may or may not support setting daily tasks. I would be very curious to read if this Repeat setting allows repeating daily tasks.
07-06-2021 04:28 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
complex1 Offline
3CX Adv. Cert. Engineer
*****

Posts: 1,549
Joined: Jan 2014
Reputation: 48
Post: #2
RE: Daily config check
(07-06-2021 04:28 PM)oliv Wrote:  Hello,

I'm targeting an Asterisk environment where Yealink IP Phones
1. can send HTTP requests
2. can send and receive SIP messages (SIP Notify, ...) most of the time
3. cannot receive one time HTTP request.

I was planning to use SIP NOTIFY to force re-provisionning.
The chicken and egg issue I'm facing is that when new accounts are allocated to IP Phones, I cannot use SIP Notify anymore to force phones to re-provision as either phone or Asterisk is configured with outdated SIP accounts.

So I'm thinking about provisoning both Asterisk and IP phones at fixed times (and therefore accept a small time period during which newly re-configured IP phones would not be SIP connected to their Asterisk server).

To make this happen, I would like IP phones to daily perform a config check without needing any SIP Notify message or HTTP request to trigger this.

Is it possible ?
Looking at x.86.0.y doc, it seems Weekly check are implemented but Daily ones are not.

Best regards

PS: Looking at YDMP admin guide, Task management shows a Repeat parameter which may or may not support setting daily tasks. I would be very curious to read if this Repeat setting allows repeating daily tasks.

Hi

Please try next:

Code:
#Enable or disable the phone to check the new configuration weekly; 0-Disabled (default), 1-Enabled;
static.auto_provision.weekly.enable = 1

#Configure the week time the phone checks the new configuration.
static.auto_provision.weekly.dayofweek = 0123456
static.auto_provision.weekly.begin_time = 01:00
static.auto_provision.weekly.end_time = 02:00

Every night somewhere between 01:00 - 02:00 the phone will check the configuration.

Hope this will help.

Kind regards,
Frank.

I am not an employee of Yealink.
Dutch is my native language, not English. Apologies for my imperfect grammar.
Please do not send unsolicited PM messages. I will not answer them.
07-06-2021 09:56 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
oliv Offline
Member
***

Posts: 92
Joined: Feb 2016
Reputation: 1
Post: #3
RE: Daily config check
@complex1:
Using your settings, I could successfully get what I was after !
Thank you very much for this !
07-07-2021 01:08 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  W73P Custom Handset Config to Disable Noise Cancellation vikramgupte 2 4,498 10-25-2022 07:37 AM
Last Post: vikramgupte
  Hard reset a T20P and erase config Kevinlloyd 32 142,604 12-02-2021 05:54 AM
Last Post: callisap
  [OT] Apache 2.4 config allowing PUT oliv 0 4,591 10-28-2020 03:23 PM
Last Post: oliv
  y000000000000.boot and encrypted config files kapetrosyan 6 18,507 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 9,550 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 32,907 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 28,884 04-11-2018 11:03 AM
Last Post: Rus
  Which config file for phone_setting.hide_ntp_server.enable Byron13 1 7,253 11-24-2017 01:27 AM
Last Post: Lucia_Yealink
Question Config for Auto Provisioning Questions Audevon 8 25,796 11-23-2017 05:32 AM
Last Post: Byron13
  Common config with t46s not working Alan11111111 3 13,460 09-08-2017 11:03 AM
Last Post: Fuur

Forum Jump:


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

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