Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

1. Introduction

Htek UC900 Series including all models:

UC901UC902(S)UC903UC912(G/E)UC921(E)UC923(U)UC924(E/W/U)UC926(E/S/U)


This guide provides instructions on how to provision Htek IP Phone with the minimum settings.

Htek IP Phone supports FTP, TFTP, HTTP, and HTTPS for auto provisioning and are configured by default to use the HTTP.

This guide is a basic guidance for provisioning on Htek IP phones, including the models: Htek UC601/ UC901/ UC902/ UC903/ UC912/ UC912G/ UC912GM/ UC923/ UC924/ UC924E/ UC926/ UC926E

Note: The auto provision just applies to FW 1.0.3.70 or FW after 1.0.3.70. For the latest FW, please download from our website www.htek.com.

Back to Top

2. Manage Configuration

Htek IP Phone could be configured via Web/LCD GUI, and also could be provisioned using configuration file.

When Htek IP Phone boots up, it will issue request one by one for these configuration files named "cfg000x.xml" --> "cfgMAC" --> "cfgMAC.xml ", in which "000x" is the Device Code.

You can refer to the <<Device Type and file list>>. This "MAC" is the device Mac address, for example "cfg001fc10608ab". The configuration file name should be in lower case. The file "cfgMAC" is a proprietary binary format configuration file that must be generated by Htek configuration tools.

Device type, Device code and file list:


Device Type

Device Code

Device file

UC601

0111

cfg0111.xml

UC901

0018

cfg0018.xml

UC902

0017

cfg0017.xml

UC903

0016

cfg0016.xml

UC912(G)

0019

cfg0019.xml

UC923

0013

cfg0013.xml

UC924

0012

cfg0012.xml

UC924E

0112

cfg0112.xml

UC926

0010

cfg0010.xml

UC926E

0110

cfg0110.xml

Process of Htek products are as follows:
cfg000x.xml ----- used for update the common configuration which doesn't include the account information.
cfg001fc1xxxxxx ---- this file is a private format for each device
cfg001fc1xxxxxx.xml------used for configuration for each device. xml format

Provisioning Flow Chart:

Note:

  1. factory000x.bin is used in Htek factory, please don't try to provision it, otherwise it will influence the stability and Htek reserves the right to refuse to provide support in this case.
  2. If the phone retrieved a configuration file successfully, it will not continue to get the next one. For example, if the phone get cfg0010.xml successfully, it will not try to get cfg001fc1xxxxxx and cfg001fc1xxxxxx.xml.

2.1 Obtain configuration files

Before provisioning, first you need to obtain the configuration file. There are three CFG template files, cfg000x.xml, cfg$mac and cfgMAC.xml. The cfg000x.xml is a common configuration file which doesn't include the account information. The "mac" only takes effect for specific phone. The file name is the 12-digit mac address of phone. For example, if the phone's mac address is 001fc11a0012, the cfg$mac file name must be cfg001fc11a0012; The cfgMAC.xml file name must be cfg001fc11a0012.xml.
The phone will try to download these CFG files from the server during provisioning.
Note: The IP Phones that in FW 1.0.3.70 or FW after 1.0.3.70 would only recognize CFG files which use UTF-8 or ANSI encoding.

2.2 Obtain phone information

Before provisioning, you need the phone information, like MAC address, SIP account of the phone.
MAC Address: The unique 12-digit serial number of the phone. You can obtain it from the back of the phone.
SIP Account Information: It may include SIP credentials, like user name, password and IP address of the SIP server. Contact your system administrator for SIP account information.

2.3 Manage configuration files

Auto provision enables Htek IP Phone to update automatically via downloading configuration files. Before provisioning, you may need to edit and customize your configuration file which is composed of many configuration parameters. A configuration parameter is associated with particular field in the web configuration page. A parameter consists of a Capital letter P and 2 to 5 digit numeric numbers. i.e., P2 is associated with "Admin Password" in the Advanced Page. For detailed parameter list, please refer to <<parameter list>> in page 77.

2.4 How to edit cfg000x.xml file

You can customize configuration parameters by editing XML configuration file "cfg000x.xml", and different device would use different file name. you can refer to << How to Edit cfg000x.xml>> in page 39.

2.5 How to edit cfg$mac file

The cfg$mac file is a binary format configuration. 

We offer free Windows software to help you generate the configuration file, please refer to Htek Provision Tool Quick Guide.

2.6 How to edit cfgMAC.xml file

The format of the Htek cfgMAC.xml if simple.

P-Value is the element and value of the element represents the value for a particular configuration which P-Value represents corresponding.
Method 1:
You need to download cfg.xml file from IP Phone webpage(Management->Configuration ->Download xml file) or download this cfgMAC.xml file from website www.htek.com, then change the file name to cfgMAC.xml(mac is IP Phone address), and open the cfgMAC.xml, See the below screen shot:
The parameters edited in the cfgMAC.xml file are described as follows:

<?xml version="1.0" encoding="UTF-8" ?>

