[asterisk-users] {s} - extension

Andres Jimenez gandresin at gmail.com
Wed Mar 5 08:00:10 CST 2008


On Wed, Mar 5, 2008 at 1:36 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

>  This is not needed. If the extension is not found, there is a
>  fallthrough to 's' (Right? Or is it chan_zap-specific)?

I would say it's chan_zap-specific.

From http://www.voip-info.org/wiki/index.php?page=Asterisk+config+extensions.conf

"For some kinds of connections — such incoming calls from an outside
telephone line — the user has not dialed an extension. In that case,
Asterisk behaves as if the user had dialed a special extension named
"s" (for Start). Asterisk will look for an extension "number" s in the
definition of the context for that channel for instructions about what
it should do to handle the call. "

The key factor is that "s" is used when NO EXTENSION has been
specified (when the call is not clearly directed to an specific
number). As far as I know, that's the way analog lines behave. The
line just receives the call, but no information says to which number
the call was sent.


-- 
Andres Jimenez

GPG : http://www.andresin.com/gpg/gandresin@gmail.com.asc


More information about the asterisk-users mailing list