Need help with E1 configuration

wingshooter25

Joined
Jan 1, 2011
Messages
2
Likes
0
Points
0
#1
I am not able to get my TE122 to recognize the the network when I plug the E1 cable in. I do not believe the default configuration matches what my provider is sending, but I am not sure. The current dahdi-channel.conf is as follows:

; Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

The provider sent me the following describing the setup of the E1 line.

controller E1 0/2/0
pri-group timeslots 1-16

Global ISDN Switchtype = primary-qsig
ISDN Serial0/2/0:15 interface

******* Network side configuration *******
dsl 0, interface ISDN Switchtype = primary-qsig
**** Master side configuration ****
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
1 Active Layer 3 Call(s)
CCB:callid=1BF0, sapi=0, ces=0, B-chan=7, calltype=VOICE
Active dsl 0 CCBs = 1
Total Allocated ISDN CCBs = 1

Can I just change the switchtype to qsig? I would greatly appreciate any advice or help that can be offered.

Thanks.
 

wingshooter25

Joined
Jan 1, 2011
Messages
2
Likes
0
Points
0
#2
Here is some more information. The E1 line is sent from a router provided by a satellite service provider. The PBX currently in us is a NexSpan. It is configured to work with the settings provided in the previous post. We are replacing it with the one mentioned in this topic. Asterisk 1.6.2.1 and Elastix is installed on it. Below is information and configuration about the dahdi set up and the cards installed. Please let me know if there are any obvious mistakes because this is my first time using this type of PBX and I am not an expert in telecommunications.

When I make an outbound call I receive the message: unable to create channel type dahdi (cause 0-unkown) and all circuits are busy.

I am beginning to question the hardware (TE122) because I never get anything but a flashing red indicator. When I inserted a loopback connector, there was no change in the status light.


Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
Wildcard TE122 Card 0 RED 23 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
Wildcard TDM800P Board 1 OK 23 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)


DAHDI Version: 2.2.0.2 Echo Canceller: OSLEC

Asterisk 1.6.2.1




chan_dahdi.conf

;Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1

[channels]

context=from-zaptel
switchtype=qsig
signalling=pri_net
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=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3

immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf





dahid-chan.conf

; Autogenerated by /usr/sbin/dahdi_genconf on Sun Jan 2 09:24:56 2011
; 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: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
group=0,11
context=from-zaptel
switchtype = qsig
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

; Span 2: WCTDM/0 "Wildcard TDM800P Board 1"
;;; line="32 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 32
callerid=
group=
context=default

;;; line="33 WCTDM/0/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 33
callerid=
group=
context=default

;;; line="34 WCTDM/0/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 34
callerid=
group=
context=default

;;; line="35 WCTDM/0/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 35
callerid=
group=
context=default

;;; line="36 WCTDM/0/4 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 36
callerid=
group=
context=default

;;; line="37 WCTDM/0/5 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 37
callerid=
group=
context=default

;;; line="38 WCTDM/0/6 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 38
callerid=
group=
context=default

;;; line="39 WCTDM/0/7 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 39
callerid=
group=
context=default



zapata.conf

;# Flash Operator Panel will parse this file for zap trunk buttons
;# AMPLABEL will be used for the display labels on the buttons

;# %c Zap Channel number
;# %n Line number
;# %N Line number, but restart counter
;# Example:
;# ;AMPLABEL:Channel %c - Button %n

;# For Zap/* buttons use the following
;# (where x=number of buttons to dislpay)
;# ;AMPWILDCARDLABEL(x):MyLabel

[channels]
language=en

; include zap extensions defined in AMP
#include zapata_additional.conf
#include zapata-channels.conf

; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
context=from-zaptel
signalling=pri_cpe
faxdetect=incoming
usecallerid=yes
;echocancel=yes
echocancelwhenbridged=no
;echotraining=800
group=0
channel=1-2


Here is what happens when an outbound call is placed (Inbound calls are not working either):

Macro("SIP/101-00000001", "dialout-trunk,15,18004877646,,") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/101-00000001", "DIAL_TRUNK=15") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/101-00000001", "0?sub-pincheck,s,1") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/101-00000001", "0?disabletrunk,1") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/101-00000001", "DIAL_NUMBER=18004877646") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/101-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/101-00000001", "OUTBOUND_GROUP=OUT_15") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/101-00000001", "0?nomax") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/101-00000001", "0?chanfull") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/101-00000001", "0?skipoutcid") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/101-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/101-00000001", "outbound-callerid,15") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/101-00000001", "0?Set(CALLERPRES()=)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/101-00000001", "0?Set(REALCALLERIDNUM=OceanCourage)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/101-00000001", "1?normcid") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/101-00000001", "USEROUTCID=") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/101-00000001", "EMERGENCYCID=") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/101-00000001", "TRUNKOUTCID=<Ocean Courage>") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/101-00000001", "1?trunkcid") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Goto (macro-outbound-callerid,s,12)
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/101-00000001", "1?Set(CALLERID(all)=<Ocean Courage>)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/101-00000001", "0?Set(CALLERID(all)=)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/101-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/101-00000001", "0?AGI(fixlocalprefix)") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/101-00000001", "OUTNUM=18004877646") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/101-00000001", "custom=DAHDI/6") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/101-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/101-00000001", "dialout-trunk-predial-hook,") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/101-00000001", "") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/101-00000001", "0?bypass,1") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/101-00000001", "0?customtrunk") in new stack
[Jan 2 23:27:02] VERBOSE[3632] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/101-00000001", "DAHDI/6/18004877646,300,") in new stack
[Jan 2 23:27:02] WARNING[3632] app_dial.c: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
[Jan 2 23:27:02] VERBOSE[3632] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top