aboutsummaryrefslogtreecommitdiff
path: root/asterisk-conf/sccp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk-conf/sccp.conf')
-rw-r--r--asterisk-conf/sccp.conf182
1 files changed, 182 insertions, 0 deletions
diff --git a/asterisk-conf/sccp.conf b/asterisk-conf/sccp.conf
new file mode 100644
index 0000000..4c94ef0
--- /dev/null
+++ b/asterisk-conf/sccp.conf
@@ -0,0 +1,182 @@
+;=========================================================================================
+;
+; general definitions
+;
+;=========================================================================================
+[general]
+debug = core, config, action, socket, device, line, channel
+servername = Asterisk
+keepalive = 60
+context = default
+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 = Zip
+remotehangup_tone = Zip
+transfer=on
+transfer_tone = 0
+transfer_on_hangup = off
+dnd_tone = 0x0
+callwaiting_tone = Call Waiting Tone
+musicclass=default
+language=en
+deny=0.0.0.0/0.0.0.0
+permit=internal ; 'internal' is automatically converted to these private cidr address:
+ ; 127.0.0.0/255.0.0.0, 10.0.0.0/255.0.0.0,
+ ; 172.0.0.0/255.224.0.0, 192.168.0.0/255.255.0.0
+;permit=192.168.1.0/255.255.255.0
+localnet = internal ; (MULTI-ENTRY) All RFC 1918 addresses are local networks, example '192.168.1.0/255.255.255.0'
+;externip = 77.44.22.33 ; External IP Address of the firewall, required in case the PBX is running on a seperate host behind it. IP Address that we're going to notify in RTP media stream as the pbx source address.
+dndFeature = 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
+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
+;
+;=========================================================================================
+[SEP001BD4C70670]
+description = Cisco estudio
+addon = 7941
+devicetype = 7941
+park = off
+button = speeddial, IVR, 2000, 1101@hints ; Add SpeedDial to Helpdesk
+button = line, 1101, default ; Assign Line 1101 to Device and use this as default line
+button = empty ; Assign an Empty Button
+button = line, 1102 ; Assign Line 1102 to Device
+button = speeddial, ATA A p1, 1001, 1001@hints ; Add SpeedDial to Phone Number Two Line 1 (button labels allow special characters like 'é')
+cfwdall = off
+type = device
+keepalive = 60
+;tzoffset = +2
+transfer = on
+park = on
+cfwdall = off
+cfwdbusy = off
+cfwdnoanswer = off
+deny=0.0.0.0/0.0.0.0
+permit=192.168.0.0/255.255.0.0
+dndFeature = on
+dnd = off
+directrtp=off
+earlyrtp = progress
+private = on
+mwilamp = on
+mwioncall = off
+setvar=testvar=value
+cfwdall = on
+
+[1101]
+id = 1101
+type = line
+;pin = 1234
+label = Cisco estudio
+description = 1101 estudio
+mailbox = 1101
+cid_name = 1101
+cid_num = 1101
+accountcode=1101
+;callgroup=1,3-4
+;pickupgroup=1,3-5
+directed_pickup = on
+directed_pickup_context = ""
+pickup_modeanswer = on
+;amaflags =
+context = from-internal
+incominglimit = 2
+transfer = on
+vmnum = 2003
+meetme = on
+meetmeopts = qxd
+meetmenum = 700
+trnsfvm = 1000
+secondary_dialtone_digits = 9
+secondary_dialtone_tone = Outside Dial Tone
+musicclass=default
+language=en
+echocancel = on
+silencesuppression = off
+setvar=testvar2=my value
+dnd = reject
+parkinglot = myparkspace
+
+[1102]
+id = 1102
+type = line
+;pin = 1102
+label = Cisco estudio 2
+description = 1102 estudio
+mailbox = 1102
+cid_name = 1102
+cid_num = 1102
+accountcode=1102
+;callgroup=1,4-9
+;pickupgroup=1,3-9
+directed_pickup = on
+directed_pickup_context = "another"
+pickup_modeanswer = on
+echocancel = off
+context = from-internal
+incominglimit = 2
+transfer = on
+vmnum = 600
+trnsfvm = 1000
+secondary_dialtone_digits = 9
+secondary_dialtone_tone = Outside Dial Tone
+musicclass=default
+language=en
+echocancel = on
+silencesuppression = off
+silencesuppression = on
+dnd = silent
+
+
+
+
+
+;-----------------------------------------------------------------------------------
+;create a user defined softkeyset
+; - if not softkey is not specified in device the chan-sccp-b default mapping will be used
+; - multiple softkeysets are possible
+;
+;valid softkeys:
+;redial, newcall, cfwdall, cfwdbusy, cfwdnoanswer, pickup, gpickup, conflist, dnd, hold, endcall, park, select
+;idivert, resume, newcall, transfer, dirtrfr, answer, transvm, private, meetme, barge, cbarge, conf, back, join, empty, dial, vidmode
+
+; using this softkey set on the 69xx phones solves transfer issues using the
+; hard key on the phone.
+[69xxsoftkeys]
+type=softkeyset
+onhook=redial,newcall,cfwdall,dnd,pickup,gpickup,private
+offhook=redial,endcall,cfwdall,dnd,pickup,gpickup,private
+offhookfeat=redial,endcall
+digitsfoll=back,endcall,dial
+ringout=empty,endcall,transfer
+connected=hold,endcall,transfer,idivert,conf,conflist,park,monitor,vidmode
+conntrans=empty,endcall,transfer,monitor
+connconf=hold,endcall,conf,conflist,join,vidmode,monitor
+onhold=resume,newcall,endcall,idivert
+ringin=answer,idivert
+onhint=barge,newcall,redial,pickup,gpickup
+onstealable=redial,newcall,cfwdall,pickup,gpickup,dnd,intrcpt
+holdconf=resume,newcall,endcall,join