[Asterisk-Users] Goto and exten => syntax

2004-12-23 Thread Dorn Hetzel

I understand some of the basic Goto() forms,
such as Goto(context,extension,priority) and
Goto(extension,priority) [within context I presume].

Can someone Explain Goto(6275|1) as found in the
sample extensions.conf?  Is this the same as
Goto(6275,1) just with a different delimiting
character?

In a use like:

exten => s,1,Wait,2
exten => s,n(dial),Dial(SIP/sip1,20,tr)

two questions:

does the "n" mean priority value of the previous line + 1 ?

does the (dial) mean create a variable? named dial which
can be referenced as priority in a Goto to get to this
line?


I looked at the Wiki but couldn't determine these points
for sure...

Regards,

-Dorn

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Goto and exten => syntax

2004-12-23 Thread Jim Radford


GoTo(6275,1) or (6275|1) are the same, and that would be 
goto(extension,priority) in the same context as you've said.

Regards,
Jim

On Thu, 23 Dec 2004, Dorn Hetzel wrote:

> 
> I understand some of the basic Goto() forms,
> such as Goto(context,extension,priority) and
> Goto(extension,priority) [within context I presume].
> 
> Can someone Explain Goto(6275|1) as found in the
> sample extensions.conf?  Is this the same as
> Goto(6275,1) just with a different delimiting
> character?
> 
> In a use like:
> 
> exten => s,1,Wait,2
> exten => s,n(dial),Dial(SIP/sip1,20,tr)
> 
> two questions:
> 
> does the "n" mean priority value of the previous line + 1 ?
> 
> does the (dial) mean create a variable? named dial which
> can be referenced as priority in a Goto to get to this
> line?
> 
> 
> I looked at the Wiki but couldn't determine these points
> for sure...
> 
> Regards,
> 
> -Dorn
> 
> ___
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
==
Jim Radford <[EMAIL PROTECTED]>
http://www.jimradford.com/
==
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users