[asterisk-users] Determining invalid extensions.
Eric "ManxPower" Wieling
eric at fnords.org
Sat Dec 23 10:19:47 MST 2006
Leo Ann Boon wrote:
> Phil Finkler wrote:
>>
>> Hi all,
>>
>> I’m trying to incorporate using the i extension in my callplan to
>> determine if someone enters an invalid extension. My internal
>> extensions are all 3 digits (100-104). The problem is, the callplan
>> doesn’t see that say, extension 600 is invalid, it just goes back to
>> the beginning of the callplan and repeats. If I enter a single digit,
>> it works perfectly. Anyone have any ideas? Here’s the incoming callplan.
>>
> It's because 600 will match _XX.
>
> Why don't you just use the 's' extension, instead of '_XX.'?
Because the "s" extension is only matched when there is NO dialed number.
Extension "i" is designed for use within an IVR.
We use 4 digit extensions and use exten => _XXXX,1,Whatever to match
invalid extensions.
More information about the asterisk-users
mailing list