<hl_provision version="1">

    <config version="1">

        <!--Account1/Basic-->    <P271 para="Account1.Active">1</P271>

        <P47 para="Account1.Sipserver" />

        <P967 para="Account1.FailoverSipserver" />

        <P8851 para="Account1.SecondFailoverSipserver" />

        <P4567 para="Account1.PreferPrimaryServer">0</P4567>

        <P48 para="Account1.OutboundProxy" />

        <P20047 para="Account1.BackUpOutboundProxy" />

        <P130 para="Account1.SipTransport">0</P130>

        <P52 para="Account1.NatTraversal">2</P52>

        <P20000 para="Account1.Lable" />

        <P35 para="Account1.SipUserId" />

        <P36 para="Account1.AuthenticateID" />

        <P34 para="Account1.AuthenticatePassword" />

        <P3 para="Account1.DispalyName" />

        <P103 para="Account1.DnsMode">0</P103>

        <P63 para="Account1.UserIdIsPhoneNumber">0</P63>

        <P31 para="Account1.SipRegistration">1</P31>

        <P81 para="Account1.UnregisterOnReboot">0</P81>

        <P32 para="Account1.RegisterExpiration">15</P32>

        <P109 para="Account1.OutCallWithoutReg">1</P109>

        <P40 para="Account1.LocalSipPort">5060</P40>

        <P78 para="Account1.UseRandomPort">0</P78>

        <P33 para="Account1.VoiceMailId" />

        <P136 para="Account1.RPort">0</P136>

        <P1100 para="Account1.RFC2543Hold">1</P1100>

        <P8775 para="Account1.ConnectMode">0</P8775>

You can edit the value in <></>field.
For example: The phone's SIP Server is 192.168.0.100, you need to edit the <P47 para="Account1.Sipserver">192.168.0.100</P47>.
If you want to configure others, for example:  , you need to change it as , only in this way you can change the value.
Method 2:
Login phone webpage, configure each item you want (like, account information, programmable keys, firmware upgrade path...). Management ->Configuration, download XML file, then change the name to cfgMAC.xml.

Back to Top

3. Encrypt Configuration Files

Htek Configuration Generator allows user to encrypt the generated configuration file with AES 128-bit encryption. It allows user to choose not to encrypt the configuration file in Windows version, but it is recommended to use encryption for security reason.

3.1 How to encrypt the XML configuration file

The XML configuration file could be encrypted in AES-128-CBC algorithm. The encryption password is defined in P8631 (Management->Auto Provision->Set Common AES Key) of the configuration file.
The Password length is from 1-16, and password must be [ 0-9, A-F]
THE SHARED IV: 0B1E1D000F0B07091D1F04071F1E0407
The OpenSSL command-line to encrypt the file is as follows:
Openssl enc –e –aes-128-cbc –K <password>-iv 0B1E1D000F0B07091D1F04071F1E0407 –in cfg.xml –out cfgxxxxxxxxxxxx.xml
When the XML configuration file is encrypted in this method, Phone would only be able to decrypt and parse the file if user set the XML Config File Password in P8631 of binary configuration file or in the web UI.
Detailed steps:
Step 1: Login webpage, click Management→Configuration, download cfg.xml file, then run, input "Openssl enc –e –aes-128-cbc –K <password>-iv 0B1E1D000F0B07091D1F04071F1E0407 –in cfg.xml –out Cfgxxxxxxxxxxxx.xml" (xxxxxxxxxxxx is the MAC address) 
THE SHARED IV: 0B1E1D000F0B07091D1F04071F1E0407
Step 2: Put the Cfgxxxxxxxxxxxx.xml under upgrade server path
Step 3: You must set the AES Key: Management→Auto Provision: AES Key:

Back to Top

4. Customize Resource Files

Htek IP Phone allows to customize some resource files, like ring tone file, language package file and logo files. For how to customize resource files, as follows:

4.1 Customize ring tone

Htek IP Phone has several factory-default ring tones (Ring1, Ring2, Ring3). You can customize Ring4, Ring5, Ring6, Ring7 and Ring8 tone and upload them to the phone via auto provisioning.
You can change the ring tone configuration parameter to personalize ring tone:
For example: P8721 = 8
For more information on customizing ring tone file, please refer to <<Making Ringtone Notes>> in page 60.

4.2 Customize LCD language

Htek IP Phone supports multiple language,you can modify the language and add a new language to the phone. The following table lists all available languages, associated language files and language template file:

Available language

Associated language files

Language template file

English

