[SOLVED] Is the variable ${AVAILCHAN} working in 1.2.10?

Is the variable ${AVAILCHAN} working in 1.2.10?

I have the following (which worked on 1.2.1…):



exten => 1,1,GotoIf(ChanIsAvail(${TRUNK_PSTN})?:error)
exten => 1,n,NoOp(${AVAILCHAN})

exten => s,n(error),Playback(/var/lib/asterisk/sounds/cannot-complete-network-error)

But the NoOp now returns empty…


Well…apparently this:


is the culprit… i can’t use ChanIsAvail as a condition anymore…i have to the application itself as the test and it’s output as the exit.