[asterisk-users] Fwd: {s} - extension

Daniel Suleyman danikpro at gmail.com
Sat Mar 8 01:45:14 CST 2008


Even if I have s in defult it is not work.


  2008/3/6, Noah Miller <noahisaacmiller at gmail.com>:

 > Hi -
  >
  >
  >  > Thank you all for answers. As I understand s - i and others is
 device specific.
  >  >  I will not need them in my SIP configuration.
  >
  >
  > The "s" extension is not zap-specific.  You can use it for any type of
  >  device.  It's just the generic extension that a call will go to when
  >  no other matching extensions are present.  As Tzafrir pointed out, you
  >  had no "s" extension in the default context, and your sip device was
  >  in the default context.  Therefore, you were only able to dial
  >  extensions that you had explicitly declared.
  >
  >  To access the "s" extension from your sip device, you'd either need to
  >  add your sip device to the context where your "s" extension is, or
  >  include that context in the default context.
  >
  >  NOTE: Andres' example using "_." will work, too (but you should make
  >  sure you put in at the end of a context if you want to put other
  >  extensions in that context as it will match all calls).
  >
  >
  >
  >  - Noah
  >
  >
  >
  >
  >  >
  >  >
  >  >  2008/3/5, Andres Jimenez <gandresin at gmail.com>:
  >  >
  >  >
  >  > > 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
  >  >  > _______________________________________________
  >  >  > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
  >  >  >
  >  >  > asterisk-users mailing list
  >  >  > To UNSUBSCRIBE or update options visit:
  >  >  >   http://lists.digium.com/mailman/listinfo/asterisk-users
  >  >
  >  >  _______________________________________________
  >  >  -- Bandwidth and Colocation Provided by http://www.api-digital.com --
  >  >
  >  >  asterisk-users mailing list
  >  >  To UNSUBSCRIBE or update options visit:
  >  >    http://lists.digium.com/mailman/listinfo/asterisk-users
  >  >
  >
  >  _______________________________________________
  >  -- Bandwidth and Colocation Provided by http://www.api-digital.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