[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: 68
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,180
Joined: Jan 2014
Reputation: 34
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: 68
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
  Hard reset a T20P and erase config Kevinlloyd 32 95,457 12-02-2021 05:54 AM
Last Post: callisap
  [OT] Apache 2.4 config allowing PUT oliv 0 1,906 10-28-2020 03:23 PM
Last Post: oliv
  y000000000000.boot and encrypted config files kapetrosyan 6 7,362 01-17-2020 11:22 PM
Last Post: kapetrosyan
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 4,507 01-28-2019 04:01 PM
Last Post: jolouis
  Enabling Remote Phone Book via Config File moosemasterson 6 22,845 04-11-2018 02:06 PM
Last Post: sbsllc
  Autoprovision - config file encryption problem oea 7 18,494 04-11-2018 11:03 AM
Last Post: Rus
  Which config file for phone_setting.hide_ntp_server.enable Byron13 1 4,091 11-24-2017 01:27 AM
Last Post: Lucia_Yealink
Question Config for Auto Provisioning Questions Audevon 8 14,648 11-23-2017 05:32 AM
Last Post: Byron13
  Common config with t46s not working Alan11111111 3 7,825 09-08-2017 11:03 AM
Last Post: Fuur
  What's display voice mail in config file avayax 1 5,132 02-21-2017 08:30 AM
Last Post: complex1

Forum Jump:


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

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