[asterisk-dev] i extension does not match on initial context - bug or not?

Klaus Darilion klaus.mailinglists at pernau.at
Fri Jan 9 05:40:42 CST 2009



Benny Amorsen schrieb:
> Dmitry Andrianov <dimas at dataart.com> writes:
> 
>> There is NO functionality for catch-all currently exist. Extension
>> can be alphanumeric so just [0-9*+] is not enough. The closest
>> pattern would be "_." which matches anything at all but the problem
>> with it is that it also matches "special" extensions like h, i, t,
>> s.
> 
> It is a bit sad that the special extensions live in the same
> namespace as normal extensions. The reasons are historical, of
> course, from when Asterisk was mostly concerned with connecting to
> the PSTN, but these days it is becoming a problem.

Yes, this should be splitted into separate name spaces. In config we 
could use for example @i or @s to address the special extensions.

regards
klaus





More information about the asterisk-dev mailing list