(Default, can't be customized)

LCD_English_Template.xml

French

1_Français(French).xml

German

2_Deutsch(German).xml

Spanish

3_Español(Spanish).xml

Portuguese

4_Português(Portuguese).xml

Russian

5_русский(Russian).xml

Italian

6_Italiano(Italian).xml

Polish

7_Polski(Polish).xml

Turkish

8_Türk(Turkish).xml

Serbian

9_Srpski(Serbian).xml

ChinesSimplified

10_简体中文(ChineseSimplified).xml

ChineseTraditional

11_繁体中文(ChineseTraditional).xml

Slovenian

13_Slovenščina(Slovenian).xml

Persian

14_Persian(Farsi).xml

Hebrew

15_עברית(Hebrew).xml

Slovak

16_Slovak.xml

Czech

17_Czech.xml

JapaneseSimplified

18_日本語(JapaneseSimplified).xml

Dutch

19_Nederlands(Dutch).xml

Below picture shows a portion of LCD_English_Template.xml file:
English is the default language, you can change configuration parameter to other languages:
For more information on customizing an LCD language, please refer to <<LCD Language custom guide>> in page 62.

4.3 Customize web language

Htek IP Phone supports multiple language,you can modify the language and add a new language to the phone's webpage. The following table lists all available languages, associated language files and language template file:

Available language

Associated language files

Language template file

English

(Default, can't be customized)

Web_English_Template.js

French

1_French.js

German

2_German.js

Spanish

3_Spanish.js

Portuguese

4_Portuguese.js

Russian

5_Russian.js

Italian

6_Italian.js

Polish

7_Polish.js

Turkish

8_Turkish.js

ChineseSimplified

10_ChineseSimplified.js

ChineseTraditional

11_ChineseTraditional.js

Dutch

19_Dutch.js

Below picture shows a portion of Web_English_Template.js file:
English is the default language,you can change configuration parameter to other languages:
For more information on customizing web language file, please refer to << Web Language custom guide>> in page 64.

4.4 Customizing wallpaper

You can customize Htek UC923/UC924/UC926 IP phones' wallpaper.
Below table shows wallpaper's format and resolution for UC923/UC924/UC926 IP phones:

Phone model

Photo format

Resolution

One file size

Photo number

UC923

.jpg, .bmp

320*240

<=2M

3

UC924

.jpg, .bmp

480*320

<=2M

3

UC924E

.jpg, .bmp

480*320

<=2M

3

UC926

.jpg, .bmp

480*272

<=2M

3

UC926E

.jpg, .bmp

480*272

<=2M

3

Wallpaper2 is default wallpaper, you can change configuration parameter to other wallpaper:
For more information on customizing wallpaper, please refer to <<LCD and Web GUI custom Guide >> in page 68.

4.5 Customizing screensaver

You can customize Htek UC923/UC924/UC926 IP phones' screensaver.
Below table shows screensaver's format and resolution for UC923/UC924/UC926 IP phones:

Phone model

Photo format

Resolution

One file size

Photo number

UC923

.jpg, .bmp

320*240

<=2M

3

UC924

.jpg, .bmp

480*320

<=2M

3

UC924E

.jpg, .bmp

480*320

<=2M

3

UC926

.jpg, .bmp

480*272

<=2M

3

UC926E

.jpg, .bmp

480*272

<=2M

3

Screensaver default is Off, you can change configuration parameter to activate the Screensaver :
For more information on customizing screensaver, please refer to <<LCD and Web GUI custom Guide >> in page 68.

You can customize Htek all phone models' weblogo on webpage.

Phone modelPhoto formatResolutionFile size
UC601/UC901/UC902/UC903/UC912/UC912G/UC912GM/UC923/UC924/UC924E/UC926/UC926E.jpg225*93<=2M

For more information on customizing weblogo, please refer to << LCD and Web GUI custom Guide >> in page 68.

Back to Top

5. Upgrade resource files

Htek IP phone supports upgrade resource files through URL (support HTTP(s) server). The files contain hlpres.tar, Language.tar, ring4.bin, ring5.bin, ring6.bin, ring7.bin, ring8.bin, exp_pres.tar, Screensaver and Wallpaper. For how to configure these files URL as follow:

5.1 How to configure URL for hlpres.tar

You can change the hlpres server configuration parameter to locate the file:
P20176=http(s)://192.168.0.254/hlpres.tar

5.2 How to configure URL for Language.tar

You can change the Language server configuration parameter to locate the file:
P20175=http(s)://192.168.0.254/Language.tar

5.3 How to configure URL for exp_pres.tar

You can change the exp_pres server configuration parameter to locate the file:
P20177=http(s)://192.168.0.254/exp_pres.tar

5.4 How to configure Path for ringx.bin

You can change the Ring server configuration Path, and IP Phone will get the files: ring4.bin, ring5.bin, ring6.bin, ring7.bin, ring8.bin automatically:
P20174=http(s)://192.168.0.254

5.5 How to configure URL for Screensaver

This parameter is only applicable to UC923, UC924, UC924E, UC926, UC926E.
You can change the Screensaver server configuration to locate the file:
P20051=http(s)://192.168.0.254/Screensaver.jpg
Note: 1. Screensaver file phone gets from server will cover the screensaver photo1.
2. Only support format .jpg, .bmp.

5.6 How to configure URL for Wallpaper

You can change the Wallpaper server configuration to locate the file:
P20052=http(s)://192.168.0.254/wallpaper.jpg
Note: 1. Wallpaper file phone gets from server will cover the wallpaper6.
2. Only support format .jpg, .bmp.

Back to Top

6. Upgrade Firmware

Version number and support files list:

1.0.3.58-1.0.3.72

1.0.3.73 or later

boot_9xx.bin
img_9xx.bin
hlpres.tar
Language.tar
ring4.bin
ring5.bin
ring6.bin
ring7.bin
ring8.bin

fw9xx.rom

Note:
When the phone which version is 1.0.3.71 or older upgrade to 1.0.3.73, phone will upgrade img_9xx.bin then automatically upgrade fw9xx.rom. fw9xx.rom is all-in-one firmware file. After upgrading to the 1.0.3.73 firmware, in the next time, phone will only need upgrade one file fw9xx.rom.

6.1 Configuring HTTP Server

Htek IP Phone supports using FTP, TFTP, HTTP and HTTPS protocols to obtain the address of provision server. Default way is HTTP. For how to configure a HTTP server, as follows:
You can download a free HTTP server from http://httpd.apache.org/ or use Microsoft IIS web server. Then setup HTTP server.
For more information on how to configure TFTP, FTP and HTTPS servers, please refer to Upgrade through TFTP in page 71, Upgrade through FTP in page 74 and Upgrade through HTTPS in page 75.

6.2 How to Configuring HTTP Server

Login webpage, "Management" -> "Auto Provision" -> "Firmware Upgrade" -> "Upgrade Mode" needs to be set to HTTP. "Firmware Server Path" needs to be set to be a valid URL of a HTTP server, and server name can be in either FQDN or IP address format. Below are examples of some valid URLs.
e.g. firmware.mycompany.com:5688/Htek
e.g. www.mycompany.com:5688/fm/Htek
e.g. 218.2.83.110
Below are Instructions for FW upgrade via HTTP:
(1) You can download a free HTTP server from http://httpd.apache.org/ or use Microsoft IIS web server. Then setup HTTP server.
(2) Unzip the firmware file and put the files under the root/fm directory of the HTTP server.
(3) Visiting "http://192.168.0.254/fm/fw924.rom on localhost by browser" to verify the HTTP Server. If visiting "http://192.168.0.254/fm/fw924.rom on another computer is no prompt to download fw924.rom file, please check the firewall (Suggest to close the firewall).
(4) Change the setting of UC9xx (192.168.0.254 is HTTP server):
                                                                        
Click "SaveSet".
(5) Restart the UC9xx, IP Phone will restart and automatically get firmware files from HTTP server.
NOTES:
(1) We recommend you to use Htek HTTP server, or you can also use your own TFTP/HTTP/FTP/HTTPS server for upgrade and provisioning procedures.
(2) You need to update the settings and restart the IP Phone after "Firmware Server Path" is set. If the configured firmware server is found and a new code image is available, UC9xx IP Phone will attempt to retrieve the new image files by downloading them into the UC9xx's SDRAM. During this stage, the phones LEDs will blink more frequently until the checking/downloading process is finished. Upon verification of checksum, the new code image will be saved into the Flash. If TFTP/HTTP/FTP/HTTPS fails for any reason (e.g. TFTP/HTTP/FTP/HTTPS server is not responding, there are no code image files available for upgrade, or checksum test fails, etc.), the phone will stop the TFTP/HTTP/FTP/HTTPS process and simply boot using the existing code image in the flash.
(3) Firmware upgrade takes 3 to 8 minutes over Internet, or just 1 minute on a LAN. We recommend you to upgrade the FW in a controlled LAN environment.

Back to Top

7. Obtain Provisioning Server's Address

Htek IP Phone supports to obtain the provisioning server address in below 3 ways:

  • Plug and Play (PnP) Server
  • DHCP Options
  • Phone Flash

The priority of obtaining the provisioning server address: PNP Server (SIP PnP MCAST) --> DHCP Option 128 or 150 or 66 --> Configuration in Flash.
1) The PNP Server feature is enable default.
Webpage --> Management --> Auto Provision --> PnP Active: No/Yes
If you set "Yes", the Phone will obtain the provisioning server address from the PnP Server.
2) Setting of "DHCP Option 128 or 150 or 66":
If you set "PnP Active" to "No", login Webpage --> Management --> Auto Provision --> Allow DHCP Option (128 or 150 or 66) To Override Server: No/Yes
If you set "To Override Server" to "Yes", the Phone will obtain the provisioning server address from the DHCP Option (128). For examples:
DHCP option 128 is tftp://192.168.1.240/cfg, the phone will get the configuration file from 192.168.1.240/cfg through TFTP protocol.
If the default setting is:
DHCP option 66 is http://192.168.1.240/cfg, the phone will get the configuration file from 192.168.1.240/cfg through HTTP protocol.
3) Configuration in Flash.
If you set both "PnP Active" and "To Override Server" to "No", or don't set DHCP option 128/66/150 in your DHCP server, the phone will obtain the provisioning server address from the setting "Config Server Path".
For examples, when the setting is:
The phone will get the configuration file from 192.168.0.254/cfg through HTTP protocol.
Note: You can set the phone to automatically upgrade every certain time:
For examples:
The phone will check the configuration file and the firmware every 10080 minutes (7 days). If there are the new cfg files or the new firmware, the phone will upgrade automatically.

