Hi all
my company plan to use asterisk to interconnect with NEC using PRI / E1.
to enjoy the many features that asterisk has.
my boss does not allow me to connect the NEC with asterisk yet until it is proven.
i therefore built 2 asterisk A(1) and A(2). i use TE110P on one A(2) and TE410P on the other A(1). A(2) will represent the NEC.
my config are as follows;
A(1)
zaptel.conf
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
alaw=1-31
zapata.conf
[channels]
context=from-zaptel
switchtype=national
overlapdial=yes
signalling=pri_net
rxgain=3.0
rxgain=0.0
channel =>1-15
channel =>17-31
i have yet to define other span
A(2)
zaptel.conf
span=1,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
alaw=1-31
loadzone=us
defaultzone=us
zapata.conf
[channels]
context=default
overlapdial=no
signalling=pri_cpe
switchtype=euroisdn
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=3.0
txgain=3.0
group=0
channel => 1-15,17-31
busydetect=no
when the cable is plug in A(2) is giving me the following
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 1
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 2
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 3
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 4
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 5
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 6
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 7
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 8
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 9
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 10
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 11
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 12
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 13
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 14
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 15
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 17
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 18
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 19
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 20
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 21
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 22
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 23
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 24
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 25
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 26
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 27
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 28
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 29
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 30
Apr 2 01:45:04 NOTICE[1714]: chan_zap.c:6340 handle_init_event: Alarm cleared on channel 31
Apr 2 01:45:04 NOTICE[1713]: chan_zap.c:8207 pri_dchannel: PRI got event: No more alarm (5) on Primary D-channel of span 1
but when i dial from A(2) to A(1), i am getting
- Accepting AUTHENTICATED call from 218.xx.xx.xx:
> requested format = gsm,
> requested prefs = (),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
– Executing Dial(“IAX2/9929-6”, “Zap/g0/1xxxxxx|30”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g0/1xxxxxxxx
== Primary D-Channel on span 1 down
Apr 2 01:45:45 WARNING[1713]: chan_zap.c:2289 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
– Hungup ‘Zap/1-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing Hangup(“IAX2/9929-6”, “”) in new stack
== Spawn extension (default, 1xxxxxx, 2) exited non-zero on ‘IAX2/9929-6’
– Hungup ‘IAX2/9929-6’
== Primary D-Channel on span 1 down
Apr 2 01:45:48 WARNING[1713]: chan_zap.c:2289 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
both A(1) and A(2) are fine in ztcfg -vvvv
any help is highly appreciated