Dial local channel always congestion

hello all,

I updated to asterisk 1.4.9 (optionally also to SVN REV 77489).
If I redirect a call with local I always get congestion, the direct call works.
I don’t know if this is a bug, but I thought that it worked before.

This is the output:
– Called trunk_2/012345678
– SIP/trunk_2-08600900 is making progress passing it to Local/012345678@internal-2d97,2
– Local/012345678@internal-2d97,1 is making progress passing it to IAX2/50-6
– SIP/trunk_2-08600900 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)

The trunk is not busy, the direct dial works:
– Called trunk_2/012345678
– SIP/trunk_2-0866bdf8 is making progress passing it to IAX2/50-3
– SIP/trunk_2-0866bdf8 answered IAX2/50-2

Any idea?

without seeing the dialplan no.

without seeing the dialplan no.[/quote]

Here is the part of the dialplan:

[macro-stdexten] ; ${ARG1} - Extension, ${ARG2} - CallforwardNumber
exten = s,1,Noop(Start)
exten = s,n,GOTOIF($["${ARG2}" != “”]?s-CFALWAYS,1)
exten = s,n,DIAL(${ARG1},60, drotwk)

exten = s-CFALWAYS,1,DIAL(Local/${ARG2}@internal,60,drogTWK)
exten = s-CFALWAYS,n,Goto(h,1)

exten = h,1,hangup

exten = s,1,Noop(Start)
exten = s,n,DIAL(SIP/trunk_2/${ARG1},60, ${RT})
exten = s,n,GOTO(s-${DIALSTATUS},1)

exten = s-NOANSWER,1,Playtones(congestion,noanswer)
exten = s-NOANSWER,n,Wait(3)
exten = s-NOANSWER,n,GOTO(h,1)

exten = s-BUSY,1,Answer
exten = s-BUSY,n,Busy(3)
exten = s-BUSY,n,GOTO(h,1)

exten = s-CHANUNAVAIL,1,Answer
exten = s-CHANUNAVAIL,n,Playtones(busy)
exten = s-CHANUNAVAIL,n,Busy(3)
exten = s-CHANUNAVAIL,n,GOTO(h,1)

exten = s-CONGESTION,1,Answer
exten = s-CONGESTION,n,Playtones(congestion)
exten = s-CONGESTION,n,Wait(3)
exten = s-CONGESTION,n,GOTO(h,1)

exten = s-CANCEL,1,GOTO(h,1)

exten = _s-.,1,GOTO(s-CONGESTION,1)

exten = h,1,MACRO(hangupcall)

exten = _0X.,1,Macro(dialout,${EXTEN:1})

include = dialout
exten = 12,1,Macro(stdexten,12,0012345678)
If I dial out just with 0 it works, if I dial 12 it hangs up! But everything was fine with the older revision!