Back to Top

8. Update mode

Update mode sets the desired time frames for phone to perform the auto provisioning process.
Below is the introduction of the 3 updating modes in detail:

  • Power On
  • Repeatedly
  • SIP NOTIFY Message

Power On
Power On mode is set as default. The phone will perform auto provisioning process when it is power on.
Repeatedly
The phone performs auto provisioning process at a regular interval. You can configure the interval for the Repeatedly mode. The default interval is 10080 minutes.
To activate the Repeatedly mode via web user interface:
1. Click the Management->Auto Provision:
2. AUTO Upgrade set Yes:
3. Click the "SaveSet" button to save the change.
SIP NOTIFY Message
The phone will perform auto provisioning process when receiving a SIP NOTIFY message which contains the header "Event: check-sync". If the header of the SIP NOTIFY message contains an additional string "reboot=true", the phone will reboot immediately and then perform the auto provisioning process. For this update mode, it requires the server supports.
Below picture shows the message flow:

Back to Top

9. Download and Verify Configurations

9.1 Download configuration files

Once obtaining a provisioning server address in one of the ways introduced above, the phone will connect to the provisioning server and download configuration files. During the auto provisioning process, the phone will try to download the common configuration file cfg000x.xml firstly, and then try to download the cfgMAC.xml file from the provisioning server.

