From: Diederik de Groot Date: Mon, 16 Mar 2015 16:33:29 +0000 (+0100) Subject: Update sccp.conf X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=3fee96af1ab7747fad24bbc4a884627a0b133104;p=feed%2Ftelephony.git Update sccp.conf Fixing binaddr Removing unnecessary bindaddr Removing protocolversion Adding a couple more sample entries in device and line --- diff --git a/net/chan-sccp-b/files/sccp.conf b/net/chan-sccp-b/files/sccp.conf index 0317b96..5aa96af 100644 --- a/net/chan-sccp-b/files/sccp.conf +++ b/net/chan-sccp-b/files/sccp.conf @@ -4,8 +4,7 @@ keepalive = 60 debug = core context = default dateformat = D/M/Y -binaddr = :: -bindaddr = 192.168.1.1 +bindaddr = :: port = 2000 disallow = all allow = ulaw @@ -14,11 +13,14 @@ allow = gsm firstdigittimeout = 16 digittimeout = 6 autoanswer_ring_time = 1 +transfer_on_hangup = off musicclass = default language = en deny = 0.0.0.0/0.0.0.0 permit = internal -protocolversion = 17 +dndFeature = on +echocancel = off +silencesuppression = off hotline_enabled = yes hotline_context = default @@ -27,10 +29,20 @@ hotline_extension = 111 [SEP001122334455] type = device description = Phone Number One -devicetype = 7940 +devicetype = 7970 +#addon = 7915, 7915 button = line, 111 button = line, 113@01:shared button = speeddial,Phone 2 Line 1, 112, 112@hint +deny = 0.0.0.0/0.0.0.0 +permit = internal +disallow = all +#allow = g722 +#allow = g729 +allow = ulaw +allow = alaw +allow = gsm +directrtp = on [SEP00a1a2a3a4a5] type = device @@ -39,11 +51,13 @@ devicetype = 7960 button = line, 112 button = line, 113@01:shared button = speeddial,Phone 1 Line 1, 111, 111@hint +directrtp = on [111] id = 1000 type = line pin = 1234 +context = default label = Phone 1 Line 1 description = Line 111 mailbox = 10111 @@ -61,23 +75,25 @@ trnsfvm = 1000 id = 1001 type = line pin = 1234 +context = default label = Phone 2 Line 1 description = Line 112 mailbox = 10112 cid_name = Phone 2 CID cid_num = 112 accountcode=79112 -callgroup=1 -pickupgroup=1 +callgroup=1,2 +pickupgroup=1,2 context = default -incominglimit = 2 +incominglimit = 4 vmnum = 600 trnsfvm = 1000 [113] id = 1002 type = line -pin = 1234 +pin = 5522 +context = default label = SharedLine 1 description = Line 113 mailbox = 10113 @@ -85,6 +101,8 @@ cid_name = Shared cid_num = 113 accountcode=79113 incominglimit = 2 +callgroup=2 +pickupgroup=2 vmnum = 600 trnsfvm = 1000 - +dnd = silent