ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sample Configuration files for Yealink T42S

    IT Discussion
    freepbx setup freepbx desk phone config autoprovision yealink yealink t42s
    3
    9
    9.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      There are two files used for configuration of Yealink phones.
      A common file based on the model, and a device file based on the MAC address.

      This is the common file for the T42S, it is named y000000000067.cfg

      The biggest thing I do with the common file is set the location for firmware and auto provisioning as well as set DSS keys 14 and 15 as the users Line keys.

      #!version:1.0.0.1
      
      #######################################################################################
      ##                                   Autop Mode                                      ##       
      #######################################################################################
      auto_provision.power_on = 1
      
      #######################################################################################
      ##                                   Autop Weekly                                    ##       
      #######################################################################################
      auto_provision.weekly.enable = 1
      auto_provision.weekly.mask = 0123456
      auto_provision.weekly.begin_time = 03:00
      auto_provision.weekly.end_time = 03:59
      auto_provision.server.url = https://pbx.domain.com:1443
      
      #######################################################################################
      ##                                   Language Settings                               ##
      #######################################################################################
      ##It configures the language of the phone user interface.
      ##Chinese_S and Chinese_T are only applicable to SIP-T19P, SIP-T21P and SIP-T46G IP phones.
      ##The default value is English.
      lang.gui = English
      
      #######################################################################################
      ##                                   Remote Phonebook(Except T20P Model)             ##       
      #######################################################################################
      ##It enables or disables the phone to perform a remote phone book search when receiving an incoming call.
      ##0-Disabled,1-Enabled.
      ##The default value is 0.
      features.remote_phonebook.enable= 1
      
      ##It configures the interval (in seconds) for the phone to update the data of the remote phone book from the remote phone book server.
      ##The default value is 21600.Integer from 3600 to 2592000.
      features.remote_phonebook.flash_time = 21600
      
      #######################################################################################
      ##                                   Features DND                                    ##       
      #######################################################################################
      features.dnd.on_code = *78
      features.dnd.off_code = *79
      
      #######################################################################################
      ##                                   Features BLF                                    ##       
      #######################################################################################
      ##It configures BLF LED mode and provides four kinds of definition for the BLF/BLF list key LED status.
      ##For more information, refer to BLF LED Mode on page 218.
      ##The default value is 0.
      features.blf_led_mode = 0
      
      ##It enables or disables the phone to deal with the Version header in the BLF NOTIFY message sent by the server.
      ##0-Disabled,1-Enabled.
      ##The default value is 0.It takes effect after a reboot.
      features.blf_list_version = 0
      
      ##Visual BLF Pickup Alert 
      ##0 is off. 
      features.pickup.blf_visual_enable = 0
      
      ######################################################################
      #                Prevent Ghost recall with PJSIP                     #
      ######################################################################
      transfer.hang_up_after_success_trans = 3
      
      #######################################################################################
      ##                                   Features Intercom                               ##       
      #######################################################################################
      features.intercom.allow  = 1
      features.intercom.mute  = 0
      features.intercom.tone  = 1
      features.intercom.barge  = 0
      
      #######################################################################################
      ##                                   Phone Settings                                  ##       
      #######################################################################################
      phone_setting.inter_digit_time = 10
      phone_setting.ring_type = Resource:Ring1.wav
      
      
      #######################################################################################
      ##                                   Power Led Settings                              ##       
      #######################################################################################
      phone_setting.common_power_led_enable = 0
      phone_setting.mail_power_led_flash_enable = 1
      phone_setting.ring_power_led_flash_enable = 1
      phone_setting.emergency.number = 911
      phone_setting.missed_call_power_led_flash.enable = 0
      
      ##It configures the phone to go out or reduce intensity of the backlight on the LCD screen after a period of inactivity.
      ##0-Off,1-Low.
      ##The default value is 1.
      phone_setting.inactive_backlight_level = 0
      
      #######################################################################################
      ##                                   Phone Setting Display                           ##       
      #######################################################################################
      
      ###Except T20P/T19P/T21P Models
      ##It configures the backlight time (in seconds).0, 1, 15, 30, 60, 120, 300, 600 or 1800.
      phone_setting.backlight_time = 1800
      
      #######################################################################################
      ##                                   Phone Setting BLF                               ##       
      #######################################################################################
      ###It enables or disables the phone to automatically configure the BLF list keys in order.
      ###0-Disabled,1-Enabled.
      ###The default value is 1.
      
      phone_setting.auto_blf_list_enable = 1 
      
      ###Only T26P/T28P/T46G Models support the parameter
      ###It configures the order of BLF list keys assigned automatically.
      ###0-Line Keys->Memory Keys->Extension Keys
      ###1-Extension Keys->Memory Keys->Line Keys
      ###Memory keys are not applicable to SIP-T46G IP phones.
      ###The default value is 0.
      phone_setting.blf_list_sequence_type = 0
      
      #######################################################################################
      ##                                   Security                                        ##       
      #######################################################################################
      ###Define the login username and password of the user, var and administrator.
      ###If you change the username of the administrator from "admin" to "admin1", your new administrator's username should be configured as: security.user_name.admin = admin1.
      ###If you change the password of the administrator from "admin" to "admin1pwd", your new administrator's password should be configured as: security.user_password = admin1:admin1pwd.
      
      ###The following examples change the user's username to "user23" and the user's password to "user23pwd".
      ###security.user_name.user = user23
      ###security.user_password = user23:user23pwd
      ###The following examples change the var's username to "var55" and the var's password to "var55pwd".
      ###security.user_name.var = var55
      ###security.user_password = var55:var55pwd
      security.user_name.user = user
      security.user_name.admin = admin
      security.user_name.var = var
      security.user_password = admin:admin
      security.user_password = user:user
      security.user_password = var:var
      
      #######################################################################################
      ##                                   User Mode                                       ##       
      #######################################################################################
      ###It enables or disables the 3-level permissions (admin, user, var).
      ###0-Disabled,1-Enabled.
      ###The default value is 0.It takes effect after a reboot.
      security.var_enable = 1
      
      #######################################################################################
      ##                                   Programable Key                                 ##       
      #######################################################################################
      ###T20P X ranges from 1 to 9
      ###T28P/T26P X ranges from 1 to 14
      ###T41P/T42G/T19P/T21P X ranges from 1 to 11
      ###T46G/T22P X ranges from 1 to 13
      
      #programablekey.x.type--Customize the programmable key type.
      #The valid types are: 
      #0-NA   2-Forward   5-DND   7-Call Return   8-SMS   9-Directed Pickup   13-Speed Dial
      #22-XML Group   23-Group Pickup   27-XML Browser   28-History   30-Menu   31-Switch Account   32-New SMS
      #33-Status   34-Hot Desking   38-LDAP   40-Prefix   41-Zero Touch   43-Local Directory   44-Network Directory   45-Local Group
      #46-Network Group   47-XML Directory   50-Keypad Lock   51-Switch Account Up   52-Switch Account Down   55-Meet-Me Conference   61-Directory
      
      ###programablekey.X.type = 
      ###programablekey.X.line = 
      ###programablekey.X.value = 
      ###programablekey.X.xml_phonebook = 
      ###programablekey.X.history_type = 
      ###programablekey.X.label = 
      ###programablekey.X.pickup_value =
      
      #######################################################################################
      ##                                   Line Key                                        ##       
      #######################################################################################
      
      linekey.14.label = %NULL%
      linekey.14.line = 1
      linekey.14.pickup_value = %NULL%
      linekey.14.type = 15
      linekey.14.value = %NULL%
      linekey.14.xml_phonebook = %NULL%
      
      linekey.15.label = %NULL%
      linekey.15.line = 1
      linekey.15.pickup_value = %NULL%
      linekey.15.type = 15
      linekey.15.value = %NULL%
      linekey.15.xml_phonebook = %NULL%
      
      #######################################################################################
      ##                                   Configure the access URL of firmware            ##       
      #######################################################################################
      ###It configures the access URL of the firmware file.
      ###The default value is blank.It takes effect after a reboot.
      firmware.url = https://pbx.domain.com:1443/T4XS-66.81.0.110.rom
      

      This is a typical device configuration file. The filename is the MAC address in all lower case such as 001565bdzzzz.cfg

      #!version:1.0.0.1
      ## the file header "#!version:1.0.0.1" can not be edited or deleted. ##
      
      account.1.auth_name = 108
      account.1.display_name = Some User
      account.1.enable = 1
      account.1.label = 108
      account.1.outbound_host = 
      account.1.outbound_port = 
      account.1.outbound_proxy_enable = 0
      account.1.password = blahbalhmd5hashblahblah
      account.1.shared_line = 0
      account.1.sip_server.1.address = pbx.domain.com
      account.1.sip_server.1.port = 5061
      account.1.sip_server.2.address = 
      account.1.sip_server.2.port = 
      account.1.user_name = 108
      
      account.1.sip_server.1.transport_type = 2
      account.1.srtp_encryption = 2
      
      static.wifi.enable = 1
      static.wifi.1.label = Home Office
      static.wifi.1.ssid = MySSID
      static.wifi.1.security_mode = WPA2-PSK
      static.wifi.1.cipher_type = AES
      static.wifi.1.password = MySSIDPSK
      
      linekey.1.type = 16
      linekey.1.line = 1
      linekey.1.value = 103
      linekey.1.label = Jared
      linekey.1.xml_phonebook = %NULL%
      linekey.1.pickup_value = **
      linekey.2.type = 16
      linekey.2.line = 1
      linekey.2.value = 101
      linekey.2.label = Owner
      linekey.2.xml_phonebook = %NULL%
      linekey.2.pickup_value = %NULL%
      linekey.3.type = 13
      linekey.3.line = 1
      linekey.3.value = 314XXXXXXX
      linekey.3.label = Jared Cell
      linekey.3.xml_phonebook = %NULL%
      linekey.3.pickup_value = %NULL%
      linekey.4.label = Follow Me
      linekey.4.line = 1
      linekey.4.pickup_value = %NULL%
      linekey.4.type = 16
      linekey.4.value = *21108
      
      programablekey.1.type = 45
      programablekey.1.line = %NULL%
      programablekey.1.value = %NULL%
      programablekey.1.label = Local #
      programablekey.1.extension = %NULL%
      programablekey.1.xml_phonebook = 0
      programablekey.1.pickup_value = %NULL%
      programablekey.2.type = 22
      programablekey.2.line = %NULL%
      programablekey.2.value = %NULL%
      programablekey.2.label = Shared #
      programablekey.2.extension = %NULL%
      programablekey.2.xml_phonebook = 0
      programablekey.2.pickup_value = %NULL%
      
      local_time.manual_time_enable = 0
      local_time.ntp_server1 = 10.254.108.1
      local_time.ntp_server2 = 0.us.pool.ntp.org
      local_time.time_zone = -6
      local_time.time_zone_name = United States-Central Time
      
      network.dhcp_host_name = ext108
      
      remote_phonebook.data.1.name = Bundy
      remote_phonebook.data.1.url = https://pbx.domain.com/bundy_contacts.xml
      
      voice.echo_cancellation = 1
      
      voice_mail.number.1 = *97
      
      EddieJenningsE 1 Reply Last reply Reply Quote 3
      • EddieJenningsE
        EddieJennings
        last edited by

        Thank you for this 😄

        1 Reply Last reply Reply Quote 0
        • EddieJenningsE
          EddieJennings
          last edited by

          I notice you don't have static preceding the settings in the common configuration file (comparing to the template you can download from Yealink). I've read that basically static settings are always in effect. Do you leave it out for flexibility, or is just one of those things that doesn't matter; thus, no need to use it?

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @EddieJennings
            last edited by

            @eddiejennings said in Sample Configuration files for Yealink T42S:

            I notice you don't have static preceding the settings in the common configuration file (comparing to the template you can download from Yealink). I've read that basically static settings are always in effect. Do you leave it out for flexibility, or is just one of those things that doesn't matter; thus, no need to use it?

            No, because that syntax was new a couple firmware versions ago and I have not updated my config file.

            1 Reply Last reply Reply Quote 0
            • EddieJenningsE
              EddieJennings @JaredBusch
              last edited by

              @jaredbusch said in Sample Configuration files for Yealink T42S:

              The biggest thing I do with the common file is set the location for firmware and auto provisioning as well as set DSS keys 14 and 15 as the users Line keys.

              Do you do this to make the page scroll keys appear for button 6?

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @EddieJennings
                last edited by JaredBusch

                @eddiejennings said in Sample Configuration files for Yealink T42S:

                @jaredbusch said in Sample Configuration files for Yealink T42S:

                The biggest thing I do with the common file is set the location for firmware and auto provisioning as well as set DSS keys 14 and 15 as the users Line keys.

                Do you do this to make the page scroll keys appear for button 6?

                Well I have never had a T42 model that only had 6 six keys assigned. If I did, then that phone would be an exception.

                I just put it in the global file to make sure all phone have their line keys, always.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  Here are a few settings many people might like. These will present popups on the phone for each thing mentioned.

                  features.forward_call_popup.enable = 0
                  features.missed_call_popup.enable = 0
                  features.text_message_popup.enable = 0
                  features.voice_mail_popup.enable = 0

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @Dashrender
                    last edited by

                    @dashrender said in Sample Configuration files for Yealink T42S:

                    Here are a few settings many people might like. These will present popups on the phone for each thing mentioned.

                    features.forward_call_popup.enable = 0
                    features.missed_call_popup.enable = 0
                    features.text_message_popup.enable = 0
                    features.voice_mail_popup.enable = 0

                    That is certainly a case by case group of settings. I have those disabled about half of the time..

                    DashrenderD 1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @JaredBusch
                      last edited by

                      @jaredbusch said in Sample Configuration files for Yealink T42S:

                      @dashrender said in Sample Configuration files for Yealink T42S:

                      Here are a few settings many people might like. These will present popups on the phone for each thing mentioned.

                      features.forward_call_popup.enable = 0
                      features.missed_call_popup.enable = 0
                      features.text_message_popup.enable = 0
                      features.voice_mail_popup.enable = 0

                      That is certainly a case by case group of settings. I have those disabled about half of the time..

                      Agreed.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post