9.2 Resolve and Update configurations

The phone will resolve the configuration files after downloading, then update the configurations to the phone flash. Generally, the phone will reboot to make the configurations effective after the auto provisioning process is finished.

9.3 Verify configurations

You can verify the update via phone user interface after auto provisioning, or you can verify it via web user interface
During the auto provisioning process, you can monitor the downloading requests and response messages by a wireshark tool.
Some examples show as follows:
Example1: Htek UC924 IP Phone downloads configuration files from TFTP server.
Example2: Htek UC924 IP Phone downloads configuration files from FTP server .
Example3: Htek UC924 IP Phone downloads configuration files from HTTP server .

Back to Top

10. Firmware and Configuration File Prefix and Postfix

Htek IP Phone supports Prefix and Postfix for both firmware and configuration files.
Parameter P232 and P233 are for Prefix and Postfix for Firmware, respectively. Parameter P234 and P235 are for Prefix and Postfix for Configuration file, respectively.
Firmware Prefix and Postfix allows device to download the firmware name with the matching Prefix and Postfix.
In addition, when Parameter P238 (Check New Firmware only when F/W pre/suffix changes) is set to 1, the device will only issue the Firmware Upgrade request if there are changes in the firmware Prefix or Postfix.
Below are the firmware BASIC NAMES that are related to UC924P:
If the firmware version is earlier than 1.0.3.73, the firmware BASIC NAMES as follows:

  • boot_924.bin
  • img_924.bin
  • ring4.bin
  • ring5.bin
  • ring6.bin
  • ring7.bin
  • ring8.bin
  • Language.tar
  • hlpres.tar

Service provider can use "hl_" as prefix, and "_1.0.3.70" as postfix, the above files will be changed to:

  • hl_boot_924.bin_1.0.3.70
  • hl_img_924.bin_1.0.3.70
  • hl_ring4.bin_1.0.3.70
  • hl_ ring5.bin_1.0.3.70
  • hl_ ring6.bin_1.0.3.70
  • hl_ ring7.bin_1.0.3.70
  • hl_ ring8.bin_1.0.3.70
  • hl_ Language.tar _1.0.3.70
  • hl_ hlpres.tar _1.0.3.70

If the firmware version is 1.0.3.73 or later than 1.0.3.73, the firmware BASIC NAME as follows:

  • fw924.rom

Service provider can use "hl_" as prefix, and "_1.0.3.73" as postfix, the above files will be changed to:

  • hl_ fw924.rom _1.0.3.73

In this way, all of the firmware with different version could be stored in one single directory, and they could be differentiated by using prefix or postfix, i.e., all files with a postfix of "_1.0.3.73" belong to the firmware version 1.0.3.73.
Same rule applies to configuration files, i.e., for configuration file named "cfg001fc1001708", there could be 3 versions: "hl_ cfg001fc1001708_cfg001", "hl_ cfg001fc1001708_cfg002", and "hl_ cfg001fc1001708_cfg003". The BASIC NAME of the configuration file is "cfg001fc1001708", but there are 3 different versions, the one that will be accepted is the one with matching prefix and postfix specified in the current configuration.

Back to Top

11. Firmware Server and Configuration File Server

Beside the Prefix and Postfix for firmware and configuration files, different server paths for firmware upgrade or Configuration File Server can be specified in different FQDN, i.e.:
The parameters are P192 and P237 for Firmware and Config Server

Back to Top

12. Manage Firmware and Download Configuration File

When parameter P194 (Auto Upgrade) is set to 1, Service Provider can use P193 (Auto Check Interval) to have the devices periodically check with either Firmware Server or Config Server, whenever they are defined. This allows the device periodically check if there are any new changes need to be taken on a scheduled time. By defining different intervals in P193 for different devices, Service Provider can distribute the Firmware or Configuration File download schedule to reduce the Firmware or Provisioning Server load at any given time.

Back to Top

13. Pre_Configuration and Configuration Redirection

Please note:If your phone default setting is as below: 
Currently Htek Phone does not support pre_configuration and configutration Redirection, please refer to section 6 in page 24.
For mass deployment, we provide TFTP/HTTP redirection service. By default, all Htek products point to our provisioning system. When a unit is powered up, it will automatically contact our provisioning server. Our provisioning server will redirect the unit to customer's TFTP/FTP/HTTP/HTTPS server. The unit will reboot and send further provisioning request to ask for configuration file (or firmware file) from customer's TFTP/FTP/HTTP/HTTPS server.
Below is the information that we need from service providers for TFTP/HTTP redirection:

  1. MAC address range, this should be printed on the carton box
  2. Your TFTP/FTP/HTTP/HTTPS server IP address
  3. Your company name and address

Here are the things that service providers should do:

  1. Create configuration files for all the devices and put them on your TFTP/HTTP server.
  2. Download the latest official release from www.htek.com/support/Document_And_Firmware and put them on your TFTP/FTP/HTTP/HTTPS server (same directory as above)
  3. After we inform you that the devices have been entered into our central provisioning database, please take out a few devices to test. Upon powering up, they should contact our provisioning server https://rps.htek.com/index.php/fn/g first, and then get redirected to your TFTP/FTP/HTTP/HTTPS server and pull out the configuration files and the firmware files. They will be upgraded to the latest firmware with your configurations.

