Hi Everyone,
I’m trying to connect analog phones to my channel bank. Previously, I was using Trixbox on Asterisk 1.6 with this same card, but I no longer have that hard drive and don’t remember what I did 10+ years ago. I also have some IP phones, but I want to use this channel bank to have it support some older phones in my home that are on a 1A2 key system and have rotary dials, so I need pulse dialing support. I have been told the FreePBX GUI does not support this well, so I’m configuring the files by hand, except to generate the extension which I used the GUI for. The Adtran is connected on port 1 of the card, and I’m not currently using the other 3 ports.
The Adtran is populated with 5 cards, each having 4 ports. Card 1 is FXS (channels 1-4), card 2 is FXO (channels 5-8), and the other 3 cards are FXS (channels 9-20). Currently, when I have a phone in, it rings continuously. There are no alarms on the channel bank and the light on the TE405P is green. When I pick up the phone, it has battery but no dial tone. Here are my config files and some other output:
; PBX in a Flash shortened version
; 102510 - TAK
;
;Original version is /etc/asterisk/chan_dahdi.conf.org
;
; DAHDI Telephony Configuration file
;
; You need to restart Asterisk to re-configure the DAHDI channel
; CLI> module reload chan_dahdi.so
; will reload the configuration file, but not all configuration options
; are re-configured during a reload (signalling, as well as PRI and
; SS7-related settings cannot be changed on a reload).
;
; This file documents many configuration variables. Normally unless you know
; what a variable means or that it should be changed, there's no reason to
; un-comment those lines.
;
; Examples below that are commented out (those lines that begin with a ';' but
; no space afterwards) typically show a value that is not the default value,
; but would make sense under certain circumstances. The default values are
; usually sane. Thus you should typically not touch them unless you know what
; they mean or you know you should change them.
;
;
[trunkgroups]
; Trunk groups are used for NFAS connections.
;
; Group: Defines a trunk group.
; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...]
;
; trunkgroup is the numerical trunk group to create
; dchannel is the DAHDI channel which will have the
; d-channel for the trunk.
; backup1 is an optional list of backup d-channels.
;
;trunkgroup => 1,24,48
;trunkgroup => 1,24
;
; Spanmap: Associates a span with a trunk group
; spanmap => <dahdispan>,<trunkgroup>[,<logicalspan>]
;
; dahdispan is the DAHDI span number to associate
; trunkgroup is the trunkgroup (specified above) for the mapping
; logicalspan is the logical span number within the trunk group to use.
; if unspecified, no logical span number is used.
;
;
;
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=no ;Was yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
#include dahdi-channels.conf
context=from-internal
signalling=fxo_ks
language=us
group=1
callgroup=1
pickupgroup=1
echocancel=yes
immediate=no
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancelwhenbridged=yes
musiconhold=default
channel => 1-4,9-20
;Include AMP configs
#include chan_dahdi_additional.conf
#include chan_dahdi_additional-custom.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
;;;;;;[2500]
accountcode=
busycount=7
busydetect=no
callerid=(name omitted online) <2500>
callprogress=no
context=from-internal
echocancel=yes
echocancelwhenbridged=no
echotraining=800
immediate=no
namedcallgroup=
namedpickupgroup=
signalling=fxo_ks
channel=>1
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 8 16:49:41 2016
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCT1/0 "Digium Wildcard TE405P T1/E1 Card 0" (MASTER)
span=1,0,0,esf,b8zs
fxoks=1-4,9-20
fxsks=5-8
echocanceller=mg2,1-20
# Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
#fxoks=25
#echocanceller=mg2,25
#fxoks=26
#echocanceller=mg2,26
#fxsks=27
#echocanceller=mg2,27
#fxsks=28
#echocanceller=mg2,28
# Global data
loadzone = us
defaultzone = us```
This is the CLI output from dahdi show channels
![show_channels|690x292](upload://rtsZfTJCJPfk727xlxhBjV1NtTy.png)
Can anyone please assist me? I don't know what is wrong.