I am trying to connect two machines to each other with an T1 crossover cable. The first machine has two TE120P cards - one connecting to the telco on an ISDN PRI. The second to a crossover T1 cable to a second machine which has one TE120P card.
<br><br> Telco <-cA-> Machine1 <-cB-> Machine2<br><br> Machine1: Two TE120P cards<br> Machine2: One TE120P card<br> cA: Standard T1 Cable<br> cB: Crossover T1 Cable<br><br>Configuration files are included at the end of this message.
<br><br>I have used both 'cat /proc/interupts' and 'lspci -vb' to verify that the cards do not have IRQ conflicts. Machine2 can be plugged into the telco pri and works fine. Machine1 works on the telco PRI so long as I have removed the configuration for the second span (the one on the crossover). I can leave the card for the second span in - so long as it is not configured.
<br><br>Machine 1 CLI Notices<br>====<br>If both cards are configured and connected. Zttool reliably reports no alarms. Asterisk appears to start without errors at verbosity three. Very quickly after it starts Asterisk starts reporting
<br><br> WARNING[28899] chan_zap.c:6668 handle_init_event: Detected alarm on channel NN: Red Alarm
<br> WARNING[28899] chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel NN<br><br>It will output these for all the channels on the second span (NN ranges from 25 to 47). It then will report<br>
<br>
NOTICE[28898] chan_zap.c:8460 pri_dchannel: PRI got event: Alarm (4) on Primary D-channel of span 2<br> WARNING[28898] chan_zap.c:2393 pri_find_dchan: No D-channels available! Using primary channel 48 as D-channel anyway!
<br><br>This is immediately followed by a notice that the alarms were cleared on each of the channels of span 2, including the data-channel.<br><br> NOTICE [29899]: chan_zap.c:6661 handle_init_event: Alarm cleared on channel NN
<br> NOTICE [29898]: chan_zap.c:8460 pri_dchannel: PRI got event: No more alarm (5) on Primary D-channel of span 2<br><br>This is then followed by the first error<br> <br> ERROR [29898]: chan_zap.c:8174 zt_pri_error: !! Got S-frame while link down
<br><br>I then get constant notices that "Primary D-Channel on span 2 up". This will be periodically broken up by a repeat of the warnings, notices and errors I describe above. However, now the problems occur for all of the channels of both spans.
<br><br>Machine 1 CLI Notices<br>
====<br>Machine 1 experiences almost the same behavior on its span. The only differance I am noticing is that instead of the S-frame error I get the following notice:<br><br> chan_zap.c:8457 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
<br><br>Zap Restart Fails<br>====<br>On either machine if I attempt a 'zap restart' I receive<br><br> WARNING[30686]: chan_zap.c:903 zt_open: Unable to specify channel 1: Device or resource busy<br> ERROR[30686]: chan_zap.c:7160 mkintf: Unable to open channel 1: Device or resource busy
<br>here = 0, tmp->channel = 1, channel = 1<br> ERROR[30686]: chan_zap.c:10467 build_channels: Unable to register channel '1-23'<br> WARNING[30686]: chan_zap.c:9764 zap_restart: Reload channels from zap config failed!
<br><br><br><br><br>I have not attempted to connect two Asterisk boxes though a T1 crossover before so I am stumped. I have included my zaptel.conf and zapata.conf files below. I will certainly appreciate any help you can give.
<br><br>Thanks,<br>-Brian<br><br><br><br><br>Machine1<br>=========<br><br>zaptel.conf<br>-----------<br>defaultzone=us<br>loadzone=us<br>span=1,1,0,esf,b8zs<br>bchan=1-23<br>dchan=24<br><br>span=2,0,0,esf,b8zs<br>
bchan=25-47<br>
dchan=48<br><br>zapata.conf<br>-----------<br>
[trunkgroups]<br>[channels]<br>group=1<br>context=fromtelco<br>signalling=pri_cpe<br>switchtype=national<br>channel=>1-23<br><br>group=1<br>
context=frommachine2<br>
signalling=pri_net<br>
switchtype=national<br>
channel=>25-47<br>
<br>Machine2<br>
=========<br>
<br>
zaptel.conf<br>
-----------<br>
defaultzone=us<br>
loadzone=us<br>
span=1,1,0,esf,b8zs<br>
bchan=1-23<br>
dchan=24<br><br>zapata.conf<br>
-----------<br>[trunkgroups]<br>[channels]<br>
group=1<br>
context=frommachine1<br>
signalling=pri_cpe<br>
switchtype=national<br>
channel=>1-23<br>
<br>
<br>