Configuring Cisco 12SP phones with Asterisk
Created by: kFuQ,Last modification on Tue 04 of Apr, 2006 [22:52 UTC]
Configuring Cisco 12SP+/30 VIP phones with Asterisk
This page documents how you configure a Cisco 12SP+/30VIP phone with Asterisk.The Cisco 12SP+/30VIP IP Phones are EOL and they are not supported by Cisco anymore.
Cisco states that they do not have any listings for this phone and offer no support or downloads for it anymore.
What you need:
A Hex Editor of some kind
TFTP server
Firmware image file ( P002L2J2.bin 128368 bytes )
Let's start off with SEPDefault.cnf.
SEPDefault.cnf is a 17-byte long BINARY file not an ASCII text file
Open up your SEPDefault.cnf in your hex editor and look for the highlighted section in the example.
The hexadecimal breakdown is here:
Offset 0x0: Header:
01 01 00 01 02
Offset 0x5: Server IP:
C0 A8 01 5A
Offset 0x9: Buffer:
01 03
Offset 0xB: Port number (2000):
D0 07
Offset 0xD: Footer, EOF:
00 00 01 FF
Use a binary calculator such as "bc" to calculate the value.
You can also use the standard calculator that comes with Windows to make these cconversions. Just click on the View menu and switch to Scientific mode. A full binary/hex/octal/decimal calculator is available in this mode.
bash-2.05b# bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
192
C0
168
A8
1
1
90
5A
quit
bash-2.05b#
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
192
C0
168
A8
1
1
90
5A
quit
bash-2.05b#
In this example, CO A8 01 5A is the IP address of my * server. Change that value to what your ip address of your * server is.
Save this file as SEPDefault.cnf and upload it and your firmware image file to your tftp server.
On your phone, press ' **#' and set your ip address, netmask, dns server, gateway (point to * server). Press * to save your settings.
edit /etc/asterisk/skinny.conf in your favorite text editor
you should have a section similar to this
[florian]
device=SEP(phonesmacaddress)
version=P002L2J2 #The version of your firmware file ( P002L2J2.bin )
host=ipaddressofyourphone
context=callingcontext
line => 1234
device=SEP(phonesmacaddress)
version=P002L2J2 #The version of your firmware file ( P002L2J2.bin )
host=ipaddressofyourphone
context=callingcontext
line => 1234
Make sure you add a section to extensions.conf for this phone as well
exten => 1234,1,Dial(Skinny/1234@florian1,30)
Shut down and restart your asterisk server once you have made changes to your skinny.conf file.
If your phone has a different firmware version on it, it will upgrade/downgrade it depending on what version is on your tftp server and specified in skinny.conf.
If it is different, your phone will say "Programming" when it boots up and downloads the files.
With the version of the firmware in this HOW-TO, your phone should say
Copyright 1999 L2.J2
Cisco Systems Inc.
Cisco Systems Inc.
If you are running your * server in verbose mode ( asterisk -vvvvvvvcg ) you should see some lines like this
— Starting Skinny session from (Phone's IP address)
Device SEP(MacAddressofPhone) is attempting to register
— Device '(Section name of this phone in skinny.conf)' successfuly registered
Requesting capabilities
Version Request
Received CapabilitiesRes
Buttontemplate requested
Received Time/Date Request
Go ahead and pick up the reciever or hit the speakerphone button, and if all went well, you should have dialtone!
Don't forget to setup your voicemail box with that handy little script provided in ./asterisk-src/contrib/scripts.
See Also
This page was haxored at Sun 12 of Dec, 2004 [21:21 UTC]
28490 people have read this page
Comments
333
333Firmware
I found the Firmware on the internet. please download it.
http://www.cavok.eu.com/asterisk/P002L2J2.zip
Guys be ready i will have one 30VIP phone soon. so i will need your help.
Thnaks
KT
333Firmware
I found the Firmware on the internet. please download it.
http://www.cavok.eu.com/asterisk/P002L2J2.zip
Guys be ready i will have one 30VIP phone soon. so i will need your help.
Thnaks
KT
333Re: Can Cisco 12SP+ be configured for regular VOIP service?
Anybody can help us???
Thank you in advance,
Juanjo
333Re: Can Cisco 12SP+ be configured for regular VOIP service?
I found P003*, P004 P005, S001 but P002* I can't found.
Please help.
333Firmware
33312P+ causes * to crash.
Okay, I'm trying to get a Cisco 12P+ to work with *. I could not find the firmware listed above (P002L2J2.bin), so I'm trying different firmware files that are on my old Cisco CallManager server.
So, here's the weird part. Someone calls the 12P+ phone (either from a SIP soft client) or from an outside line. Works fine, sounds good, and the person hangs up. No problem...
OKAY.. Now, same call, but I hang the 12P+ phone up FIRST, then the server crashes and has to be restarted. Happens EVERY TIME I hang up the Cisco phone before the caller hangs up...
Anyone have any ideas???
333Re: Can Cisco 12SP+ be configured for regular VOIP service?
peter
333Problems with IAX
I have the cisco answering and displaying the time etc
I require to to be able to make a call by another provider who uses IAX as the protocol and every time I go to make one it hangs up...
Also
How do you get it to display caller ID?
regards
Samantha
333Can Cisco 12SP+ be configured for regular VOIP service?
Thanks
AM