CISCO SKINNY Phones and Asterisk: Part I
Welcome to the my first multi-part tutorial on configuring Cisco Skinny Phones with Asterisk. This is two part tutorial and is divided as :
- Part 1: Configuring asterisk with Skinny Client Control Protocol (SCCP) module
- Part II: Configuring the Cisco Phone and registering it with earlier configured Asterisk Server.
If you already have asterisk configured, you can happily skip the first step of this tutorial.
1) Install and Configure Asterisk
You can use following steps to install and configure asterisk PBX.
- Get the latest Asterisk PBX software by -
root@\Bughira:# wget http://downloads.digium.com/pub/asterisk/releases/asterisk-x.x.xx.tar.gz
- Move under /usr/src and untar it.
root@\Bughira:/usr/src/asterisk-1.4.21#
- Do ./configure to configure it.
- Do make && make samples && make install
2) Configure Asterisk with SSCP module.
Asterisk can be configured to take registration from CISCO SKINNY Phones. We just need to add SCCP channel to asterisk. Following is the way to do it.
- Get the chan_sccp_xxxx module from ftp://ftp.berlios.de/pub/chan-sccp/chan_sccp/
- This module comes in two different formats – Pre-compiled binary and Source code.
- If you are using asterisk 1.4.x.xx , please download the source code for the chan_sccp channel and compile it to avoid compilation errors.
- For pre-compiled channel, you just need to do “make clean; make install” inside untarred location and you are done.
- While Source code version of chan_sccp can be downloaded from http://sourceforge.net/projects/chan-sccp-b
- Untar the chan_sccp_xxx.tar.gz under /usr/src
3) Compiling and configuring chan_sccp
1) Change CWD to /usr/src/chan_sccp-xxx directory
2) run following command to generate configuration file.
root@\Bughira:/usr/src/chan_sccp-20060408# create_config.sh /usr/include/
3) While /usr/include is the base directory where asterisk header files are located.
4) Once it has said “config.h complete.” you can proceed and do make.
5) root@\Bughira:/usr/src/chan_sccp-20060408# cp chan_sccp.so file /usr/lib/asterisk/modules”
6) Check if you have /etc/asterisk/modules.conf file present. If not you can always get them by “make samples” in asterisk source.
7) Add following two lines in /etc/asterisk/modules.conf
load = chan_sccp.so noload = chan_skinny.so
4) Start Asterisk
root@\Bughira:/usr/src/asterisk-1.4.21# asterisk -nvvvvc
Stay tunned as part two of this tutorial will contain:
- Editing sccp.conf file
- Setting TFTP server and required phone Configuration files.
- Registraion process of Phones.

July 5th, 2008 at 7:40 pm
good work
January 12th, 2009 at 7:05 pm
Here is the detail about my asterisk verion:
Asterisk 1.2.26.1 svn rev 79171 built by root @ localhost.localdomain on a i686 running Linux
I tried step 3:
create_config.sh /usr/include
-bash: create_config.sh: command not found
Can you help me with this?
January 15th, 2009 at 6:38 am
Carry out following sequence of commands to resolve this..
[root@bughira chan_sccp-20071213]# ls -l create_config.sh
-rw-r—– 1 1000 1000 5957 Dec 14 2007 create_config.sh
Note, there is no executable permission given to create_config.sh.
[root@bughira chan_sccp-20071213]# chmod 755 create_config.sh
[root@bughira chan_sccp-20071213]# ls -l create_config.sh
-rwxr-xr-x 1 1000 1000 5957 Dec 14 2007 create_config.sh
[root@bughira chan_sccp-20071213]# ./create_config.sh /usr/include/
Creating config file
====================
Checking Asterisk version…
* found asterisk 1.4
Hope this will help..
January 15th, 2009 at 3:54 pm
I actually did a make clean and make install inside the unzipped folder and it created the .so file in the modules folder. Thanks man. This is a good reference for people new like me with Asterisk and sccp.
March 2nd, 2009 at 12:33 pm
[...] SKINNY Phones and Asterisk: Part II Armed with all the setup steps we did in part I, we are now ready for actual Phone configuration followed by some troubleshooting [...]