Skip to content

Instantly share code, notes, and snippets.

/chan_dahdi.conf Secret

Created July 8, 2014 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b5411dab7c0ce5ac7abd to your computer and use it in GitHub Desktop.
Save anonymous/b5411dab7c0ce5ac7abd to your computer and use it in GitHub Desktop.
Asterisk Conf
[trunkgroups]
[channels]
;context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
;hidecallerid=no
;callwaiting=yes
;usecallingpres=yes
;callwaitingcallerid=yes
;threewaycalling=yes
;transfer=yes
;canpark=yes
;cancallforward=yes
;callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;faxdetect=incoming
;echotraining=800
rxgain=15.0
txgain=3.0
;callgroup=1
;pickupgroup=1
cidsignalling=v23
cidstart=polarity
relaxdtmf=yes
progzone=uk
;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3
;busypattern=50,50
callprogress=yes
immediate=no
hanguponpolarityswitch=no
answeronpolarityswitch=no
#include dahdi-channels.conf
; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
;callerid=asreceived
group=0
context=from-pstn
callprogress=yes
channel => 1
callerid=asrecieved
group=0
context=default
# options wctdm24xxp latency=6
options wctdm opermode=UK debug=3 fwringdetect=1 battthresh=4
install wctdm /sbin/modprobe --ignore-install wctdm && /usr/sbin/dahdi_cfg
[ 1561.084853] Card 1: Voltage: 51 Debounce 0
[ 1562.687675] Card 1: Voltage: 51 Debounce 0
[ 1564.292087] Card 1: Voltage: 50 Debounce 0
[ 1565.896926] Card 1: Voltage: 6 Debounce 0
[ 1567.499384] Card 1: Voltage: 7 Debounce 0
[ 1569.104078] Card 1: Voltage: 7 Debounce 0
[ 1570.706907] Card 1: Voltage: 7 Debounce 0
[ 1572.311262] Card 1: Voltage: 7 Debounce 0
[ 1573.916030] Card 1: Voltage: 7 Debounce 0
[ 1575.518398] Card 1: Voltage: 9 Debounce 0
[ 1577.123146] Card 1: Voltage: 7 Debounce 0
[ 1578.726007] Card 1: Voltage: 7 Debounce 0
[ 1580.330317] Card 1: Voltage: 7 Debounce 0
[ 1581.935085] Card 1: Voltage: 7 Debounce 0
[ 1583.537608] Card 1: Voltage: 7 Debounce 0
[ 1585.142337] Card 1: Voltage: 7 Debounce 0
[ 1586.744925] Card 1: Voltage: 7 Debounce 0
[ 1588.349549] Card 1: Voltage: 6 Debounce 0
[ 1589.954114] Card 1: Voltage: 7 Debounce 0
[ 1591.556873] Card 1: Voltage: 7 Debounce 0
[ 1593.161345] Card 1: Voltage: 7 Debounce 0
[ 1594.764143] Card 1: Voltage: 7 Debounce 0
[ 1596.368576] Card 1: Voltage: 50 Debounce 0
[ 1597.973313] Card 1: Voltage: 50 Debounce 0
[ 1599.575667] Card 1: Voltage: 51 Debounce 0
[ 1601.180450] Card 1: Voltage: 51 Debounce 0
[ 1602.782121] Card 1: Voltage: 51 Debounce 0
[ 1604.386788] Card 1: Voltage: 50 Debounce 0
[ 1605.991251] Card 1: Voltage: 51 Debounce 0
[ 1607.594084] Card 1: Voltage: 50 Debounce 0
# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxsks=1
echocanceller=mg2,1
# channel 2, WCTDM/4/1, no module.
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.
# Global data
loadzone = uk
defaultzone = uk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment