[asterisk-users] GotoIf not working with ${EXTEN} for me in 1.4.8

Philipp Kempgen philipp.kempgen at amooma.de
Sun Aug 19 08:55:27 CDT 2007


voiplist wrote:

> I am using GotoIf all over the place in 1.4.8 but for some reason, the
> following in my dial plan:

> exten => _1NXXNXXXXXX,1,GotoIf([${EXTEN} = "15554441212"]?100)

I would use something like
GotoIf($["${EXTEN}" = "15554441212"]?100)
because in Asterisk the quotes are part of the string.

But your subject implies that this expression works for
you with variables other than ${EXTEN} or Asterisk
before 1.4.8?

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
    Let's use IT to solve problems and not to create new ones.
          Asterisk? -> http://www.das-asterisk-buch.de
              My pick of the month: rfc 2822 3.6.5

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998



More information about the asterisk-users mailing list