Use these release notes with a Cisco Unified IP Phone 7906G and 7911G running SCCP or SIP firmware release 8.2(1). The SCCP version of firmware release 8.2(1) is compatible with Cisco Unified CallManager releases 5.1, 5.0, 4.2, 4.1, 4.0, and 3.3.I have seen a few people experiment with VoIP phones running over a HSMM-MESHÔ link and thought this could be an interesting experiment. I have been thinking of experimenting with VoIP for a couple of years but never found a good reason to as I use my cellphone for just about everything. I figured I would
One day searching through eBay a couple of weeks ago, I found an auction from a local electronics warehouse that was selling 16 Cisco 7911G phones for a price I couldn't pass up. Cursory look on-line seemed that the configuration files were adequately documented so I started off on my journey.
I was looking for a entry-level Asterisk server program that I could load on an old laptop for testing. Searching through the Internet, I found Trixbox - which is a self-contained Linux distro with Asterisk and FreePBX already installed. Configuration is done through a web page interface - perfect for a Linux Padawan like myself.
Setting Trixbox to talk to my Polycom IP501 phone was extremely easy: went through the extension and phone setup pages and had everything configured in less than an hour thanks to YouTube videos and online tutorials. Same thing with a softphone application on my Ubuntu desktop - Twinkle. The Cisco phones, however, were not as easy..
Upgrading the phones to SIP firmware
Cisco has two different firmwares that you can load into the phone which will change it's behavior: SIP (Session Initiated Protocol) and SCCP (Skinny Call Control Protocol). SCCP is a proprietary protocol created and defined by Cisco, where SIP is a more open protocol and generally universal from what I've seen. Since I don't know where this project will go in the long term, I'd rather not limit myself to one brand of phone or equipment so I decided to go with SIP. Unfortunately the phones I bought were pulled from a business environment so it had SCCP firmware installed and needed to be changed.
Changing the firmware is a relatively easy task. It involves having a tftp server on the network that serves the firmware files to the phone upon bootup. After registering for a free account on the Cisco website, I was able to download the SIP9-3-1-1S firmware files and followed the instructions at this link to upgrade 7911 phones to SIP firmware:
The configuration file
The Cisco 7911G phones use a XML file that gets loaded during bootup for all of it's settings and configuration. This file sets things like the time and date format, the IP address of the VoIP server, the username and password for debugging and registration, etc. This is where it started to get hairy.
My hope was that with Trixbox, I would just go through the same motions that I did with the Polycom phone and it would be a simple matter to get it working. Boy, was I wrong. Trixbox apparently has limited support for Cisco phones and does not have a default configuration for the 7911G phones. Off to the Internet I went, hoping I could find a valid configuration file that someone had posted but came up empty handed. I found a lot of forum posts that were similar to my situation but none of the configuration files worked.
After a week of trying different configuration files, settings, searching online and just as I was about to write the phones off and re-sell them on eBay, I finally found a configuration file that worked!
<timeZone>New Zealand Standard/Daylight Time</timeZone>
<displayName>Cisco Phone 1</displayName>
From this base, make sure you change the appropriate values for your setup:
- Change the timezone information to whatever you prefer
- Change the <name> tag in the <sipLines> block. It needs to be the same as the username
- Change xx.xx.xx.xx to the IP address of the Trixbox server
- Check all the URLs to make sure they align with the files hosted on the server
- make a authentication script for the <authenticationURL> field
- Change the <loadInformation> tag to match the firmware you have loaded in the phone
Make sure on the Trixbox extensions to change nat=no and qualify=never -- somehow this was restricting the registration process and not allowing it to complete.
- Working on the NAT firewall and forwarding so that phones behind a HSMM-MESH nodes will be able to talk to the Trixbox server
- Coming up with a directory scheme for users
- connecting multiple Asterisk servers together for redundancy/load sharing?
- What is the difference between Trixbox SEP.cnf file and one that works?
Cisco 7911G/7942/7945/7962 Phone with Asterisk
Download the firmware (7911 ,7942, 7945 , 7962) and extract it.
Download and install/extract the tftp server software.
Open the tftp server software and make the SIP firmware extracted directory as the root directory of the tftp server.
Avast license. Goto command prompt(Start>Run>CMD and press enter) and enter the following command.
C:Usersuser>tftp <tftp-server-ip-address> get dialplan.xml
You should get the message starting “Transfer Successful”.(If your OS is Win7/Vista you have to install tftp client from the Add/Remove Programs)
Open your dhcp server configuration and add TFTP server IP address as the boot server in DHCP scope Options. Refer this article to configure DHCP Options.
Rename the with SEP<MAC-ADDRESS-OF-YOUR-PHONE>.cnf.xml. Then open that file and change the following lines to match with your IP PBX details.
Edit your Asterisk SIP configuration and add nat = no below the user context.
This step is important otherwise the phones will not register and on the phone’s display you can see the message Registering.
If you are using FreePBX the file will be /etc/asterisk/sip_additional.conf, In the case of Asterisk-GUI file is /etc/asterisk/users.conf
- вторник 28 апреля