Back to Top

14. Automatic Provisioning Within LAN

Htek products support DHCP Option 66 or 128 or 150 for automatic provisioning within a Local Area Network. The provisioning server URL is embedded inside standard option 66 or 128 or 150 of DHCP responses.
Htek IP Phones send DHCP DISCOVER with the following information:
DHCP Server can be configured to send the following information in its DHCP OFFER. Please notice that in this example, an HTTP://URL is provided in the Option 66 "TFTP Server Name" field or Option 128 "TFTP server IP address" or Option 150 "TFTP server address". Device will then issue HTTP requests instead of the traditional TFTP requests to the server. This design makes more flexible in device provisioning.

Back to Top

15. Troubleshooting

This part provides guidance to help you solve problems you might encounter when deploying phones.
If you require additional information or assistance with the deployment, please contact your system administrator.
Why does the phone fail to download configuration files?

  • Ensure that auto provisioning feature is configured properly.
  • Ensure that the provisioning server and network are reachable.
  • Ensure that authentication credentials configured on the phone are correct.
  • Ensure that configuration files exist on the provisioning server.

Why does the provisioning server return HTTP 404?

  • Ensure that the provisioning server is properly set up.
  • Ensure that the access URL is correct.
  • Ensure that the requested files exist on the provisioning server.

Why does the phone display "Network Down"?

  • Ensure that the Ethernet cable is plugged into the Internet port on the phone and the Ethernet cable is not loose.
  • Ensure that the switch or hub in your network is operational.
  • Ensure that the configurations of network are properly set in the configuration files.

Why is the permission denied when uploading files to the root directory of the FTP server?

  • Ensure that the complete path to the root directory of the FTP server is authorized.
  • Check security permissions on the root directory of the FTP server, if necessary, change the permissions.

Why doesn't the phone obtain the IP address from the DHCP server?

  • Ensure that settings are correct on the DHCP server.
  • Ensure that the phone is configured to obtain the IP address from the DHCP server.

Why doesn't the phone display the Language, only display English on LCD and Web?

  • Ensure that the name of the language is correct.
  • Ensure that the network is available and the root directory is right for downloading.
  • Ensure that the parameters are correctly set in the configuration files.
  • Ensure that the language's Coding format is UTF-8.

Why doesn't the phone display the wallpaper or ScreenSaver or the weblogo of webpage?

  • Ensure that the file format of the wallpaper, ScreenSaver and weblogo is *.jpg.
  • Ensure that the size of the wallpaper, ScreenSaver and weblogo file is not larger than that the phone supports, or check the hlpres.tar is not larger than 2M.
  • Ensure that the name of the wallpaper, ScreenSaver and weblogo are correct.
  • Ensure that the network is available and the root directory is right for downloading.
  • Ensure that the wallpaper, ScreenSaver and weblogo files in the hlpres.tar file.

Why doesn't the phone update configurations?

  • Ensure that the configuration files are different from the last ones.
  • Ensure that the phone has downloaded the configuration files.
  • Ensure that the parameters are correctly set in the configuration files.

Back to Top

16. Glossary

MAC Address: A Media Access Control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment.
DHCP: Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol for hosts on Internet Protocol (IP) networks. Computers that are connected to IP networks must be configured before they can communicate with other hosts.
FTP: File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another host over a TCP -based network, such as the Internet. It is often used to upload web pages and other documents from a private development machine to a public web-hosting server.
HTTP: The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web.
HTTPS: Hypertext Transfer Protocol Secure (HTTPS) is a combination of Hypertext Transfer Protocol (HTTP) with SSL/TLS protocol. It provides encrypted communication and secure identification of a network web server.
TFTP: Trivial File Transfer Protocol (TFTP) is a simple protocol to transfer files. It has been implemented on top of the User Datagram Protocol (UDP) using port number 69.
AES: Advanced Encryption Standard (AES) is a specification for the encryption of electronic data.
URL: A uniform resource locator or universal resource locator (URL) is a specific character string that constitutes a reference to an Internet resource.
XML: Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

Back to Top

17. How to Edit xml format configuration file

You can customize configuration parameters by editing XML configuration file "cfg000x.xml", and different device would use different file name.

For example, if you have a Htek device UC924 and you want to configure its Line key 1 as BLF to monitor extension 1002, you can realize this by following two methods.
1.Create a new XML file and add configuration parameters.
Step 1: Create a new XML file entitle it as cfg0000.xml. If your Htek device is UC924, you should entitle it as cfg0012.xml
Step 2: Login webpage, find out Web Setting Path of line key1. Function Keys-Line Key-Key1
Step 3: Refer to UC900 Series IP Phones Provisioning#23. Parameter List, you can get detailed description of this parameter.
According to description of parameter, we know parameter P41200 should be 3, parameter P41300 should be 1002 and parameter P41600 should be 20.
Step 4: Edit cfg0012.xml as follow
Step 5: Put this XML configuration file in your config server path.
Step 6: Restart phone to apply to the settings.
2.Edit relevant parameter in the template file(template.xml)
Step 1: Login webpage, enter Function Keys -> Memory Key
Step 2 : Configure options you want, for example
Step 3: click "saveset" button to save the configuration.
Step 4: Enter Management -> Configuration
Click "Download Xml File" button to download the configuration Xml file. This file includes all parameters of this phone.
Step 5: Open the Xml file that you downloaded, you can find that the parameter has been changed.
Step 6: Change the xml file's name to cfg0012.xml.
Step 7: Put this XML configuration file in your config server path.
Step 8: Restart phone to apply to the settings.

