Chan_sccp driver for Asterisk
Chan_sccp is not included in the cvs tree.Latest release 20060408
further development release 20071213 ( chan_sccp-b )
Channel Driver Download, Bugtracking, and Mailling list
- Driver downloads can be download from http://chan-sccp.berlios.de/
- Latest version: ftp://ftp.berlios.de/pub/chan-sccp/chan_sccp-20060408.tar.bz2
- Forum with entries for the different phone models Chan_sccp Forum
- Sample XMLDefault and SEP files Cisco 7914-HOWTO
- Sign up on chan_sccp mailinglist https://lists.berlios.de/mailman/listinfo/chan-sccp-users
- Bug tracker https://developer.berlios.de/bugs/?group_id=4020
- Use this proceedure to report crashes or bugs http://chan-sccp.berlios.de/#debug
- How to build the channel driver http://chan-sccp.berlios.de/#build
- Aditional config file helps SCCP-HOWTO2
- Faq for the chan_sccp: Chan_sccp_faq
- Open79XX XML Directory - Open79XX XMLDirectory is an open PHP-based XML menuing system for providing on-screen services to the Cisco 79XX Series IP Phones. It contains dynamically generated phone directories, on-screen memos, links to other services, and many more options.
Features of the Sccp Driver
- Control of buttons. They can be lines or speeddials.
- Completely controled at the server.
- 7914 add-ons are available for the 7960
- Status/BLR of other sccp extensions
- 7914 Has lighted buttons that are red, yellow or green when defined as lines.
- 7961 and 7941 also have lighted buttons.
- Paging of other sccp extensions
- One way audio or two audio
- Control the tone on the remote extensions
- Divert the call straight to voicemail or another extension without answering the call.
- Setup call forward all or call forward busy
- Voicemail indication available per line
- When calling you can make your callerid show as private by pressing the Private soft button
- Setup system wide messages
- A new function exists called SetCalledParty which lets you set the ext and number of the called party on the calling sccp phone.
- Send text message to the sccp phone.
- Park calls by pressing the soft key called Park on the phone. Must be enabled at compile time.
- Optional firmware control for some of the cisco phones.
- Register phones at multiple * boxes for failover.
- And much more. If you want a feature added, patches are welcome.
Support Devices
- 12 — Cisco IP Phone 12SP+
- 30 — Cisco IP Phone 30VIP
- 7902 — Cisco IP Phone 7902G
- 7905 — Cisco IP Phone 7905G - Fully supported
- 7910 — Cisco IP Phone 7910
- 7912 — Cisco IP Phone 7912G
- 7920 — Cisco IP Wireless Phone 7920 - All basic features
- 7935 — Cisco IP Conference Station 7935
- 7936 — Cisco IP Conference Station 7936 - Fully supported
- 7940 — Cisco IP Phone 7940 - Fully supported
- 7941 — Cisco IP Phone 7941 - Initial Support
- 7960 — Cisco IP Phone 7960 - Fully supported
- 7961 — Cisco IP Phone 7961 - Initial Support / Reported to work
- 7970 — Cisco IP Phone 7970 - Fully supported
- 7971 — Cisco IP Phone 7971 - Fully supported
- 7961GE
- 7941GE
- 7911
- 7980 — Cisco IP Communicator
- 7985
- 7914 — Cisco IP Phone 7960 with 1 or 2 7914 addons
- ata — Cisco ATA
- KIRK — Kirk is a wireless phone that uses sccp
Any feed back or bugs on the above models should be posted to the mailing list. Patches of course are welcome as well.
Troubleshooting the SEP files
- The 7960 and 7940 SEP files are not the same as the 7970/7971/7980 phones
- The 7970 does work with a properly formated SEP config file.SEP7970 Sample The 7970/7961 does not need the OS79XX.TXT in the tftp folder.
- The 7970 backlight can be controled turned on and off via the SEP file.
- The 79XX phones do not work well with any XML errors in their config files
- To upgrade the firmware, most of the phones can be updated by changing the load version in the SEP file.
Firmware
- The current firmware version for the 7940/7960 is 7.2.3 (7.2.4 and 8.0.3 now also available - 04.08.2006)
Project Support
- Your support is welcome.
- Answer questions on the mailling list
- Send hardware or funds to Sergio - find his contact here: http://chan-sccp.berlios.de/
- Submit bug reports to the mailling list
- Submit patches to the current release
- Add your tips to the wiki pages
- Test, Test, Test
Driver Configuration & Implementations hints
- Cisco 7914-HOWTO - Module configuration & Software versions
- SCCP-HOWTO2 - 7920 Chan_sccp configuration samples
- Sample 7970/7980 SEP file, No other files are needed to get the phone working.
- ((Configuring Cisco 12SP+ with SCCP)) — Configuration for Cisco 12SP+
- Adding support of Cisco 7931 to Chan_sccp — Adding support of Cisco 7931 to Chan_sccp and configure Cisco 7931 phone for work with Asterisk
Why would I use chan_sccp?
Here are some *good* reasons to use this channel:o It's native - that is what the phone hw was build for
o It's a lot faster than the SIP image (look at the response times!)
o The sound quality is significantly better with the SCCP image
(try e.g. the CTU24raw.raw ringtone on SIP and on SCCP image)
o It has more features (XML is fully working)
o It's possible to administer SCCP phones centrally
no loss of speeddials, etc... after fw update
Customizing the sccp phone
Phone LogoFor a logo to display on the main screen of the phone, add the logo url in the SEPXXXXXXXXX file.
The format of this file is an xml file that follows the 7960 picture format. Here is a sample:
<?
header("Content-type: text/xml");
header("Expires: -1");
header("Connection: Keep-Alive");
header("Cache-Control: private");
?><CiscoIPPhoneImage>
<LocationX>-1</LocationX>
<LocationY>-1</LocationY>
<Width>90</Width>
<Height>56</Height>
<Depth>2</Depth>
<Data>Data of the picture</Data>
<Title>Your Title</Title>
<Prompt>Your prompt</Prompt>
</CiscoIPPhoneImage>
Here is the line from the SEP file:
<idleURL>http://10.x.x.x/voip-idle.php</idleURL>
And then you can set the time it waits to show it, setting it to 0 likely will not work:
<idleTimeout>10</idleTimeout>
There is a dos exe available from cisco that you can use to create the data portion of the picture.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00801c0764.shtml



