Connectiong asterisk box with PRI


#1

I have two machines each having a sangoma card.
One has a sangoma 4 port E1 card and the other one has single port E1 card.
I made a cross cable with 1 crossing 4 and 2 crossing with 5.
I configured both cards.
When i connected PRI with the cards the lights turned yellow.
Here is the output of " zap show status"
For Quad-port E1:-
Description Alarms IRQ bpviol CRC4
wanpipe1 card 0 OK 0 0 0
wanpipe2 card 1 RED 0 0 0
wanpipe3 card 2 RED 0 0 0
wanpipe4 card 3 RED 0 0 0
For single port E1:-
Description Alarms IRQ bpviol CRC4
wanpipe1 card 0 OK 0 0 0
Output of ztcfg -vv shows no errors.
zaptel.conf of Quad-port E1:
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
span=2,0,0,ccs,hdb3,crc4
bchan=32-46
dchan=47
bchan=48-62
span=3,0,0,ccs,hdb3,crc4
bchan=63-77
dchan=78
bchan=79-93
span=4,0,0,ccs,hdb3,crc4
bchan=94-108
dchan=109
bchan=110-124
zaptel.conf of single-port E1:
span=1,0,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
zapata.conf of quad port E1:-
group = 1
switchtype = euroisdn
signalling = pri_cpe
context = default
bchan=1-15
dchan=16
bchan=17-31
group = 2
switchtype = euroisdn
signalling = pri_cpe
context = default
bhan=33-47
bchan=49-63
group = 3
switchtype = euroisdn
signalling = pri_cpe
context = default
bchan=65-79
bchan=81-95
group = 4
switchtype = euroisdn
signalling = pri_cpe
context = default
bchan=97-111
bchan=113-127
zapata.conf of single port E1:-
group = 1
switchtype = euroisdn
signalling = pri_net
context = default
bchan=1-15
dchan=16
bchan=17-31
The problem is in extension.conf of single port E1 i have:
exten => 234,1,Dial(Zap/g1/666)
It gives following error:
localhost*CLI> dial 234@default
– Executing Dial(“OSS/dsp”, “Zap/1/”) in new stack
Jun 6 09:09:53 NOTICE[30163]: app_dial.c:1012 dial_exec_full: Unable to create channel of type ‘Zap’ (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel ‘OSS/dsp’ status is ‘CHANUNAVAIL’
== Console is full duplex
<< Hangup on console >>
Please help me out…:frowning:
Thanks in advance.


#2

change your zapata.conf like this

context = default
switchtype = euroisdn
signalling = pri_net
group = 1
channel => 1-15
channel => 17-31

hope this will solve your problem


#3

Yups it did solve my problem …thnx for the timely reply.