[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
Updating T46 AutoProvisioning Template for Expansion Module
Author Message
fcbayern Offline
Junior Member
**

Posts: 6
Joined: Nov 2015
Reputation: 0
Post: #1
Updating T46 AutoProvisioning Template for Expansion Module
Hi Everyone,

I am looking to update my auto provisioning template so I can use the EXP40 sidecar with my T46S.

The phone is currently running firmware 66.81.0.25.

Here is what we are currently using to distribute to the line keys

Code:
% endfor %}
{% endif %}
{% endfor %}
{% for line_key in line_keys %}
{% if line_key.line_key_type_id == 2 %}
linekey.{{ line_key_index }}.type = 16
linekey.{{ line_key_index }}.line = 1
linekey.{{ line_key_index }}.value = {{ line_key.sip_username }}
linekey.{{ line_key_index }}.label = {{ line_key.label }}
{% set line_key_index = line_key_index+1 %}

{% elseif line_key.line_key_type_id == 3 %}
linekey.{{ line_key_index }}.type = 13
linekey.{{ line_key_index }}.line = 1
linekey.{{ line_key_index }}.value = {{ line_key.data }}
linekey.{{ line_key_index }}.label = {{ line_key.label }}
{% set line_key_index = line_key_index+1 %}

{% elseif line_key.line_key_type_id == 4 %}
linekey.{{ line_key_index }}.type = 10
linekey.{{ line_key_index }}.line = 1
linekey.{{ line_key_index }}.value = {{ line_key.data }}
linekey.{{ line_key_index }}.label = {{ line_key.label }}
{% set line_key_index = line_key_index+1 %}

{% elseif line_key.line_key_type_id == 5 or line_key.line_key_type_id == 6 %}
linekey.{{ line_key_index }}.type = 16
linekey.{{ line_key_index }}.line = 1
linekey.{{ line_key_index }}.value = {{ line_key.extension_number }}
linekey.{{ line_key_index }}.label = {{ line_key.label }}
{% set line_key_index = line_key_index+1 %}

{% endif %}
{% endfor %}

I would think somehow I could add an if else statement so if more than 10 keys are used the it will use expansion_module.X.key.Y.type =

Does anyone have any ideas that may be helpful? I am spinning my wheels trying to get this to work.

Thank you
08-31-2017 06:53 PM
Find all posts by this user    like1    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Updating T46 AutoProvisioning Template for Expansion Module - fcbayern - 08-31-2017 06:53 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink T54W - disable wifi from template itops@vivcourt.com 2 5,214 01-25-2022 10:32 AM
Last Post: itops@vivcourt.com
  Setting up EXP50 wallpaper using a template jleyco 3 5,724 01-11-2022 01:52 AM
Last Post: Yisroel_MongoTEL
  settings are not updating from autoprovision server AdmshipYard 1 5,868 02-20-2021 04:20 PM
Last Post: AdmshipYard
  Autoprovisioning different firmware phone SimoneAlceo 3 11,011 07-11-2020 12:00 PM
Last Post: complex1
  Autoprovisioning for SIP-T21 V.83 - common sip server name econnet 0 4,279 07-24-2018 03:58 PM
Last Post: econnet
  [SOLVED] T48S AutoProvisioning ldap.host not used BryanLee 1 6,131 07-19-2018 03:13 PM
Last Post: BryanLee
Sad RPS & Autoprovisioning issues 247-support 1 7,332 07-12-2018 07:02 PM
Last Post: johnkiniston
  Questions about autoprovisioning for T21P E2 Mauro 4 10,139 03-19-2018 01:50 PM
Last Post: Mauro
  Anonymous LDAP access not granted with autoprovisioning Patrick77 2 8,765 06-21-2017 07:05 AM
Last Post: Patrick77
  AutoProvisioning WiFi Dongle Settings Zach Taggett 6 14,739 03-28-2017 02:33 AM
Last Post: Lucia_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