Outgoing calls using TE407P not working

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?

Hi

try adding

pridialplan=unknown
prilocaldialplan=unknown

to your zapata.conf it seems to be missing from yours.

Ian

Thanks Ian

however, there is no change.

Regards,
Titus

Have you talked to the telco? I had a similar issue with my fax T1, turns out the outgoing config was set different from the incoming on thier end.

Hi all… I solved this.

I removed the variable pridialplan=dynamic. I dont even know where i had picked that up from. And then set pridialplan = unknown and localdialpan = unknown and it works like a charm.

However, now, while before i was receiving the called no, now i dont get it.

How can i get my called ID coz i need to route calls to specific extensions directly?

Will update in case of any progress.

Regards,
Titus

Hi

Sorry I didnt make it clear thatmy entries had to be the only ones relating to pridialplans.

at least its working now.

Do mean by not getting the called number, You are not getting the ddi digits !

I would need to see a trace on that one.

details of UK working configs are at cyber-cottage.co.uk/wiki/ind … bly_others

Ian