Is the variable ${AVAILCHAN} working in 1.2.10?
I have the following (which worked on 1.2.1…):
[globals]
TRUNK_PSTN=misdn/g:PSTN_Asterisk
…
[extensions]
…
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…