login | register
Thu 21 of Aug, 2008 [05:59 UTC]

voip-info.org

chan_sccp2

Created by: czmok,Last modification on Mon 05 of May, 2008 [18:00 UTC] by Chaos2000

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



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



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 Logo
For 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

Other Links

Protocol Documentation for sccp

Image


Comments

Comments Filter
222

333asterisk connection through sccp

by cotoneblues, Monday 25 of February, 2008 [15:06:49 UTC]
Hi,
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.
222

333chan_sccp with asterisk 1.4.17

by Finesse, Friday 01 of February, 2008 [13:11:31 UTC]
All my 7960 features are working with chan_sccp-20071213.

I described my setup on <a href="http://southbrain.com/south/">my website</a>.
222

333chan_sccp with asterisk 1.4.14 and Adrians Patch

by mephistho, Friday 23 of November, 2007 [11:12:23 UTC]
- DELETE PLEASE - SORRY FOR MULTIPOSTING -
222

333chan_sccp with asterisk 1.4.14 and Adrians Patch

by mephistho, Friday 23 of November, 2007 [11:10:35 UTC]
Hiho,

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
222

333Chan_sccp & asterisk 1.4.11

by tensk8, Tuesday 18 of September, 2007 [17:50:12 UTC]
Hello

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.

222

333Chan_sccp & asterisk 1.4.11

by tensk8, Tuesday 18 of September, 2007 [17:49:58 UTC]
Hello

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.

222

333Chan_sccp & asterisk 1.4.11

by tensk8, Tuesday 18 of September, 2007 [17:49:39 UTC]
Hello

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.

222

333chan_sccp patch with imap voicemail

by stuart.morgan, Saturday 01 of September, 2007 [23:57:30 UTC]
Has anyone been able to get Adrian's patch working when IMAP voicemail storage is compiled into 1.4.4/1.4.x? Enabling this causes the phones to hang or be unable to register properly...
222

333Re: Asterisk 1.4.5

by UriahHeep, Monday 16 of July, 2007 [17:18:43 UTC]
Apologies to everyone who had trouble with my patch for 1.4.4. The patch was Ok, but back to front. Created in haste and not checked it had to be applied in reverse. I've replaced it with a correct one which I've tested against the latest 1.4.x SVN branch (1.4.7.1). It applies cleanly and works fine on my 7940.
222

333same chan_sccp2 problem cisco 8.0.4 firmware

by revki, Wednesday 04 of July, 2007 [10:46:53 UTC]
   *  REPOST * PLEASE DELETE *