Page 122 - Asterisk™: The Future of Telephony
P. 122
Cisco phones by default are loaded with their own communication pro-
tocol known as SCCP (or Skinny). We will be showing you how to
configure the phone, but due to the proprietary nature of Cisco and its
phones, you will need to obtain the SIP firmware from your distributor.
Also, there are both chan_sccp and chan_skinny modules for Asterisk,
but they are beyond the scope of this book.
We will be registering our Cisco phone to the SIP friend we configured in “Zaptel
Hardware Configuration.” The following configuration file should be saved into a file
taking the format of SIP<mac>.cnf, where <mac> represents the MAC address of the
telephone device you are configuring. Place this file into the /tftpboot/ directory on your
server:
# Line 1 Configuration
line1_name: "1000"
line1_authname: "1000"
line1_shortname: "Jimmy Carter"
line1_password: ""
line1_displayname: ""
# The phone label, displayed in the upper-righthand corner of the phone
phone_label: "aristotle" ; Has no effect on SIP messaging
# Phone password used for console or telnet access, limited to 31 characters
phone_password: "cisco"
Then configure the address to register in the SIPDefault.cnf file, also placed in
the /tftpboot/ directory of your server. proxy1_address will contain the IP address of
your Asterisk server of where the phone should register for line 1. The image_version
contains the version of the .loads and .sb2 files the phone will load into memory.
image_version: P0S3-08-4-00
proxy1_address: 192.168.1.100
We need one additional file called OS79XX.TXT. This file contains only a single
line―the .bin and .sbn file version to load into memory:
P003-08-4-00
In order for our Cisco 7960 to use these files, we need to tell the phone where to pull
its configuration from. If using the DHCP server from your Linux server, you can modify
the /etc/dhcpd.conf file in order to tell the phone where to pull its configuration from
by adding the line:
option tftp-server-name "192.168.1.100";
which contains the IP address of the server hosting the TFTP server (assuming of course
the TFTP server is configured at that address. This is the address we’ve been using for
our Asterisk server, and we again assume you’ve installed the TFTP server on the same
box as Asterisk). See “DHCP server” for more information about configuring the DHCP
server:
94 | Chapter 4: Initial Configuration of Asterisk