Chan-SCCP-b Konfigurationsbeispiel

Diese Konfiguration soll nur ein Beispiel sein wie eine sccp.conf aussehen kann, in diesem Beispiel gibt es eine Cisco CP-7941 und den Account mit der Nummer 100.

{sccp-conf}

;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
servername = Asterisk
keepalive = 60
debug = 10
context = from-internal
dateformat = D.M.Y
bindaddr = 0.0.0.0
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=de
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
dnd = on
echocancel = on
silencesuppression = off
trustphoneip = no
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
private = on
callanswerorder=oldestfirst
protocolversion=20


;=========================================================================================
;
; device template definitions
;
;=========================================================================================
[defaultdevice](!)
type = device
keepalive = 60
tzoffset = +0
transfer = on
park = on
cfwdall = off
cfwdbusy = off
cfwdnoanswer = off
pickupexten = on
pickupcontext = from-internal
pickupmodeanswer = on
dtmfmode = inband
dnd = on
trustphoneip = no
nat=off
directrtp=off
earlyrtp = progress
private = on
mwilamp = on
mwioncall = off
setvar=testvar=value

[7941](!,defaultdevice)
devicetype = 7941
transfer = on
park = on
cfwdall = on

;=========================================================================================
;
; line template definitions
;
;=========================================================================================
[defaultline](!)
type = line
context = from-internal
incominglimit = 2
transfer = on
vmnum = *97
meetme = on
meetmeopts=qxd
meetmenum=700
trnsfvm = 1000
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=de
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off


;=========================================================================================
;
; actual definitions
;
;=========================================================================================
;
; CP-7941 Wohnzimmer
;
[SEP00XXXXXXXXXX](7941)
description = Wohnzimmer
button = line, 100
button = empty
cfwdall = on
;=========================================================================================
;
; line definitions
;
;=========================================================================================
;=========================================================================================
; Wohnzimmer
;=========================================================================================
[100](defaultline)
id = 10100
pin = 1234
label = Wohnzimmer
description = Wohnzimmer
mailbox = 100
cid_name = Wohnzimmer
cid_num = 100
accountcode=79100
callgroup=1
pickupgroup=1
;amaflags =
setvar=testvar2=my value