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. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users