Tutorial on SIP and SIP SER server

Standard Configs for Cisco 7960 with SER

Go back to main tutorial/workshop page

 

Good reference on Cisco Web site for the SIPDefault.cnf file

The following link was valid June 2004,

http://www.cisco.com/en/US/customer/products/sw/voicesw/ps2156/products_administration_guide_chapter09186a00801d1977.html

 

Boot sequence for Cisco 7960

When the Cisco 7960 boots it will contact the tftp server to download it's configuration and firmware.

/tftpboot/OS79XX.TXT

In the above the O is not a zoro; and XX is XX and not where you would put in 60! You can get this file from Cisco or from this site OS79XX.TXT. IMPORTANT NOTE: From version 7 Cisco no longer use this file.

The file contains the filename of the firmware without the ".bin", eg

P0S3-06-3-00

Note: I find this does not always trigger the IP Phone to load the new version. Sometimes version upgrades need to be done sequentialy, and sometime you need to trigger the upgrade via the config file for the specific phone, see below.

Make sure both the bin and secure-bin files which you get from Cisco are in the tftpboot directory you can get these from Cisco
P0S3-06-3-00.bin
P0S3-06-3-00.sbn

/tftpboot/SIPDefault.cnf

Make sure this file exists, even if it is empty. Otherwise the phone will take longer to boot.

You can get one set up for your group from here: Group1 Group2 Group3 Group4 Group5 Group6 Group7 Group8 Group9 Group10.

This file contains configuration parameters that will get applied to all the Cisco IP Telephones.

/tftpboot/SIP<mac-address>.cnf

The filename has the MAC address of the phone, note that the file is case sensitive, eg SIP003094C2E45C.cnf.

This file contains the same configuration parameters as the SIPDefault.cnf file only these apply to this specific Cisco IP Telephone.

You can get one set up for one of the Cisco IP Telephones used in the Tutorial here: SIP003094C2E45C.cnf, SIP003094C38857.cnf, 000BBEAD4C3A.cnf,

Make sure this file exists, even if it is empty. Otherwise the phone will take longer to boot waiting for a timeout.

Other inportant parameters include:

  • phone_password: "cisco" # locks manual configuration of the phone
  • line1_name number or email sent when REGISTERING
  • line1_authname - this needs to be a user in SER
  • line1_password - this needs to be the password for the user in SER
  • line1_shortname - appears on the LCD screen on the Cisco 7960 telephone
  • line1_displayname - is the ID sent in an INVITE
  • To get rid of a parameter out of a phones memory you have to set it to "", ie
    • # line1_shortname: "02 6211 2675" #Just commenting it out will not work!
    • line1_shortname: "" # This will work buy setting it to Null.

 

/tftpboot/RINGLIST.DAT

This file contains a list of the files with the ring tones and a label displayed to the user on the phone. On the phone select Settings : Ring Type. The file has the format

<label displayed to user> filename

You can create this file yourself, get this file from Cisco, or you can RINGLIST.DAT from this site.

You also nee to make the audio files, get some from Cisco or get ringer1.pcm and ringer2.pcm from this server.

 

/tftpboot/dialplan.xml

This file is a set of rules to change what the user dials before sending it to the SIP Proxy Server.

My favourite is to convert all the variations of Dialing Plans such as PABX dialing andlocal zone, sinto International Numbering Plan. ie I would convert 0 02 6222 3575 in Australia to 61 2 6222 3575.

 

Debuging

On the phone select Settings : Status : Status Messages

While the phone is connected or connecting press the "i" button twice rapidly. Gives the codec negotiated and the packets send and received.

You can telnet to the phone and issue commands.

See Cisco administrator guide.

 

Change the graphic on the screen:

In the SIPdefault.cfg add the following line:

logo_url: "http://192.94.63.28/APL-Logo_256-90x56.bmp"