Fast Busy outgoing

Hello,

I have a TDM400P 22B. Incoming works to zap1, zap 2 and sip. Sip to zap and vice versa works. However neither can call out.

xtensions
[general]

[globals]
OUTBOUNDTRUNK=Zap/g2

[incoming]
exten => s,1,Answer()
exten => s,2,Background(vm-extension)
exten => 111,1,Dial(Sip/ddefoort,10,r)
exten => 111,2,Playback(vm-nobodyavail)
exten => 111,3,Hangup()
exten => 111,102,Playback(tt-allbusy)
exten => 111,103,hangup()
exten => 100,1,Dial(zap/2-1,10,r)
exten => 100,2,Playback(vm-nobodyavail)
exten => 100,3,Hangup()
exten => 100,102,Playback(tt-allbusy)
exten => 100,103,hangup()

[internal]
include => outbound-local
include => outbound-long
exten => 100,1,Dial(zap/2-1,10,r)
exten => 111,1,Dial(Sip/ddefoort,10,r)

[outbound-local]
exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/$EXTEN:1)

[outbound-long]
exten => _91NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/$EXTEN:1)
exten => _91NXXNXXXXXX,2,Congestion()
exten => _91NXXNXXXXXX,102,Congestion()

ZApata
[trunkgroups]
[channels]

usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
rxgain=1.0
txgain=0.0
immediate=no
amaflags=default

context=internal
signalling=fxo_ks
channel=>1-2

context=incoming
group=2
signalling=fxs_ls
channel=>3-4

Any help would be appreciated

Dennis

Man I hate asnwering my own posts

a log file fragment for a failed call is always useful.

in your outgoing dialstring you’re using $EXTEN … should be ${EXTEN}

edit : just seen your 2nd post “subject” … well done :smiley: