Convert Cisco 7940G Phone from SCCP (Skinny Call Control Protocol) to SIP protocol

Introduction

This page describes the steps to convert a Cisco 7940G phone from the SCCP (Skinny Call Control Protocol) to SIP protocol. The instructions include preparation of the configuration files to provision the phone.

Prerequisites

  • Cisco 7940G Telephone with Power supply (or POE port)
  • A Cisco ID with access to software downloads
  • Connection to a network with an active DHCP server
  • UCx server configured and connected to the same network as the Cisco phone
  • A file transfer client software installed on your computer (e.g. WinSCP)

STEP ONE: Configure SIP extension on UCx

  • Log into the UCx Web-based Configuration Utility
  • Navigate to the PBX Extensions page
  • Create a SIP extension (see Adding a SIP Extension)
  • In the Device options section, set NAT to no
  • Save and apply the changes

STEP TWO: Obtain SIP Firmware

WARNING: E-MetroTel has been successful in creating interoperability with the referenced phone with this specific firmware release using our open SIP Standards implementation. E-MetroTel is not responsible for maintaining interoperability support should the manufacturers modify the behavior of their SIP implementation in subsequent releases.

Download SIP software

  • Visit the cisco software download page (https://software.cisco.com/download/navigator.html?mdfid=269065653&flowid=46196
  • Select your product Unified IP Phone 7940G
  • Select the software type Session Initiation Protocol (SIP) Software
  • Select the latest 8.xx software version
  • Download the SIP flash image for non-callmanager or SIP flash image for 3rd party SIP call control environment
  • Extract the downloaded zip file to a new folder and label the folder the same as the software load (e,g. P0S3-8-12-00)
  • The contents extracted will look something like this:

STEP THREE: Prepare Configuration files

There are several configuration files that you will need to prepare: 

  • OS79XX.TXT
  • SIPDefault.cnf
  • SIP(MAC).cnf
  • XMLDefault.cnf.xml
  • dialplan.xml

You can download the template files that we have provided at the bottom of this page. Place these files in the same folder as the software files that you extracted above. Change the file extension of the files as follows:

  • SIPDefault.txt to SIPDefault.cnf
  • SIP(MAC).txt to SIP(MAC).cnf
  • XMLDefault.cnf_.txt to XMLDefault.cnf.xml
  • dialplan.txt to dialplan.xml

OS79XX.TXT

There is only one line in this file listing the firmware load, make sure the 3rd character in the file is a "S" to represent SIP. For example, the file should look like this:

P0S3-8-12-00

 

SIPDefault.cnf

There are 2 lines in this file you have to check and change if needed. Verify that the image version matches the firmware load you have in the OS79XX.TXT file above and change the Proxy Server address to the IP address of your UCx server.

image_version: "P0S3-8-12-00"

# Proxy Server
proxy1_address: 192.168.1.200

# Proxy Server port (Default - 5060)
proxy1_port: 5060

# Dialplan template
dial_template: "dialplan"
...

 

SIP(MAC).cnf

The configuration file must be renamed to match the MAC address of your phone exactly. For example, if the MAC address of the phone is "00260B5DCB52", then the file must be renamed to "SIP00260B5DCB52.cnf". (Note the name must be in UPPERCASE.)
Verify the image version matches the firmware load you have in the OS79XX.TXT file.
Replace the tags highlighted in BOLD with the approprate values of the extension that you have configured for the phone in STEP ONE.

# SIP Configuration
image_version: P0S3-8-12-00

# Line 1 appearance
line1_name: #EXTENSION

# Identification as it should appear for caller-identification purposes
line1_displayname: #EXTENSIONDISPLAYNAME

# Line 1 Registration Authentication
line1_authname: #EXTENSION

# Line 1 Registration Password
line1_password: #EXTENSIONSECRET

# Text to display on the top right status line of the LCD
phone_label: #EXTENSIONLABEL

 

XMLDefault.cnf.xml

Verify that the load information for your phone model matches the firmware load you have in the OS79XX.TXT file.

<loadInformation8 model="IP Phone 7940">P0S3-8-12-00</loadInformation8>  

 

dialplan.xml

The dialplan.xml file will look something like this:

<DIALTEMPLATE>
<TEMPLATE MATCH="6.." TIMEOUT="0"/> <!-- Internal extensions 600 to 699. Dial immediately. -->
<TEMPLATE MATCH="8,1.........." TIMEOUT="0"/> <!-- Secondary dial tone after press 8, followed by 1+10 digits. Dial immediately -->
<TEMPLATE MATCH="\*97" TIMEOUT="0"/> <!-- *97 for voicemail. Dial immediately. -->
<TEMPLATE MATCH="*#" TIMEOUT="0" REWRITE="%1"/> <!-- Dial immediately after pressing #, do not send the # sign. -->
<TEMPLATE MATCH="*" TIMEOUT="5"/> <!-- Anything else wait 5 seconds then dial -->
</DIALTEMPLATE>

You should edit this file to match the dialplan for your system.

Use a period (.) to match any character. Use an asterisk (*) to match one or more characters. To have the phone generate a secondary dial tone when the part of the template matches, use a comma (,).
To specify asterisk (*) as a dialed digit, add the escape sequence backslash (\) in front.

STEP FOUR: Place files on TFTP Server

  • Open the file transfer client (e.g. WinSCP)
  • Create a session to connect to the UCx server using the IP address of the UCx and the admin account
  • On the left side window, navigate to the folder containing the extracted files (e.g. P0S3-8-12-00)
  • On the right side window, navigate to the /tftpboot directory
  • Drag all the files from the left window to the /tftpboot directory on the right window
  • The session windows will look something like this:
  • Close and exit the file transfer session

TFTP is enabled by default on the UCx Server. See Provisioning Server page for details.

STEP FIVE: Install SIP Firmware and Provision phone

Erase the configuration

Erasing the configuration is optional.  If you are unsure of what was previously configured on the phone, you can erase the configuration.

  • Press the Settings key (the key with the checkmark located on the lower right of the help buton).
  • Press the down arrow to Unlock Config and press the Select softkey or press 9 on the diappad.
  • When prompted for the password, enter 'c i s c o' which is entered on the numeric dialpad as '2224447777222666', then press the Accept softkey..
  • Press the up arrow to Network Configuration and press the Select softkey or press 3 on the dialpad
  • Press the down arrow to Erase Configuration or press 33 on the dialpad
  • Press the Yes softkey followed by the Save softkey
  • The phone will reset itself (wait a few minutes)
  • You will see the display show "Phone Unprovisioned" on the bottom and/or "UNPROVISIONED" on the top

Enable Alternate TFTP

  • Press the Settings key (the key with the checkmark located on the lower right of the help buton).
  • Press the down arrow to Unlock Config and press the Select softkey or press 9 on the diappad.
  • When prompted for the password, enter 'c i s c o' which is entered on the numeric dialpad as '2224447777222666', then press the Accept softkey..
  • Press the up arrow to Network Configuration and press the Select softkey or press 3 on the dialpad
  • Press the down arrow to Alternate TFTP or press 32 on the dialpad.
  • Press the Yes softkey followed by the Save softkey. 
  • The phone will reset itself (wait a few minutes)

Set the TFTP Server ip address

  • Press the Settings key.
  • Press the down arrow to Unlock Config and press the Select softkey or press 9 on the diappad.
  • When prompted for the password, enter 'c i s c o' which is entered on the numeric dialpad as '2224447777222666', then press the Accept softkey..
  • Press the up arrow to Network Configuration and press the Select softkey or press 3 on the dialpad.
  • Press the down arrow to TFTP Server or press 7 on the dialpad.
  • Press the Edit softkey.
  • Press the backspace softkey (<--) to erase the current values and then enter the IP address of the UCx Server. Use * (asterisk) to represent 'dot'. For example: 192*168*1*200.
  • Press the Accept softkey followed by the Save softkey
  • The phone will reset itself. You will see messages displayed indicating the new firmware load is being retrieved (wait a few minutes).
  • When the phone comes back up, it should have SIP firmware installed and also provisioned as per the configuration files.

 

 

Page Tags: 
How-To
cisco
7940
7960