[Asterisk-Users] Re: [Asterisk] Major new * Dialplan Features
Mark Spencer
markster at digium.com
Sun Feb 23 10:49:03 MST 2003
> > While we were talking about establishing syntax, I would recommend
> > abandoning ${EXTEN-1} for ${EXTEN:1} to maintain compatibility with bash
> > syntax (so as not to be confused with things like $(($EXTEN-1)) &
> > $((${EXTEN:2:2}-24)) which would be good to match ranges of zap
> > channels... this might be a long term future thing). Of course this
> > suggestion is null if Mark's favorite shell uses the other syntax.
I've changed it to be ${EXTEN:foo} in light of your suggestion. The
"EXTEN-foo" is still supported but deprecated.
Mark
More information about the asterisk-users
mailing list