Task:
Create alternate images for the 79XX series phones.
Notes:
320x196x4 - B&W phones like 7940, 7941, 7960, etc.
320x196x12 - IPC, phones like 7971, 7970, etc.
320x196x16 - Color phones like 7945, 7965, etc.
The folders will also have thumbnail (TN) images. The TN images are 80x53.
Steps:
1. Create the following structure w/in the tftpboot folder:
$ cd /tftboot/
$ su tftpsvc -
$ mkdir Desktops
$ ls -l
...
drwxr-xr-x 5 asterisk asterisk 4096 Mar 17 18:22 Desktops
...
$ cd Desktops
$ mkdir 320x196x4
$ mkdir 320x212x12
$ mkdir 320x212x16
$ ls -l
drwxr-xr-x 2 tftpsvc tftpsvc 4096 Mar 17 18:19 320x196x4
drwxr-xr-x 2 tftpsvc tftpsvc 4096 Mar 17 18:22 320x212x12
drwxr-xr-x 2 tftpsvc tftpsvc 4096 Mar 17 18:19 320x212x16
2. Copy the images to each of the folders. Make sure the images are the sizes indicated by the folder names. The last number is the number of colors by bit (e.g. 4-bit, 12-bit (4096 colors), 16-bit (65535 colors), etc).
3. Create the List.xml files:
$ touch ./320x196x4/List.xml
$ touch ./320x212x12/List.xml
$ touch ./320x212x16/List.xml
Add the images to the files using the sample file below:
$ vi ./320x212x16/List.xml
<CiscoIPPhoneImageList>
<ImageItem Image=”TFTP:Desktops/320x212x16/MW_LogoTN.png” URL=”TFTP:Desktops/320x212x16/MW_Logo.png”/>
<ImageItem Image=”TFTP:Desktops/320x212x16/MWSMS_LogoTN.png” URL=”TFTP:Desktops/320x212x16/MWSMS_Logo.png”/>
</CiscoIPPhoneImageList>
<esc>:wq (to save)
$ vi ./320x212x12/List.xml
<CiscoIPPhoneImageList>
<ImageItem Image=”TFTP:Desktops/320x212x12/MW_LogoTN.png” URL=”TFTP:Desktops/320x212x12/MW_Logo12.png”/>
<ImageItem Image=”TFTP:Desktops/320x212x12/MWSMS_LogoTN.png” URL=”TFTP:Desktops/320x212x12/MWSMS_Logo12.png”/>
</CiscoIPPhoneImageList>
<esc>:wq (to save)
$ vi ./320x196x4/List.xml
<CiscoIPPhoneImageList>
<ImageItem Image=”TFTP:Desktops/320x196x4/MW_LogoTN.png” URL=”TFTP:Desktops/320x196x4/MW_Logo4.png”/>
<ImageItem Image=”TFTP:Desktops/320x196x4/MWSMS_LogoTN.png” URL=”TFTP:Desktops/320x196x4/MWSMS_Logo4.png”/>
</CiscoIPPhoneImageList>
4. Update the load information xml section with the new SIP software to load.
(We leave it in there once, and then remove the contents of the tag afterwards.)
e.g.
<loadInformation>SIP45.9-3-1SR4-1S</loadInformation>
Reboot the phone.
- Unplug
or
- Click settings button, then click *##*
After you want the download and apply checkmarks for each successful download, it with install and recheck the boxes.
Once it reboots, it will try to re-register. We can either leave the SIP firmware version in the tag or remove it and leave an empty tag.
e.g.
<loadInformation></loadInformation>
5. Update the DHCP reservations with new entry for phone w/TFTP proxy set.
- Give a static reservation as desired
- Enter the MAC address.
- Under the TFTP section, enter the FQDN or IP of the phone system or its proxy.
6. Create the SEP<MACADDRESS>.cnf.xml file.
Note: If FreePBX does the last update, it may squash the last lines of the XML file. It creates a "cannot read" issue with the phones. Instead, take a backup, paste the contents from a known good phone file (or backup), and re-apply "this" phone's unique components.
7. Addition of Additional Ring Sounds / Ringtones.
a. Create files with short filenames (<25 characters):
Raw PCM
8 bits/sample
uLaw compression
Max ring-size: 16080 samples
Min ring-size: 240 samples
Number of samples in the ring is evenly disable by 240.
Ring starts and ends at the zero crossing
Steps via Audacity:
a. Prerequisites:
1. Install the 64-bit FFmpeg and LAME installations for OS X (because we are OS X).
2. Start Audacity, go to Preferences --> Libraries. Click Locate, answer No when Audacity informs you that it automatically found it, and would you like to manually locate.
3. Close Audacity.
b. Convert file(s)
1. Open wav file.
2. Change Project Rate (Hz) from 44.1 to 8000. (bottom left corner)
3. Save as 8-bit Wav (Microsoft), File --> Export --> Export Audio. In the dialog:
- Save As: filename.wav2
- File type: Other uncompressed files
- Header: WAV (Microsoft)
- Encoding: Unsigned 8-bit PCM
- Click the Save button.
4. Close file, and open new 8-bit wav file. Confirm project still shows 8000 (8-bit). Click the play icon, upper left. Check to make sure it sounds okay.
5. Save as 8-bit RAW, File --> Export --> Export Audio. In the dialog:
- Save As: filename.wav2
- File type: Other uncompressed files
- Header: RAW (header-less)
- Encoding: U-Law
- Click the Save button.
6. Transfer to the TFTP folder.
Note:
If step 5 doesn't sound right, try Header PCM 8-bit unsigned.
b. Add to distictiveringlist.xml
...
<Ring>
<DisplayName>Name of Ring Sound</DisplayName>
<FileName>FileName.raw</FileName>
</Ring>
Note:
Maximum of 50 ringtones supported. If you create a syntax error (forget to close ring tag, etc), or you go over 50 ring files, the phones will display a message of bad ring file.
Keywords:
IP Phone, Cisco, Cisco Phones, Sound Files, Background
previous page
|