Re: [Asterisk-Users] Can someone explain the 's' extension
Umair Bari wrote: No, i really dont think so, we were talking about _. which I think you will find matches o, s,h,i,t :D and a couple of others. -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Can someone explain the 's' extension
Does someone explain the 's' extension? In the Wiki it says it's the catch all extension. In the Asterisk 1.2-rc1 it say it isn't but doesn't say anything more. Needless to say I'm confused. -- Linux Home Automation Neil Cherry [EMAIL PROTECTED] http://home.comcast.net/~ncherry/ (Text only) http://hcs.sourceforge.net/ (HCS II) http://linuxha.blogspot.com/My HA Blog ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
Eric ManxPower Wieling wrote: Neil Cherry wrote: Does someone explain the 's' extension? In the Wiki it says it's the catch all extension. In the Asterisk 1.2-rc1 it say it isn't but doesn't say anything more. Needless to say I'm confused. When a call comes into Asterisk (PSTN, VoIP, etc) and call has NO information as to what extension to route to then Asterisk will try sending the call to extension = s In practice this only happens if you have a voice T-1 (Not PRI) with no DIDs, or if you have an analog FXO port. Wow, thanks guys for the quick response. I'm checking out the pdf file (previous list message). 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 ;-) -- Linux Home Automation Neil Cherry [EMAIL PROTECTED] http://home.comcast.net/~ncherry/ (Text only) http://hcs.sourceforge.net/ (HCS II) http://linuxha.blogspot.com/My HA Blog ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
Neil Cherry wrote: Eric ManxPower Wieling wrote: Neil Cherry wrote: Does someone explain the 's' extension? In the Wiki it says it's the catch all extension. In the Asterisk 1.2-rc1 it say it isn't but doesn't say anything more. Needless to say I'm confused. When a call comes into Asterisk (PSTN, VoIP, etc) and call has NO information as to what extension to route to then Asterisk will try sending the call to extension = s In practice this only happens if you have a voice T-1 (Not PRI) with no DIDs, or if you have an analog FXO port. Wow, thanks guys for the quick response. I'm checking out the pdf file (previous list message). 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. --Eric ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
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 [EMAIL PROTECTED] http://home.comcast.net/~ncherry/ (Text only) http://hcs.sourceforge.net/ (HCS II) http://linuxha.blogspot.com/My HA Blog ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
Eric ManxPower Wieling wrote: 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. Doesn't it catch o, s,h,i,t etc :) -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
No, i really dont think so, here are few lines from extensions.conf.sample. ; Extension names may be numbers, letters, or combinations; thereof. If an extension name is prefixed by a '_'; character, it is interpreted as a pattern rather than a; literal. In patterns, some characters have special meanings: ;; X - any digit from 0-9; Z - any digit from 1-9; N - any digit from 2-9so _X. will only catch digits from 0-9. regards, Umair On 11/14/05, Matt Riddell [EMAIL PROTECTED] wrote: Eric ManxPower Wieling wrote: 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.Doesn't it catch o, s,h,i,tetc :)--Cheers,Matt Riddell___http://www.sineapps.com/news.php (Daily Asterisk News - html)http://freevoip.gedameurope.com (Free Asterisk Voip Community)http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list Asterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Can someone explain the 's' extension
Eric ManxPower Wieling wrote: Neil Cherry wrote: Does someone explain the 's' extension? In the Wiki it says it's the catch all extension. In the Asterisk 1.2-rc1 it say it isn't but doesn't say anything more. Needless to say I'm confused. When a call comes into Asterisk (PSTN, VoIP, etc) and call has NO information as to what extension to route to then Asterisk will try sending the call to extension = s In practice this only happens if you have a voice T-1 (Not PRI) with no DIDs, or if you have an analog FXO port. Or if we receive a SIP uri with no username part. It's not a catch-all. It's a replacement for nothing. Macros always start on the s extension. /O ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users