For some reason on our E1 card connected to asterisk - we cannot call out. It appears like the call goes to the PSTN and some funny request is returned that makes the asterisk hang the call up. This is the output of the whole process. Any idea why? Just have a look below. A funny thing is that calls from PSTN are coming through without a problem. The problem is only outgoing calls.
We are using asterisk 1.4.9 + zap 1.4 as a bridge between the PSTN and alcatel PABX.
[Executing [1223@branches:1] Wait(“SIP/602-b7b7c508”, “1”) in new stack
– Executing [1223@branches:2] SetCallerID(“SIP/602-b7b7c508”, “3292200”) in new stack
– Executing [1223@branches:3] Dial(“SIP/602-b7b7c508”, “ZAP/r1/020556755”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called r1/020556755
– Zap/8-1 is proceeding passing it to SIP/602-b7b7c508
– Channel 0/8, span 1 got hangup request, cause 3
– Hungup ‘Zap/8-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1223@branches:4] Hangup(“SIP/602-b7b7c508”, “”) in new stack
== Spawn extension (branches, 1223, 4) exited non-zero on ‘SIP/602-b7b7c508’
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4,yellow - goes to TKL
span=2,1,0,ccs,hdb3,crc4,yellow - goes to PABX - works fine.
bchan = 1-15, 17-31
dchan = 16
bchan = 32-46,48-62
dchan = 47
loadzone = uk
defaultzone = uk
I> zap show status
Description Alarms IRQ bpviol CRC4
T4XXP (PCI) Card 0 Span 1 OK 0 0 0
T4XXP (PCI) Card 0 Span 2 OK 0 0 0
T4XXP (PCI) Card 0 Span 3 UNCONFIGUR 0 0 0
T4XXP (PCI) Card 0 Span 4 UNCONFIGUR 0 0 0
ZTDUMMY/1 1 UNCONFIGUR 0 0 0
zapata.conf
[channels]
context=zap-incoming
switchtype=euroisdn
pridialplan=dynamic
;signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
rxgain=0.0
txgain=0.0
group=1
;For the PSTN line
;dialplan=dynamic
callgroup=1
pickupgroup=1
immediate=no
callprogress=no
callerid=asreceived
context=ivr
;group=1
signalling=pri_cpe
;outsignalling=pri_net
channel => 1-15,17-31
group=2
;For the PABX
callerid=asreceived
signalling=pri_net
context=pabx
channel => 32-46,48-62
Any Ideas?