Back to Top



19. Making Ringtone Notes

Prepare:
Tool: ringtool.exe
Ring file format: pcm
1. To make ring tone for UC9xx
1.1 Double click ringtool.exe
1.2 Select the Maximum Length and Output Filename:
For example, 16 seconds, ring 2.bin
1.3 Click Select to Input the desired ring tone file, and then click Generate Ringfile.
Then, you will get Ringfile Created.
1.4 Now, you get the ring2.bin, also you can rename it as ring5.bin, or other the one you want to replace.
1.5 Upload the ring file by TFTP or HTTP, the ringtone is replaced successfully.

Back to Top

20. LCD and Web Language Custom Guide

20.1 LCD Language custom guide

1. You need to contact us about how to obtain the Language.tar file.
2. Unzip the Language.tar using 7-zip tool. 
3. Open the Language folder:
Note: The file name must be " digital_" at the beginning,the format of the file name is the order of the on the LCD.
4. For example, custom Chinese Language
If your country's language is not existing in the language folder, you can new a xml file with correct naming format. [e.g. 13_xxx(xxx).xml]
If your country's language in the folder, you can custom directly your language.
Open the LCD_English_Template.xml with UltraEdit→ Translate English into Chinese (Can't leave out any items, otherwise the upgrade failed) →save as 10_简体中文(ChineseSimplified).xml in Language folder (Coding format is UTF-8)
→ Select the Language folder→ Compress Language.tar package using 7-zip tool and Cover the original→Delete the Language folder

Note:
If you use UltraEdit, it can generate.xml.bak file after saved. So you need to delete.xml.bak file. 

If you want to put your language on the front of other languages, you can also rename the file, for example: 

20.2 Web Language custom guide

1. You need to contact us about how to obtain the Language.tar file
2. Unzip the Language.tar using 7-zip tool. 
3. Open the Language folder:
Note: The file name must be " digital_letter" at the beginning. The format of the file name is the order of that on the Web.
4. For example, custom Chinese Language
If your country's language is not existing in the language folder, you can new a xml file with correct naming format. [e.g. 13_xxx.js]
If your country's language in the folder, you can custom directly your language reference Web_English_Template.js.
Open the Web_English_Template.js with UltraEdit→ Translate English into Chinese (Can't leave out any items, otherwise the upgrade failed) →save as 10_ChineseSimplified.js in Language folder (Coding format is UTF-8)
→ Select the Language folder→ Compress Language.tar package using 7-zip tool and Cover the original→Delete the Language folder

Note:
If you use UltraEdit, it can generate.xml.bak file after saved. So you need to delete.xml.bak file. 

If you want to put your language on the front of other languages, you can also rename the file, for example: 
When you finish the Language.tar, you must send the Language.tar package to us, then we provide the firmware to you.

Back to Top

21. LCD and Web GUI custom Guide

Unzip the hlpres.tar package (Need to contact us to obtain the hlpres.tar package)
You can replace some file in the hlpres to finish the customization of 1.1 to 1.7

21.1 How to custom the wallpaper1-wallpaper6?

Open hlpres folder→you can custom the wallpaper4.jpg-wallpaper6.jpg (dimension:480*320 size: through Photoshop tools make the size smaller→Select the hlpres folder→Compress hlpres.tar package

21.2 How to custom the screensaver1- screensaver3?

Open hlpres folder→you can custom the screensaver1.jpg-screensaver3.jpg (dimension:480*320 size:through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tar package

21.3 How to custom the weblogo?

Open hlpres folder→you can custom the weblogo.jpg (dimension:225*93 size: through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tar package

21.4 How to custom the eights menus(.png)in the main menu?

Open hlpres folder→you can custom the .png(dimension:65*65 size: through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tar package

21.5 How to custom the ...Icon.png?

Open hlpres folder→you can custom the ...Icon.png (dimension:65*65 size: through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tarpackage

21.6 How to custom the lcdlogo_color.png?

This logo is only applicable to UC923, UC924,UC924E, UC926, UC926E.
Open hlpres folder→you can custom the lcdlogo_color.png (dimension:400*42 size: through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tar package.
Enter Menu→Display→Screensaver Time-out:1min; Screensaver Type: Time & Logo→Save, this logo displays correctly.

21.7 How to customthe lcdlogo_bw.png?

This logo is only applicable to UC601, UC901, UC902, UC903, UC912/G/GM.
Open hlpres folder→you can custom the lcdlogo_bw.png (dimension:100*11 size: through Photoshop tools make the size smaller) →Select the hlpres folder→Compress hlpres.tar package.
Enter Menu→Display->Screensaver Time-out:1min; Scrrensaver Type:Time & Logo→Save, this logo display correctly.
The lcdlogo_bw.png's property must be the following standard:
Note:
The photo's name and format must be the same as before;
The size of hlpres file is not more than 2M.
When you finish the hlpres.tar, you must send the hlpres.tar package to us, then we provide the firmware to you.

Back to Top

22. Firmware Upgrade

Please note: When the phone whose firmware version is 1.0.3.62 or earlier upgrades to 1.0.3.73, you must put the upgrade files(include fw8xx.rom/ fw9xx.rom and img_8xx.bin/ img_9xx.bin ) into the server path and the phone will upgrade img_8xx.bin/ img_9xx.bin then automatically upgrade fw8xx.rom/ fw9xx.rom.
After upgrading to the new firmware, in the next time, you will only need to put one file fw8xx.rom/ fw9xx.rom into the server path. Upgrade steps of later than 1.0.3.73 version and earlier than 1.0.3.73 version is the same.

22.1 Upgrade through HTTP

To upgrade via HTTP, the "Management"->"Auto Provision" ->"Firmware Upgrade" -> "Upgrade Mode" field needs to be set to HTTP, respectively. "Firmware Server Path" needs to be set to a valid URL of a HTTP server, server name can be in either FQDN or IP address format. Here are examples of some valid URL.
e.g. firmware.mycompany.com:5688/Hanlong
e.g. www.mycompany.com:5688/fm/Hanlong
e.g. 218.2.83.110
Instructions for firmware upgrade via HTTP:
(1) End users can choose to download the free HTTP server from http://httpd.apache.org/ or use Microsoft IIS web server. Then set up HTTP server.
(2) Unzip the firmware file and put all of them under the root/phone directory of the HTTP server.
(3) Visit "http://192.168.0.106/phone/fw924.rom" on localhost by browser to verify the HTTP Server. If visiting "http://192.168.0.106/phone/fw924.rom" on other computer is no prompt to download fw924.rom file, please check the firewall (Suggest close the firewall).
(4) Change the setting of the IP Phone (192.168.0.106 is HTTP server):
Click "SaveSet".
(5) Restart the IP Phone, and it will restart and auto-get firmware files from HTTP server.
NOTES:

  • Htek recommends end-user use the Htek HTTP server. For large companies, we recommend to maintain their own TFTP/HTTP/FTP/HTTPS server for upgrade and provisioning procedures.
  • Once a "Firmware Server Path" is set, user needs to update the settings and restart the IP Phone. If the configured firmware server is found and a new code image is available, the IP Phone will attempt to retrieve the new image files by downloading them into the IP Phone's SDRAM. During this stage, the IP Phone's LEDs will blink fastly until the checking/downloading process is completed. Upon verification of checksum, the new code image will then be saved into the Flash. If TFTP/HTTP/FTP/HTTPS fails for any reason (e.g. TFTP/HTTP/FTP/HTTPS server is not responding, there are no code image files available for upgrade, or checksum test fails, etc), the IP Phone will stop the TFTP/HTTP/FTP/HTTPS process and simply boot using the existing code image in the flash.
  • Firmware upgrade may take as long as 3 to 8 minutes over Internet, or just 1 minutes if it is performed on a LAN. It is recommended to conduct firmware upgrade in a controlled LAN environment if possible.
  • Hanlong's latest firmware is available at www.htek.com →Support →Document & Firmware.
  • Oversea users are strongly recommended to download the binary files and upgrade firmware locally in a controlled LAN environment.

22.2 Upgrade through TFTP

(1) We recommend that you can install a TFTP Server(e.g. SolarWinds -TFTP -Server.exe).
(2) Make a new directory, such as D:\FM.
(3) Unzip the firmware file and put all of them under the directory D:\FM.
(4) The PC running the TFTP server and the IP Phone should be in the same LAN segment.
(5) Set TFTP Root Directory to D:\FM.
TFTP SERVER → File → Configure
(6) Go to File -> Configure -> Security to change the TFTP server's default setting from "Receive Only" to "Transmit Only" for the firmware upgrade.
(7) Start the TFTP server, Configure the Firmware Server Path with the IP address (192.168.0.240 is TFTP server) in the IP Phone's web configuration page.
(8) Save the change and restart the IP Phone.
(9) You can test your TFTP server by other PC which is in the same LAN segment.
For examples, in PC which IP address is 192.168.0.126, type command:
TFTP -i 192.168.0.240 get fw924.rom f:/fw924.rom
If your TFTP server is OK, something like "Transfer successful: " will be printed in command windows.

22.3 Upgrade through FTP

(1) Setup a FTP Server(e.g. FileZilla Server).
(2) Unzip the firmware file and put all of them under the root/phone directory of the FTP Server.
(3) Configure the FTP Server.
(4) Visit ftp://192.168.0.106/phone/fw924.rom on localhost by browser, enter username and password, and you will view upgrade file. If visiting ftp://192.168.0.106/phone/fw924.rom on other computer is no prompt to download fw924.rom file, please check the firewall (Suggest close the firewall).
(5) Configure the Firmware Server Path in the IP Phone's web configuration page.( 192.168.0.106 is FTP server)
(6) Click the "SaveSet" and then click "Restart" in the webpage.

22.4 Upgrade through HTTPS

(1) Install and configure an Apache HTTPS Server in local computer.
(2) Unzip the firmware file and put all of them under the root/phone directory of the HTTPS Server.
(3) Visit "https://192.168.0.106/phone/fw924.rom" on localhost by browser to verify the HTTPS Server. If visiting "https://192.168.0.106/phone/fw924.rom" on other computer is no prompt to download fw924.rom file, please check the firewall (Suggest close the firewall).
(4) Configure the Firmware Server Path in the IP Phone's web configuration page. (192.168.0.106 is HTTPS server)
(5) Click the "SaveSet" and then click "Restart" in the webpage.

Back to Top

  • No labels