Good morning all,
Though I’ve been playing around with asterisk for some time, this is the first time I’m actually attempting to run an entire system on my own. I’m having some trouble setting up the T1 connection. The card is a Digium TE205P and we are using only one port.
The provider sent me the following info:
Line code: B8ZS
Frame: ESF
Start Sig: Wink
Pulse type: DTMF
The first strange thing I noticed when trying to set up DAHDI in FreePBX was that the GUI was showing 24 Channels used/23 Total, but the documentation showed a T1 with 24 Used/24 Total.
When I checked /etc/dahdi/system.conf, I see the following:
span=1,1,0,ESF,B8ZS
span=2,0,0,ESF,B8ZS
e&m=1-2325-48
echocanceller=oslec,1-2325-48
loadzone=us
defaultzone=us
Figured something was wrong here. If I manually edit this file and restart dahdi, calls can go in and out, however, we start to get LOADS of ghost calls.
Problem is, if I make any changes in the GUI and apply, it wipes anything I’ve changed. So i’m not sure how to fix that line within the GUI
Please help!
For reference:
/etc/asterisk/chan_dahdi.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. ;
;--------------------------------------------------------------------------------;
[general]
; generated by module
#include chan_dahdi_general.conf
; for user additions not provided by module
#include chan_dahdi_general_custom.conf
[channels]
language=en
busydetect=no
busycount=5
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=yes
faxdetect=no
rxgain=0.0
txgain=0.0
callprogress=no
; for user additions not provided by module
#include chan_dahdi_channels_custom.conf
; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf
/etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Oct 23 09:21:49 2017
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: TE2/0/1 “T2XXP (PCI) Card 0 Span 1” (MASTER) ESF/B8ZS ClockSource
group=0,11
context=from-pstn
switchtype=national
signalling=em_w
channel => 1-24
; context=from-analog
group = 63
; Span 2: TE2/0/2 “T2XXP (PCI) Card 0 Span 2” ESF/B8ZS RED
; group=0,12
; context=from-pstn
; switchtype = national
; signalling = pri_cpe
; channel => 25-47
; context=from-analog
; group = 63