[asterisk-dev] Dialplan oddities with recent Asterisk ?
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Feb 10 08:19:32 CST 2010
Am 10.02.2010 10:38, schrieb Benny Amorsen:
> Tilghman Lesher<tlesher at digium.com> writes:
>
>> I hear what you're saying, but I don't think there's an "easy" way to do that
>> without crippling a great many people's dialplans.
>
> Well, the "easy" way would be if there was a special character which
> repeated the previous pattern zero or more times. Like * in common
> regular expressions.
>
> The only people who would have their dial plan broken by that are people
> who happen to use that particular character in an exten pattern today.
> Depending on which character was picked, that is not necessarily a lot
> of people.
I second to introduce such a new pattern match. There are for sure some
characters which are rarely used in real life dialstrings,
e.g: " ? ^ ~ '
so _+[1-9][0-9]~ with
~: match zero or more characters of the previous pattern
regards
klaus
More information about the asterisk-dev
mailing list