[Asterisk-Users] Can someone explain the 's' extension
Neil Cherry
ncherry at comcast.net
Mon Nov 14 19:30:37 MST 2005
Eric "ManxPower" Wieling wrote:
> Neil Cherry wrote:
>> Funny thing is I can get Asterisk to use the 's' extension as a
>> catch all (I use the include => xcontext command). But I needed
>> to describe it properly for chapter in a book I'm writing. Man
>> I hope I get this stuff right!
>>
>> BTW, I'm using SIP extensions to do all my testing. Works great
>> (when I remember to include the correct contexts ;-)
>>
>
> exten => s is NOT a "catchall" it's more of a "catch nothing" i.e. it
> only catches calls that have no destination info. A "catchall" would be
> exten => _. but that would catch extensions that are not numbers (like
> o, i, t, T, h, etc). A catch all number extensions would be something
> like exten => _X.
Thanks, you just pointed out 2 huge mistakes on my part. The first
is what I thought 's' was for and the second is that my above
statement is untrue. I used the '_.' as the catch all. I'll correct
that. Again thanks!
--
Linux Home Automation Neil Cherry ncherry at comcast.net
http://home.comcast.net/~ncherry/ (Text only)
http://hcs.sourceforge.net/ (HCS II)
http://linuxha.blogspot.com/ My HA Blog
More information about the asterisk-users
mailing list