[asterisk-users] Determining invalid extensions.

Leo Ann Boon leo at datvoiz.com
Sun Dec 24 05:19:54 MST 2006


Eric "ManxPower" Wieling wrote:
> 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.
My bad for not being clear. I meant that he should send his incoming 
calls to the 's' extensions and do a WaitExten in 's'.
>
> Extension "i" is designed for use within an IVR.
>
> We use 4 digit extensions and use exten => _XXXX,1,Whatever to match 
> invalid extensions.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list