[asterisk-users] followme scenarios
Jared Smith
jsmith at digium.com
Fri Apr 25 09:16:01 CDT 2008
On Thu, 2008-04-24 at 18:57 -0700, ronald ramos wrote:
> ami using GotoIf correctly?
No, you're not using GotoIf() correctly. In fact, there are several
problems with your syntax. The first problem I spot is that the
GotoIf() application requires an expression, and you haven't supplied an
expression. Expressions in Asterisk are easy to spot, as they're
enclosed in $[ ]. You also need to put ${ } around your variables when
you're trying to retrieve their value, and you've got an errant pipe in
the line as well.
Replace all the lines that look like:
GotoIf(FM = "NEVER"|?vm)
with this syntax:
GotoIf($["${FM}" = "NEVER"]?vm)
--
Jared Smith
Community Relations Manager
Digium, Inc.
More information about the asterisk-users
mailing list