[Asterisk-Users] Goto and exten => syntax

Dorn Hetzel asterisk-users at dorn.hetzel.org
Thu Dec 23 10:34:12 MST 2004


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




More information about the asterisk-users mailing list