[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
Lucia_Yealink Offline
Super Moderator
******

Posts: 467
Joined: Aug 2016
Reputation: 5
Post: #2
RE: Updating T46 AutoProvisioning Template for Expansion Module
Hi Fcbayern,

For the PHP scripts, it should be configure in your server side.
Suggest to contact your PHP engineer or your IT technician to configure it for you.
I think it should be similar with the code to distribute to the line keys.

Best Regards
Lucia
09-01-2017 08:14 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
  Yealink T54W - disable wifi from template itops@vivcourt.com 2 1,367 01-25-2022 10:32 AM
Last Post: itops@vivcourt.com
  Setting up EXP50 wallpaper using a template jleyco 3 1,761 01-11-2022 01:52 AM
Last Post: Yisroel_MongoTEL
  settings are not updating from autoprovision server AdmshipYard 1 3,540 02-20-2021 04:20 PM
Last Post: AdmshipYard
  Autoprovisioning different firmware phone SimoneAlceo 3 6,987 07-11-2020 12:00 PM
Last Post: complex1
  Autoprovisioning for SIP-T21 V.83 - common sip server name econnet 0 3,077 07-24-2018 03:58 PM
Last Post: econnet
  [SOLVED] T48S AutoProvisioning ldap.host not used BryanLee 1 4,289 07-19-2018 03:13 PM
Last Post: BryanLee
Sad RPS & Autoprovisioning issues 247-support 1 5,307 07-12-2018 07:02 PM
Last Post: johnkiniston
  Questions about autoprovisioning for T21P E2 Mauro 4 7,207 03-19-2018 01:50 PM
Last Post: Mauro
  Anonymous LDAP access not granted with autoprovisioning Patrick77 2 6,498 06-21-2017 07:05 AM
Last Post: Patrick77
  AutoProvisioning WiFi Dongle Settings Zach Taggett 6 11,061 03-28-2017 02:33 AM
Last Post: Lucia_Yealink

Forum Jump:


User(s) browsing this thread:

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