[Asterisk-Users] Goto and exten => syntax

Jim Radford jradford at npl.com
Thu Dec 23 13:55:47 MST 2004



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 at 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 <jradford at npl.com>
http://www.jimradford.com/
==========================================================================



More information about the asterisk-users mailing list