Even if I have s in defult it is not work.
2008/3/6, Noah Miller <[EMAIL PROTECTED]>: > 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 <[EMAIL PROTECTED]>: > > > > > > > On Wed, Mar 5, 2008 at 1:36 PM, Tzafrir Cohen <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED] > > > _______________________________________________ > > > -- 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 > _______________________________________________ -- 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