Solved Custom Template on Yealink T41S does not work

Status
Not open for further replies.

Roland-bg

SOHO User
Joined
Jun 29, 2019
Messages
13
Reaction score
4
Hi all,

I tried to provision a custom template for our Yealink T41S. Wanted to change the following settings:
  • voice.handset_send= 20
  • voice.echo_cancellation = 0
  • voice.vad = 0
  • voice.cng = 0
  • phone_setting.lcd_logo.mode = 0
I was reading the manual (https://www.3cx.com/docs/custom-ip-phone-templates/) and some forum threads, but the phone simply does not use my custom settings. Can anyone help me?

Here's a part of my custom template file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<doc xmlns:tcx="http://www.3cx.com">
  <header>
    <type>phone-template</type>
    <version>88608</version>
    <time>2018-04-12 14:00:00</time>
    <name>Yealink T4X</name>
    <url>http://www.yealink.com</url>
    <templatetype>supported</templatetype>
    <models>
      <model ua="SIP-T19P_E2" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T19P E2-yealinkt4xok</model>
      <model ua="SIP-T19_E2" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T19 E2-yealinkt4xok</model>
      <model ua="SIP-T21P_E2" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T21P E2-yealinkt4xok</model>
      <model ua="SIP-T21_E2" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T21 E2-yealinkt4xok</model>
      <model ua="SIP-T23P" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T23P-yealinkt4xok</model>
      <model ua="SIP-T23G" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T23G-yealinkt4xok</model>
      <model ua="SIP-T27P" defaultlogo="yealinkt28.dob" logowidth="236" logoheight="82" logobitdepth="1">Yealink T27P-yealinkt4xok</model>
      <model ua="SIP-T27G" defaultlogo="yealinkt28.dob" logowidth="236" logoheight="82" logobitdepth="1">Yealink T27G-yealinkt4xok</model>
      <model ua="SIP-T29G" defaultlogo="yealinkt46.png" logowidth="400" logoheight="272" logobitdepth="24">Yealink T29G-yealinkt4xok</model>
      <model ua="SIP-T40P" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T40P-yealinkt4xok</model>
      <model ua="SIP-T40G" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T40G-yealinkt4xok</model>
      <model ua="SIP-T41S" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T41S-yealinkt4xok</model>
      <model ua="SIP-T41P" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T41-yealinkt4xok</model>
      <model ua="SIP-T42S" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T42S-yealinkt4xok</model>
      <model ua="SIP-T42G" defaultlogo="yealinkt22.dob" logowidth="132" logoheight="64" logobitdepth="1">Yealink T42-yealinkt4xok</model>
      <model ua="SIP-T46S" defaultlogo="yealinkt46.png" logowidth="400" logoheight="272" logobitdepth="24">Yealink T46S-yealinkt4xok</model>
      <model ua="SIP-T46G" defaultlogo="yealinkt46.png" logowidth="400" logoheight="272" logobitdepth="24">Yealink T46-yealinkt4xok</model>
      <model ua="SIP-T48S" defaultlogo="yealinkt48.png" logowidth="800" logoheight="480" logobitdepth="24">Yealink T48S-yealinkt4xok</model>
      <model ua="SIP-T48G" defaultlogo="yealinkt48.png" logowidth="800" logoheight="480" logobitdepth="24">Yealink T48-yealinkt4xok</model>
      <model ua="SIP-T52S" defaultlogo="yealinkt52.png" logowidth="320" logoheight="240" logobitdepth="24">Yealink T52S-yealinkt4xok</model>
      <model ua="SIP-T54S" defaultlogo="yealinkt46.png" logowidth="400" logoheight="272" logobitdepth="24">Yealink T54S-yealinkt4xok</model>
...
  <data>
    <device>
      <type>phone</type>
      <!-- Friendly Name -->
      <field name="Name">Yealink T4X</field>
      <deviceconfig filename="y200000000029.cfg">
        <filename>
          <model name="Yealink T19 E2-yealinkt4xok" filename="y200000000053.cfg" />
          <model name="Yealink T19P E2-yealinkt4xok" filename="y200000000053.cfg" />
          <model name="Yealink T21 E2-yealinkt4xok" filename="y200000000052.cfg" />
          <model name="Yealink T21P E2-yealinkt4xok" filename="y200000000052.cfg" />
          <model name="Yealink T27P-yealinkt4xok" filename="y200000000045.cfg" />
          <model name="Yealink T27G-yealinkt4xok" filename="y200000000069.cfg" />
          <model name="Yealink T29G-yealinkt4xok" filename="y200000000046.cfg" />
          <model name="Yealink T23P-yealinkt4xok" filename="y200000000044.cfg" />
          <model name="Yealink T23G-yealinkt4xok" filename="y200000000044.cfg" />
          <model name="Yealink T40G-yealinkt4xok" filename="y200000000076.cfg" />
          <model name="Yealink T40P-yealinkt4xok" filename="y200000000054.cfg" />
          <model name="Yealink T41-yealinkt4xok" filename="y200000000036.cfg" />
          <model name="Yealink T41S-yealinkt4xok" filename="y200000000068.cfg" />
          <model name="Yealink T42-yealinkt4xok" filename="y200000000029.cfg" />
          <model name="Yealink T42S-yealinkt4xok" filename="y200000000067.cfg" />
          <model name="Yealink T46-yealinkt4xok" filename="y200000000028.cfg" />
          <model name="Yealink T46S-yealinkt4xok" filename="y200000000066.cfg" />
          <model name="Yealink T48-yealinkt4xok" filename="y200000000035.cfg" />
          <model name="Yealink T48S-yealinkt4xok" filename="y200000000065.cfg" />
          <model name="Yealink T52S-yealinkt4xok" filename="y200000000074.cfg" />
          <model name="Yealink T54S-yealinkt4xok" filename="y200000000070.cfg" />
        </filename><![CDATA[#!version:1.0.0.1

...

#Enable or disable the voice activity detection feature; 0-Disbaled (default), 1-Enabled;
voice.vad = 0

#Enable or disable the comfortable noise generator; 0-Disabled, 1-Enabled (default);
voice.cng = 0

#Enable or disable the echo canceller; 0-Disabled, 1-Enabled (default);
voice.echo_cancellation = 0
...
voice.handset_send = 20
voice.headset_send =
...

#Configure the name of the common file.
#T19P_E2: y200000000053.cfg, T21P_E2: y200000000052.cfg, T27P: y200000000045.cfg,T27G: y200000000069.cfg,T29G: y200000000046.cfg, T23P/T23G: y200000000044.cfg,T41P: y200000000036.cfg, T41S: y200000000068.cfg,T42G: y200000000029.cfg,T42S: y200000000067.cfg, T46G: y200000000028.cfg;T46S: y200000000066.cfg, T48G: y200000000035.cfg,T48S: y200000000065.cfg;
{IF ua=SIP-T19_E2}
auto_provision.common_file_name = y200000000053.cfg
{ENDIF}

{IF ua=SIP-T19P_E2}
auto_provision.common_file_name = y200000000053.cfg
{ENDIF}

{IF ua=SIP-T21_E2}
auto_provision.common_file_name = y200000000052.cfg
{ENDIF}

{IF ua=SIP-T21P_E2}
auto_provision.common_file_name = y200000000052.cfg
{ENDIF}

{IF ua=SIP-T27P}
auto_provision.common_file_name = y200000000045.cfg
{ENDIF}

{IF ua=SIP-T27G}
auto_provision.common_file_name = y200000000069.cfg
{ENDIF}

{IF ua=SIP-T29G}
auto_provision.common_file_name = y200000000046.cfg
{ENDIF}

{IF ua=SIP-T23G}
auto_provision.common_file_name = y200000000044.cfg
{ENDIF}

{IF ua=SIP-T23P}
auto_provision.common_file_name = y200000000044.cfg
{ENDIF}

{IF ua=SIP-T40G}
auto_provision.common_file_name = y200000000076.cfg
{ENDIF}

{IF ua=SIP-T40P}
auto_provision.common_file_name = y200000000054.cfg
{ENDIF}

{IF ua=SIP-T41P}
auto_provision.common_file_name = y200000000036.cfg
{ENDIF}

{IF ua=SIP-T41S}
auto_provision.common_file_name = y200000000068.cfg
{ENDIF}

{IF ua=SIP-T42G}
auto_provision.common_file_name = y200000000029.cfg
{ENDIF}

{IF ua=SIP-T42S}
auto_provision.common_file_name = y200000000067.cfg
{ENDIF}

{IF ua=SIP-T46G}
auto_provision.common_file_name = y200000000028.cfg
{ENDIF}

{IF ua=SIP-T46S}
auto_provision.common_file_name = y200000000066.cfg
{ENDIF}

{IF ua=SIP-T48G}
auto_provision.common_file_name = y200000000035.cfg
{ENDIF}

{IF ua=SIP-T48S}
auto_provision.common_file_name = y200000000065.cfg
{ENDIF}

{IF ua=SIP-T52S}
auto_provision.common_file_name = y200000000074.cfg
{ENDIF}

{IF ua=SIP-T54S}
auto_provision.common_file_name = y200000000070.cfg
{ENDIF}
...


One more thing:
I never was able to really auto provision the Yealink 41S. The phone didn't find my local 3CX nor the other way around. Our Snom phones did find it easily. I'm provisioning the Yealink phones with the provision link stored to the auto-provisioning section of the Yealink settings.

Thanks for your help!

Best,
Roland
 
Did you followed the extra steps for Yealink phones - Yealink-specific template changes https://www.3cx.com/docs/custom-ip-phone-templates/

Is the custom template assigned to the phone ?

If you highlight the phone under within the Phone tab, and click on '+Config' tab does it show you the custom template.
 
Thanks for the quick reply.

Yes I followed these steps, there's a part of it in my code above.
Yes, the Template is assigned to the phone, also get the red font in the phones section.

Well, I can't prove that this is the custom template. I can open the config there, searched for my custom settings "voice.handset_send" or "voice.vad" for example. No match.

But I see the same behavior when the standard template is assigned to the phone. I also tried to find the terms "voice.vad" or "voice.cng" as they are part of the standard template. Also no match.

It seems like the "+Config" only shows a part of the template on Yealink phones.
 
Sorry guys, it was my mistake! I somehow did not save the correct custom template. Everything works fine now!

Should have cleaned my glasses ;)

Thanks for your help anyway!
 
  • Like
Reactions: YiannisH_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,930
Messages
589,801
Members
164,803
Latest member
fcentral