[asterisk-users] Fixing an old bug related to extension "s" - feedback wanted

Leif Madsen leif.madsen at asteriskdocs.org
Tue Sep 20 19:38:51 CDT 2011


On 20/09/11 03:37 PM, Ira wrote:
> At 07:09 AM 9/20/2011, you wrote:
>> Using "start" makes your dialplans much easier to read :-) and makes
>> them more secure as no app will end up there by accident, which may
>> happen in your current systems.
>
> When I went and read version 3 it seemed to indicate that "start" has no
> actual meaning and I could just as well call it cow or fish.
>
> Am I reading it correctly or does the word start actually have a special
> meaning?

No, that extension 'start' (literal) has no special meaning. You 
absolutely could call it cow, fish, pig, or farmer_john. How you get 
there is by implicitly calling it.

exten => s...  on the other hand has always had special meaning as Olle 
has pointed out, and typically has meant "start" (for analog lines). 
Outside of that you shouldn't really be using the 's' extension as your 
default extensions. The 's' extension has never been a "catch-all" 
extension. Olle has found a situation where the 's' extension is being 
used as a fallback, which is not right, and is suggesting we make 
Asterisk consistent in it's usage of 's'. I agree with his proposal.

But because this functionality (bug) has been around for quite some 
time, he is asking the community for feedback on who may have 
inadvertently used the functionality in their dialplans.

Apologies for anyone who may have read some documentation that appeared 
to imply that the 's' extension was a catch-all. In the first and second 
editions of Asterisk: The Future of Telephony we were mostly using 
analog lines, and thus the usage of the extension 's' was fairly 
prominent. There are many other single letter extensions that have extra 
meaning, such as 'i', 't', etc..., but we never intended to imply that 
's' was a catch-all extension.

-- 
Leif Madsen
http://www.oreilly.com/catalog/asterisk



More information about the asterisk-users mailing list