[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
Account Changes/Enable Delay
Author Message
Chris708 Offline
Member
***

Posts: 80
Joined: Mar 2015
Reputation: 1
Post: #1
Account Changes/Enable Delay
I am using a Yealink T46S phone for testing and the phone is on firmware: 66.83.0.50. The configurations are coming from a cloud based Asterisk server.

I am programming a second account via config file using Auto Provisioning and noticed odd behavior when the phone changes from Account 1 enabled to also having Account 2 enabled.
I am testing the settings by rebooting the phone to have it pull new configurations via Auto Provisioning.

Account 1 is extension 5000. The configuration file adds settings for Account.2 with extension 5200 and enables Account 2. However, there are a few items that I find odd.
1. No light flashes when the phone is in the process of updating with the Account.2 information and the change takes about a minute.
2. During the Account.2 update, all the DSS keys (on multiple pages) show extension 5000 for about a minute before the phone finally shows the single Account.2/line for Ext 5200.

Here are the settings I have in the config file for the second account. I have replaced specific information with generic/fake information for security.

Quote:account.2.enable = 1
account.2.label = 5200
account.2.display_name = 5200
account.2.user_name = sip5200_test
account.2.auth_name = sip5200_test
account.2.password = 0244889336533
### account.2.outbound_proxy_enable = 0
### account.2.outbound_host =
account.2.sip_server.1.address = my.voipregistration.com
account.2.sip_server.1.retry_counts = 5
account.2.sip_server.1.expires = 300
account.2.blf.subscribe_period = 3600
account.2.outbound_port = 0
account.2.sip_server.1.port = 5060
account.2.number_of_linekey = 1
account.2.sip_server.1.port = 0
account.2.outbound_proxy_enable = 0
account.2.codec.pcmu.priority = 1
account.2.codec.pcma.enable = 0
account.2.codec.g729.priority = 3
account.2.codec.g722.priority = 2

The second account does eventually get enabled/created, it is just the behavior I mentioned in 1 and 2 seems out of the ordinary.

Is there something I may be doing wrong here or is this just how Auto Provisioning works when adding an account via config file.

If I log in to the phone and Enable an account, it doesn't exhibit this behavior in items 1 and 2 above. Instead, the account registers immediately and another line button quickly appears after the last button.
04-16-2019 03:37 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #2
RE: Account Changes/Enable Delay
Not sure about your point #2 with the DSS keys but generally Yealink tries to do provisioning "in the background". So normally the phone will boot, show the already configured setup on the display, and then a few seconds later after it has sent out provisioning requests and received updated config, it will do the merge and apply the updated settings.

Typically from time of the display showing the "normal idle" state to the updated one I expect it to be around 10-20 seconds, but that's using an unencrypted provisioning file being served by a local device rather than something "out in the cloud". You might be encountering additional delays due to provisioning file generation, network latency, etc.

Easiest way to tell for sure is to turn the syslog up to level 6, then reboot and let the phone do it's provisioning/updates. When you look at the syslog entries, you'll see lines for either ATP or AUTOP (depending on what Firmware version you're running). They are all timestamped, so you should be able to follow through the process and see if there are any excessive delays anywhere.

For reference, if your goal is simply to enable/disable Account 2 it may be faster to provision all of the account details at the same time your provision account 1, but just leave it disabled. Then, when you want to actually activate it, provision just the "account.2.enabled" as the only difference. I have not dealt with this in a while, but a few versions back that used to be the more efficient way of doing it.
04-18-2019 06:22 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Chris708 Offline
Member
***

Posts: 80
Joined: Mar 2015
Reputation: 1
Post: #3
RE: Account Changes/Enable Delay
(04-18-2019 06:22 PM)jolouis Wrote:  Not sure about your point #2 with the DSS keys but generally Yealink tries to do provisioning "in the background". So normally the phone will boot, show the already configured setup on the display, and then a few seconds later after it has sent out provisioning requests and received updated config, it will do the merge and apply the updated settings.

Typically from time of the display showing the "normal idle" state to the updated one I expect it to be around 10-20 seconds, but that's using an unencrypted provisioning file being served by a local device rather than something "out in the cloud". You might be encountering additional delays due to provisioning file generation, network latency, etc.

Easiest way to tell for sure is to turn the syslog up to level 6, then reboot and let the phone do it's provisioning/updates. When you look at the syslog entries, you'll see lines for either ATP or AUTOP (depending on what Firmware version you're running). They are all timestamped, so you should be able to follow through the process and see if there are any excessive delays anywhere.

For reference, if your goal is simply to enable/disable Account 2 it may be faster to provision all of the account details at the same time your provision account 1, but just leave it disabled. Then, when you want to actually activate it, provision just the "account.2.enabled" as the only difference. I have not dealt with this in a while, but a few versions back that used to be the more efficient way of doing it.

In the past, I haven't seen much of a delay at all from cloud provisioning. However, you may have a point. There could be changes with our Cloud PBX provider causing slowness with authentication and configuration download. I could try later times for this and compare with busier times during the day.

Regarding #2---without programming any other DSS keys except the first 3 account 1 line keys. I move on to doing a provision that adds the second account from a config file.
Normally, the Yealink phone would then add the account 2 line key after the 3 account 1 line keys and it happens rather quickly. However, recently during the configuration/provisioning for account 2, all the unprogrammed DSS keys display as a I mentioned in my original post. I will call them ghost DSS keys. Once the configuration/provisioning finishes, then the single account 2 line key displays in one location and all the ghost DSS keys go back to their default setting.
04-25-2019 02:38 PM
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
  not able to get sip and account related details using action uri rajat_asthana 0 1,375 12-26-2023 03:51 PM
Last Post: rajat_asthana
  Key pad speed dial FAILS from non-default account jseeley 1 2,243 09-08-2023 05:56 AM
Last Post: jseeley
  Model T42s and T42g, the speakerphone is enable on incoming calls Lissvazquez 6 5,755 07-28-2023 10:27 PM
Last Post: complex1
  Send different codes on keystroke (enable and disable) Marsl84 0 1,576 04-21-2023 08:15 PM
Last Post: Marsl84
Question I am unable to register a new account under Account -> Register. Chris_Gc 5 7,371 02-09-2023 08:36 PM
Last Post: complex1
  Hotdesking extra account issue gareth20202 0 2,057 08-05-2022 08:06 PM
Last Post: gareth20202
  SIP account on the Yealink T46U suddenly Not Registered kmsfn 0 4,323 10-26-2021 04:44 PM
Last Post: kmsfn
Question Switch account on T48S - Outgoing caller ID remains at default account puregin 0 4,615 09-30-2020 09:52 AM
Last Post: puregin
  Two account on Yealink T46S f.barbier 1 7,342 06-10-2019 02:07 PM
Last Post: jolouis
  T46S Ringtone for each account GP 7 16,374 02-09-2019 08:34 AM
Last Post: complex1

Forum Jump:


User(s) browsing this thread:

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