; (SCCP*)
;
; An implementation of Skinny Client Control Protocol (SCCP)
;
; Sergio Chersovani (
[email protected])
;
http://chan-sccp.belios.de
;
[general]
servername = Asterisk ; show this name on the device registration
keepalive = 60 ; phone keep alive message evey 60 secs. Used to check the voicemail
debug = 1 ; console debug level. 1 => 10
context = lokal
dateFormat = D.M.Y ; M-D-Y in any order. Use M/D/YA (for 12h format)
bindaddr = 0.0.0.0 ; replace with the ip address of the asterisk server (RTP important param)
port = 2000 ; listen on port 2000 (Skinny, default)
disallow=all ; First disallow all codecs
allow=alaw ; Allow codecs in order of preference
allow=ulaw ;
allow=g729 ;
firstdigittimeout = 16 ; dialing timeout for the 1st digit
digittimeout = 8 ; more digits
digittimeoutchar = # ; you can force the channel to dial with this char in the dialing state
autoanswer_ring_time = 1 ; ringing time in seconds for the autoanswer, the default is 0
autoanswer_tone = 0x32 ; autoanswer confirmation tone. For a complete list of tones: grep SKINNY_TONE sccp_protocol.h
; not all the tones can be played in a connected state, so you have to try.
remotehangup_tone = 0x32 ; passive hangup notification. 0 for none
transfer_tone = 0 ; confirmation tone on transfer. Works only between SCCP devices
callwaiting_tone = 0x2d ; sets to 0 to disable the callwaiting tone
musicclass=default ; Sets the default music on hold class
language=de ; Default language setting
;callevents=no ; generate manager events when phone
; performs events (e.g. hold)
;accountcode=skinny ; accountcode to ease billing
deny=0.0.0.0/0.0.0.0 ; Deny every address except for the only one allowed.
permit=192.168.2.0/255.255.255.0 ; Accept class C 192.168.1.0
; You may have multiple rules for masking traffic.
; Rules are processed from the first to the last.
; This General rule is valid for all incoming connections. It's the 1st filter.
localnet = 192.168.2.0/255.255.255.0 ; All RFC 1918 addresses are local networks
;externip = 1.2.3.4 ; IP Address that we're going to notify in RTP media stream
externhost = beerlesklopfer.dyndns.org ; Hostname (if dynamic) that we're going to notify in RTP media stream
; externrefresh = 60 ; expire time in seconds for the hostname (dns resolution)
dnd = on ; turn on the dnd softkey for all devices. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
rtptos = 184 ; sets the default rtp packets TOS
echocancel = on ; sets the phone echocancel for all devices
silencesuppression = off ; sets the silence suppression for all devices
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for all lines
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for all lines
;amaflags = ; Sets the default AMA flag code stored in the CDR record
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
tos = 0x68 ; call control packets tos (0x68 Assured forwarding)
;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = on ; permit the private function softkey
privacy = full ; full = disable hints notification on devices, on = hints showed depending on private key, off = hints always showed
;mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
;mwioncall = off ; Set the MWI on call.
;blindtransferindication = ring ; moh or ring. the blind transfer should ring the caller or just play music on hold
;protocolversion = 3 ; skinny version protocol. Just for testing. 0 to 11
;cfwdall = off ; activate the callforward ALL stuff and softkeys
;cfwdbusy = off ; activate the callforward BUSY stuff and softkeys
;cfwdnoanswer = off ; activate the callforward NOANSWER stuff and softkeys
;devicetable=sccpdevice ;datebasetable for devices
;linetable=sccpline ;datebasetable for lines
;nat=on ; Global NAT support (default Off)
;directrtp=on ; This option allow devices to do direct RTP sessions (default Off)
;allowoverlap=on ; Enable overlap dialing support. (Default is off)
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
;jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
; sccp channel. Defaults to "no". An enabled jitterbuffer will
; be used only if the sending side can create and the receiving
; side can not accept jitter. The sccp channel can accept
; jitter, thus a jitterbuffer on the receive sccp side will be
; used only if it is forced and enabled.
;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a sccp
; channel. Defaults to "no".
;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
; resynchronized. Useful to improve the quality of the voice, with
; big jumps in/broken timestamps, usually sent from exotic devices
; and programs. Defaults to 1000.
;jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a
; sccp channel. Two implementations are currently available
; - "fixed" (with size always equals to jbmaxsize)
; - "adaptive" (with variable size, actually the new jb of IAX2).
; Defaults to fixed.
;jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------
[devices]
type = 7940 ; device type (see below)
autologin = 32 ; lines list. You can add an empty line for an empty button (7960, 7970, 7940, 7920)
description = Cisco 7940 ; internal description. Not important
;keepalive = 60 ; set 0 to disable the keepalive check.
;tzoffset = +2
transfer = on ; enable or disable the transfer capability. It does remove the transfer softkey
park = on ; take a look to the compile howto. Park stuff is not compiled by default
speeddial = 00000000000,Eugenia ; you can add an empty speedial if you want an empty button (7960, 7970, 7920)
speeddial = 0000000000000000,Beerchen
serviceURL =
http://server/openxmldir/PhoneUI/index.php
cfwdall = off ; activate the callforward stuff and softkeys
cfwdbusy = off
cfwdnoanswer = off
pickupexten = off ; enable Pickup function to direct pickup an extension
;pickupcontext = sccp ; context where direct pickup search for extensions. if not set it will be ignored.
pickupmodeanswer = on ; on = asterisk way, the call has been answered when picked up
; off = call manager way, the phone who picked up the call rings the call
dtmfmode = inband ; inband or outofband. outofband is the native cisco dtmf tone play.
; Some phone model does not play dtmf tones while connected (bug?), so the default is inband
imageversion = P00308000800 ; useful to upgrade old firmwares (the ones that do not load *.xml from the tftp server)
deny=0.0.0.0/0.0.0.0 ; Same as general
permit=192.168.2.5/255.255.255.255 ; This device can register only using this ip address
dnd = on ; turn on the dnd softkey for this device. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent) or user to toggle on phone
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
nat=off ; Device NAT support (default Off)
;directrtp=on ; This option allow devices to do direct RTP sessions (default Off)
;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = off ; permit the private function softkey for this device
privacy = off ; full = disable hints notification on devices, on = hints showed depending on private key, off = hints always showed
mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
;mwioncall = off ; Set the MWI on call.
;setvar=testvar=value
device => SEP000427E6A061 ; device name SEP<MAC>
; ######################### 7920 Telefon 1 #########################
type = 7920
autologin = 30,31,
description = Cisco 7920
;keepalive = 60
;tzoffset = +2
transfer = on
park = on
speeddial = 0000000000000,Eugenia
speeddial = 0000000000000,HandlingTech
serviceURL =
http://server/openxmldir/PhoneUI/index.php
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
pickupexten = off
;pickupcontext = sccp
pickupmodeanswer = on
dtmfmode = inband
;imageversion = P00405000700
dnd = on
trustphoneip = no
;earlyrtp = none
private = on
privacy = full
;mwilamp = on
;mwioncall = off
;setvar=testvar=value
device => SEP001280A7A6A3
; ######################### 7920 Telefon 2 #########################
type = 7920
autologin = 33
description = Cisco 7920
;keepalive = 60
;tzoffset = +2
transfer = on
park = on
speeddial = 0000000000000,Eugenia
serviceURL =
http://server/openxmldir/PhoneUI/index.php
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
pickupexten = off
;pickupcontext = sccp
pickupmodeanswer = on
dtmfmode = inband
imageversion = P00405000700
dnd = on
trustphoneip = no
;earlyrtp = none
private = on
privacy = full
;mwilamp = on
;mwioncall = off
;setvar=testvar=value
device => SEP0019302F31F0
[lines]
; Jörgs Line
id = 1000 ; future use
pin = 1234 ; future use
label = Beerchen ; button line label (7960, 7970, 7940, 7920)
description = Zentrale ; top diplay description
context = lokal
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 30 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = 55 ; speeddial for voicemail administration, just a number to dial
meetmenum = 700 ; this extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
; contain the room number dialed into simpleswitch.
cid_name = Jörg Bernau ; caller id name
cid_num = 30
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=de ; Default language setting
;accountcode=79501 ; accountcode to ease billing
rtptos = 184 ; sets the the rtp packets TOS for this line
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
;setvar=testvar2=value
line => 30
; Eugenias Line
id = 1000 ; future use
pin = 1234 ; future use
label = Eugenia ; button line label (7960, 7970, 7940, 7920)
context = lokal
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 31 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = 55 ; speeddial for voicemail administration, just a number to dial
meetmenum = 700 ; this extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
; contain the room number dialed into simpleswitch.
cid_name = Eugenia Strohmaier ; caller id name
cid_num = 31
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=de ; Default language setting
;accountcode=79621 ; accountcode to ease billing
rtptos = 184 ; sets the the rtp packets TOS for this line
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
;setvar=testvar2=value
line => 31
; Tischapperat Jörgs Schreibtisch
id = 1000 ; future use
pin = 1234 ; future use
label = Beerchen ; button line label (7960, 7970, 7940, 7920)
context = lokal
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 30 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = 55 ; speeddial for voicemail administration, just a number to dial
meetmenum = 700 ; this extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
; contain the room number dialed into simpleswitch.
cid_name = J. Bernau ; caller id name
cid_num = 32
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=de ; Default language setting
;accountcode=79621 ; accountcode to ease billing
rtptos = 184 ; sets the the rtp packets TOS for this line
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
;setvar=testvar2=value
line => 32
; Gast
id = 1000 ; future use
pin = 1234 ; future use
label = Eugenia ; button line label (7960, 7970, 7940, 7920)
context = lokal
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 33 ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = 55 ; speeddial for voicemail administration, just a number to dial
meetmenum = 700 ; this extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
; contain the room number dialed into simpleswitch.
cid_name = Eugenia Strohmaier ; caller id name
cid_num = 33
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=de ; Default language setting
;accountcode=79621 ; accountcode to ease billing
rtptos = 184 ; sets the the rtp packets TOS for this line
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
;setvar=testvar2=value
line => 33