's' is the extension that asterisk will go to if you do not pass an
extension with the incoming call. It is most commonly used for analogue zap
channels and gotos from other parts of the dialplan.

Put simply, if asterisk does not get an extension on the incoming call,
it'll go to 's'


Jim


> -----Original Message-----
> From: Isafhan Datoo [mailto:[EMAIL PROTECTED] 
> Sent: February 22, 2007 12:48 PM
> To: [email protected]
> Subject: [on-asterisk] s, the start extension
> 
> I am trying to understand the s extension.
> I just created 2 sip extensions, 101 and 102.
> I can dial 101 from 102 and vice-versa.
> When I dial 123, I get the hello world greeting.
> But how would I get the demo-congrats to play?
> 
> extensions.conf:
> ---------------------------
> [general]
> static=yes
> writeprotect=no
> autofallthrough=yes
> clearglobalvars=no
> 
> [incoming]
> exten => 101,1,Dial(SIP/id_xlite|30)
> exten => 102,1,Dial(SIP/id_linksys|30)
> exten => 123,1,Answer
> exten => 123,n,Playback(hello-world)
> exten => 123,n,Hangup()
> 
> include => demo
> 
> [demo]
> exten => s,1,Answer()
> exten => s,n,Wait(1)
> exten => s,n,Playback(demo-congrats)
> exten => s,n,Hangup()
> 
> sip.conf:
> ---------------------------
> [general]
> context=incoming
> realm=id.com
> bindport=5060                                 
> bindaddr=0.0.0.0
> srvlookup=yes
> 
> [id_xlite]
> context=incoming
> type=friend
> host=dynamic
> secret=1234
> canreinvite=no
> 
> [id_linksys]
> context=incoming
> type=friend
> host=dynamic
> secret=1234
> canreinvite=no
> --------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.412 / Virus Database: 268.18.3/696 - Release 
> Date: 21/02/2007
> 

Reply via email to