Comments
333asterisk connection through sccp
I'd like to know if i can connect through sccp protocol to cisco call manager 3845 (that only support sccp/skinny clients) using asterisk chan_sccp.
I just want to connect softphones client to asterisk via sip protocol and connect asterisk pbx to cisco call manager.
Thanks in advance,
king regards,
cotoneblues.
333chan_sccp with asterisk 1.4.17
I described my setup on <a href="http://southbrain.com/south/">my website</a>.
333chan_sccp with asterisk 1.4.14 and Adrians Patch
333chan_sccp with asterisk 1.4.14 and Adrians Patch
I just moved from Asterisk 1.2 to 1.4.14 and tried to install the chan_sccp drivers. Unfortunately I get the same compiling-errors as mentioned above:
chan_sccp.c: In function ‘reload_config’:
chan_sccp.c:1274: error: incompatible type for argument 1 of ‘ast_inet_ntoa’
chan_sccp.c:1274: error: too many arguments to function ‘ast_inet_ntoa’
chan_sccp.c:1281: error: incompatible type for argument 1 of ‘ast_inet_ntoa’
chan_sccp.c:1281: error: too many arguments to function ‘ast_inet_ntoa’
chan_sccp.c:1285: error: incompatible type for argument 1 of ‘ast_inet_ntoa’
chan_sccp.c:1285: error: too many arguments to function ‘ast_inet_ntoa’
chan_sccp.c:1292: error: incompatible type for argument 1 of ‘ast_inet_ntoa’
chan_sccp.c:1292: error: too many arguments to function ‘ast_inet_ntoa’
I tried the latest version of Adrians patch, but the errors still occure.
Any ideas?
Got one Cisco 7971 and one 7931 for testing purposes and would be glad to get them working.
Thanks
meph
333Chan_sccp & asterisk 1.4.11
I'm using * 1.4.11, when I try to install chan_sccp-20060408.tar.bz2, I also patch chan_sccp2_1.4.4.diff give me some errors.
chan_sccp.c:1481: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1482: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1484: error: ‘struct sccp_global_vars’ has no member named ‘sessions_lock’
chan_sccp.c:1485: error: ‘struct sccp_global_vars’ has no member named ‘devices_lock’
chan_sccp.c:1486: error: ‘struct sccp_global_vars’ has no member named ‘lines_lock’
chan_sccp.c:1487: error: ‘struct sccp_global_vars’ has no member named ‘channels_lock’
chan_sccp.c:1488: error: ‘struct sccp_global_vars’ has no member named ‘usecnt_lock’
chan_sccp.c:1489: error: ‘struct sccp_global_vars’ has no member named ‘lock’
chan_sccp.c: At top level:
chan_sccp.c:1496: error: expected ‘)’ before string constant
Someone can try to guide me please.
333Chan_sccp & asterisk 1.4.11
I'm using * 1.4.11, when I try to install chan_sccp-20060408.tar.bz2, I also patch chan_sccp2_1.4.4.diff give me some errors.
chan_sccp.c:1481: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1482: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1484: error: ‘struct sccp_global_vars’ has no member named ‘sessions_lock’
chan_sccp.c:1485: error: ‘struct sccp_global_vars’ has no member named ‘devices_lock’
chan_sccp.c:1486: error: ‘struct sccp_global_vars’ has no member named ‘lines_lock’
chan_sccp.c:1487: error: ‘struct sccp_global_vars’ has no member named ‘channels_lock’
chan_sccp.c:1488: error: ‘struct sccp_global_vars’ has no member named ‘usecnt_lock’
chan_sccp.c:1489: error: ‘struct sccp_global_vars’ has no member named ‘lock’
chan_sccp.c: At top level:
chan_sccp.c:1496: error: expected ‘)’ before string constant
Someone can try to guide me please.
333Chan_sccp & asterisk 1.4.11
I'm using * 1.4.11, when I try to install chan_sccp-20060408.tar.bz2, I also patch chan_sccp2_1.4.4.diff give me some errors.
chan_sccp.c:1481: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1482: error: ‘struct sccp_global_vars’ has no member named ‘localaddr’
chan_sccp.c:1484: error: ‘struct sccp_global_vars’ has no member named ‘sessions_lock’
chan_sccp.c:1485: error: ‘struct sccp_global_vars’ has no member named ‘devices_lock’
chan_sccp.c:1486: error: ‘struct sccp_global_vars’ has no member named ‘lines_lock’
chan_sccp.c:1487: error: ‘struct sccp_global_vars’ has no member named ‘channels_lock’
chan_sccp.c:1488: error: ‘struct sccp_global_vars’ has no member named ‘usecnt_lock’
chan_sccp.c:1489: error: ‘struct sccp_global_vars’ has no member named ‘lock’
chan_sccp.c: At top level:
chan_sccp.c:1496: error: expected ‘)’ before string constant
Someone can try to guide me please.
333chan_sccp patch with imap voicemail
333Re: Asterisk 1.4.5
333same chan_sccp2 problem cisco 8.0.4 firmware