Menu
Jul 11, 2005 Cisco 7940 and 7960 IP Phones Firmware Upgrade Matrix. Configuration files and reboot the phone to cause the application image to download. I've been trying to factory reset some SPA50x phones, specifically the 504G but the old provider has locked out everything. Factory Reset Cisco SPA504G without admin password. Ask Question Asked 6 years, 7 months ago. If it wants XMLDefault.cnf.xml from your TFTP server, you should just be able to feed it the XML shown above, and the.
SEP.cnf.xml for Cisco CP-6921
The main configuration file for the phone. The actual name of the file is based on the MAC address of the phone, eg: SEP58971ECC97C1.cnf.xml (SEP<MAC>.cnf.xml).
I used configuration the same as in following sites:
(https://github.com/amooma/GS3/wiki/Cisco-CP-69xx-VoIP-Telefone-mit-Asterisk-Gemeinschaft)
(https://zadarma.com/ru/support/instructions/cisco/cisco-6921/)
And get parameters explanations from this pages:
(http://docs.acsdata.co.nz/asterisk-cisco/sepmac-cnf-xml.shtml)
(http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+79x1+xml+configuration+files+for+SIP)
(http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+7970+SIP)
But I need configure some custom settings. For example:
1) I used g729a codec and I need callStats for correct end calls.
- CallStats refer to if the phone feeds back call quality statistics to the SIP server when the call is terminated.
2) How the phone alerts the user to unread voicemail messages. Set only 'Light' and 'Prompt' signal when you have unread messages. Without stutter.
- messageWaitingLampPolicy - 3 - Light Lamp and Display Prompt if message is waiting.
'Light' is the bright red lamp on the headset.
'Prompt' will show up a flashing voicemail envelope next to the Line on the RHS side of the display when there is voicemail.
3) I need set amount of calls that phone can recive simultaneously. Otherwise it set response busy when have more then one calls.
- maxNumCalls - defines the maximum number of calls allowed per line.
- busyTrigger - defines the number of calls that triggers Call Forward Busy per line on the SIP phone.
4) Configure 2-nd line with auto answer for conference.
- autoAnswerTimer - seconds to wait before automatically answering the call for lines. Set to 10 sec - 3 calls.
- featureID - Number determining which feature is assigned to this line key. More here (http://docs.acsdata.co.nz/asterisk-cisco/line-keys-xml.shtml)
- autoAnswerEnabled - 3 - enable auto answer.
5) Configure number to dial when the messages key is pressed.
You can use another number for each line. And can use it for speed dial.
6) Configure access.
- sshAccess - 1 - disabled. For enable set 0. Restricts access to the phone's ssh-server.
- webAccess - 1 - disabled. For enable set 0. Restricts access to the phone's web-server.
- settingsAccess - enables and disables the Settings button on an IP phone. Useful to lock the phone config down.0 = Disabled.1 = Enabled (default). The phone user can modify features by using the Settings menu.2 = Restricted. The phone user is allowed to access User Preferences and volume settings only.
7) Set minimal ring volume. Maximum is 15.
- minimumRingVolume - minimum volume of the phone's ringer. A number between 0 (off) to 15 (full).
8) Configure userLocale fnd networkLocale settings. You will have native language message on the phone display. The Network locales allows the phone to play tones (ringing, busy etc.) native to the phone's country. More here (http://docs.acsdata.co.nz/asterisk-cisco/user-locale.shtml), (http://docs.acsdata.co.nz/asterisk-cisco/network-locale.shtml)
9) URL to use when the directories or contacts key is pressed. If necessary, set folder, where you store phonebook xml file.
10) Set transport protocol. As I'm using not reliable network infrastructure, so I use TCP for transport. As you can, use UDP, it faster.
- transportLayerProtocol - what protocol the phone will use to connect to Asterisk (UDP, TCP). Only use 4 (TCP), as the phone causes SIP retransmit errors when using UDP.1 = Use device default2 = UDP4 = TCP
11) Disable DND.
- dndCallAlert - how the phone displays an incoming call when DND is enabled and dndbusy is set to no in sip.conf.0 = Disable1 = Beep Only5 = Flash Only
- dndReminderTimer - how often in minutes to play a beep tone through the speaker when DND is enabled.
12) Register first line to first server and second line to second server.
Following these instruction you will be able to upgrade you firmware or migrate you phone to use either SIP or SCCP image. This guide also allows you to unbrick you phone if you did brick it by mistake. You are recovering a bricked phone please take especially note of section “Starting the update in your phone” step 5.
What do you need
- a Windows computer with an Ethernet port (you can also use Linux, but this guide cover only Windows)
- a cross over ethernet cable or a spare ethernet switch that doesn’t have other devices connected to it
- TFTPd32 http://tftpd32.jounin.net/tftpd32_download.html
- a Cisco IP Phone firmware image (you can find it from Cisco Downloads site)
What to do
The actual updating is devided in to four phases. You need the be careful not to make typos. Follow the instructions in the exact order they are presented here.
If you have a very old version of SCCP, you can’t upgrade directly to the newest one. The solution is to flash a earlier version first. If that is the case, just upgrade first to version 3 (P00303010102), then to version 5 (P00305000500), then jump to version 8.0.9 (P00308000900) and finally then to 8.3.3. After that you should be able to flash 9 series.
First you need to configure your IP settings
- Connect cross over cable to the computer and switch port of the phone or connect both devices to the switch that doesn’t have other devices connected to it
- Disable any firewall (remember to check Windows Firewall also)
- Configure a static IP of 192.168.1.1 / 255.255.255.0 on the computer (no need for DNS/Gateway settings)
Configure your DHCP and TFTP server
- Start TFTPd32 software as administrator (right-click and “Run as administrator”)
- Click settings
- Uncheck everything except TFTP Server and DHCP Server
- TFTP tab: set a Base Directory to somewhere convenient
- TFTP tab: set TFTP Security to None
- DHCP tab: set IP pool starting address to 192.168.1.2, size of pool bigger than 1, mask 255.255.255.0
- DHCP tab: If your phone has firmware below 8.3.3 use option 150 with value 0x0101A8C0
- DHCP tab: If you phone has firmware equal or greater than 8.3.3 use additional option 66 and 192.168.1.1
- To close the settings dialog click OK
- Restart TFTPd32 as administrator
TFTP directory content
- Extract the firmware you have downloaded from Cisco.com to the TFTP Base Directory
- If you have a 7940/7960 phone you need some additional configuration files (these steps below do not apply to the 79×1/79×2/79×5 Java based phones). Create a file named “XMLDefault.cnf.xml” to the TFTP base directory. The contents are below.
<Default>
<callManagerGroup>
<members>
<member priority=”0″>
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName></processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<loadInformation>IMAGENAME</loadInformation>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<servicesURL></servicesURL>
</Default>
Edit the file loadInformation tag to reflect the image file name without the file extension (ig. “<loadInformation>SIP11.9-4-2SR3-1S</loadInformation>”).
Starting the update in your phone
- Unplug the phone from power
- Clear the configuration by holding down the # key and then plugging in the phone power
- Hold the # key untill all the lights cycle or the extension lights blink amber/red (depends on the phone model)
- If you have a funtional firmware in the device you may use soft factory reset: press 123456789*0# followed with the 2 key
- If you do not have a function firmware in the device you need to use hard reset: press 3491672850*#
- After a while you should see the files uploading to the phone in your TFTPd32 (see the Log viewer tab)
- Wait until the device has complited the firmware flash download and rebooted
Throubleshooting tips
Messages like the one below is repeated in the TFTPd32 Log viewer tab
Rcvd DHCP Rqst Msg for IP 0.0.0.0, Mac 00:11:BB:0D:E7:AE [01/08 16:20:58.113]
TODO: check your TFTPd32 DHCP tab for the correct additional option value. For more details see the section “Configure your DHCP and TFTP server” steps 7 and 8.