[Asterisk-Users] Asterisk ahead of old PBX problems (maybe PRI trouble)

Jeb Campbell jebc at c4solutions.net
Fri Oct 8 10:44:28 MST 2004


Basically, Asterisk is sitting inbetween the old pbx and Bellsouth 
while we transision to VOIP.  However, alot of calls are being dropped.
I'm sure it is some configuration error on my part (having never put 
asterisk in the middle of 2 T1's.

Does each T1 have a dchan?  I get this in the logs:
PRI got event: HDLC Abort (6) on Primary D-channel of span 2

Which leads to this:
Oct  8 09:43:16 NOTICE[1100176304]: PRI got event: HDLC Abort (6) on 
Primary D-channel of span 2
Oct  8 09:43:17 VERBOSE[1100176304]:     -- Channel 0/1, span 2 got 
hangup
Oct  8 09:43:17 VERBOSE[1120824240]:     -- Hungup 'Zap/1-1'
Oct  8 09:43:17 VERBOSE[1120824240]:   == Spawn extension 
(hmisoutgoing, 4234818, 2) exited non-zero on 'Zap/25-1'
Oct  8 09:43:17 VERBOSE[1120824240]:     -- Executing 
SetVar("Zap/25-1", "JEB=h") in new stack
Oct  8 09:43:17 VERBOSE[1120824240]:     -- Executing Dial("Zap/25-1", 
"Zap/g1/h") in new stack
Oct  8 09:43:17 VERBOSE[1120824240]:     -- Called g1/h
Oct  8 09:43:17 VERBOSE[1120824240]:     -- Hungup 'Zap/2-1'

As you can see, it gets the correct extension (outgoing number), but on 
the next line it thinks it is 'h' for hangup.
Below are my configs if anyone can point me in the right direction.

Jeb Campbell
jebc at c4solutions.net

(zaptel.conf)
loadzone=us
defaultzone=us
span=1,1,0,esf,b8zs
span=2,0,0,esf,b8zs
bchan=1-23
dchan=24
bchan=25-47
dchan=48

(zapata.conf -- note: not all lines active)
[channels]
overlapdial=yes
switchtype=national
signalling=pri_cpe
context=incoming
group=1
channel => 1-8

overlapdial=yes
switchtype=national
signalling=pri_net
context=hmisoutgoing
group=2
channel => 25-32

(extensions.conf)
[incoming]
exten => _XXXX,1,Dial(Zap/g2/${EXTEN})
exten => s,1,Dial(Zap/g2/5211)
[hmisoutgoing]
exten => _.,1,SetVar(JEB=${EXTEN}) ; this was just to find out what was 
happening with the extension
exten => _.,2,Dial(Zap/g1/${JEB})





More information about the asterisk-users mailing list