Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
danikpro at gmail.com
Guest





PostPosted: Sat Mar 08, 2008 2:45 am    Post subject: [asterisk-users] Fwd: {s} - extension Reply with quote

Even if I have s in defult it is not work.
2008/3/6, Noah Miller <noahisaacmiller at gmail.com>:

Quote:
Hi -


Quote:
Thank you all for answers. As I understand s - i and others is
device specific.
Quote:
Quote:
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




Quote:


2008/3/5, Andres Jimenez <gandresin at gmail.com>:


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

Quote:
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 at 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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sat Mar 08, 2008 3:23 am    Post subject: [asterisk-users] Fwd: {s} - extension Reply with quote

On Sat, Mar 08, 2008 at 11:45:14AM +0400, Daniel Suleyman wrote:
Quote:
Even if I have s in defult it is not work.

So please provide a trace of that case:

core set verbose 3
And see what happens.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services