Elastix SCCP Cisco 7936, 7937

1. Install Elastix 2.0

2. Prerequisites

2.1.

Enable tftp, dhcp
Disable iptables
For enable/disable of services use chkconfig
For starting of services use service [nameofservice] start

2.2.

Update everything
yum –y update

3. Upgrading phone firmware

3.1. INFO:

If your phone already have original Cisco firmware, you can use it!

3.2. UPGRADING FIRMWARE

In this example we upgraded Cisco 7937 (all the same for 7936)
We use this version of firmware apps37sccp.1-4-2-0.bin, if you cant get it,
send us email.

Put the firmware file and XMLDefault.cnf.xml inside /tftpboot
Edit XMLDefault.cnf.xml and insert this line, download example.

 
    <loadInformation431 model="Cisco Phone 7937">apps37sccp.1-4-2-0</loadInformation431>
      

Cisco 7937 is not using SEP<macaddress>.cnf.xml
All of the phone settings are now inside sccp.conf, download example.

After everything is setup, reset the phone, press GLOBE button and enter **#
If everything is ok your phone sholud boot up into upgrade mode

You can monitor everything with following commands:

tail –v –f /var/log/messages

4. Compiling SCCP

4.1.Download sccp from http://chan-sccp-b.sourceforge.net/

Put all files to /TMP directory of your Elastix server
Go to /TMP directory (or one where you put downloaded packages)
Extract files

Type:
./configure
make all
make install

5. Tweaking to get sccp working as it should

5.1. Edit /etc/cyrus.conf and comment out sieve, it should look like this:

# UNIX sockets start with a slash and are put into /var/lib/imap/sockets
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=5
imaps cmd="imapd -s" listen="imaps" prefork=1
pop3 cmd="pop3d" listen="pop3" prefork=3
pop3s cmd="pop3d -s" listen="pop3s" prefork=1
#sieve cmd="timsieved" listen="sieve" prefork=0

5.2. Make sure that chan_sccp.so exists in the /usr/lib/asterisk/modules

5.3. Edit /etc/asterisk/modules.conf, add this to the end of file:

noload => chan_skinny.so
load => chan_sccp.so
load => res_features.so

5.4. Copy sccp.conf to /etc/asterisk/sccp.conf and adapt it to your needs, everything
about sccp.conf is explained inside the file sccp.conf


6. Adding SCCP type extensions to your Elastix (via web gui) and sccp.conf

6.1. Elastix web gui

PBX – EXTENSIONS – ADD AN EXTENSION – Other (custom) device

Under "This device uses custom technology" insert:
SCCP/your extension

Example: SCCP/101

Write down on a piece of paper extensions you just entered, we will need this
in our next step.

6.2. Setting up your extensions inside sccp.conf

Download example of sccp.conf and modify to your needs with extensions from
previous step.

After everything is set up, issue this command

amportal restart

7. Testing SCCP extensions and devices

Open up asterisk command prompt, with this command:

asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Then issue this command:

sccp show devices

It sholud look smoething like this:

test*CLI> sccp show devices

NAME ADDRESS MAC Reg. State
======================================== ====================
Conference Phone 7936 10.10.20.219 SEP000XXXXXXXXX OK
Conference Phone 7937G 10.10.20.237 SEP000XXXXXXXXX OK



8. DOWNLOADS

SCCP.CONF -> adopted for our needs, almost minimal
SCCP_ORIGINAL.CONF -> original file, with lots of options
XMLDefault.cnf.xml

If you cant get SCCP firmware for 7937 please send us email.

Special thanks to Manzurek @ elastix forum

Made by Holistic VoIP Wizards
http://www.holisticware.com/

MORE INFO TO READ:
http://www.igpf.com/?p=248