Skip to main content

Step1) Install chan_sccp

You can download the source code from http://chan-sccp-b.sourceforge.net/aboutus.shtml.

Note: For this test I downloaded Chan_SCCP-4.0.0_STABLE.tar.gz  from their website and untarred that under /usr/src

go to the untarred folder and run the following:

./configure
make
make install
Add the following lines to /etc/asterisk/modules.conf

;;;; This is for cisco phones with SCCP
noload => chan_skinny.so
load => chan_sccp.so

Then configure the sccp.conf (in this example extensions 51 & 52 are used)

;================================================= ========================================
;
; general definitions
;
;================================================= ========================================
[general] servername = Polycom
keepalive = 60
debug = 1
context = default
dateformat = D.M.Y
bindaddr = xxx.xxx.xxx.xxx  ; (Asterisk IP)
port = 2000
disallow=all
allow=alaw
allow=ulaw
allow=g729
firstdigittimeout = 16
digittimeout = 8
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=192.168.1.251/255.255.255.255
dnd = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
directed_pickup_modeanswer = on
;hotline_enabled=yes     ;can devices without configuration register
;hotline_context=default     ; context for hotline
;hotline_extension=111     ; extension will be dialed on offHook

;================================================= ========================================
;
; actual definitions
;
;================================================= ========================================
[SEP000XXXXXXXXXX] description = Polycom
;addon = 7914
devicetype = 7937
park = off
button = line, 51 ; Assign Line 51 to Device
button = line, 52 ; Assign Line 52 to Device
button = speeddial,Test, 51     ; Add SpeedDial to Phone Wiebke
button = speeddial,SPA525G2, 21     ; Add SpeedDial to Phone SPA525G2
button = speeddial,Wohnzimmer, 41     ; Add SpeedDial to Phone Wohnzimmer
button = speeddial,Keller, 31     ; Add SpeedDial to Phone Keller
cfwdall = off
type = device
keepalive = 60
;tzoffset = +2
transfer = on
park = on
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
directed_pickup = on
directed_pickup_context = default
directed_pickup_modeanswer = on
dtmfmode = inband
deny=0.0.0.0/0.0.0.0
permit=192.168.1.251/255.255.255.255
dndFeature = on
nat=on
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
cfwdall = on

[51] id = 51
type = line
pin = 1234
label = Line 1
description = Line 51
mailbox = 51
cid_name = Conf1
cid_num = 51
accountcode=51
callgroup=1,3-4
pickupgroup=1,3-5
;amaflags =
context = from-internal    ; internal in der extensions.conf
incominglimit = 2
transfer = on
vmnum = 600
meetme = on
meetmeopts = qxd
meetmenum = 700
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=en
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
dnd = on

[52] id = 52
type = line
pin = 4356
label = dusnet
description = Line 52
mailbox = 52
cid_name = Conf2
cid_num = 52
accountcode=52
callgroup=1,4-9
pickupgroup=1,3-9
echocancel = off
context = internal    ; internal in extensions.conf
incominglimit = 2
transfer = on
vmnum = 600
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=en
echocancel = on
silencesuppression = off
silencesuppression = on
dnd = on

And last, enable the extensions on extensions_additional.conf:

exten => 51,1,SetCalledParty(Polycom <51>)
exten => 51,2,Dial(SCCP/51)
exten => 51,3,Voicemail,u51