Can't use * (star) as extension Ast in 1.2.5


#1

Hi all,

I’m trying to gather a string of digits starting with a * (star) until # is pressed. I can’t do it, the star doesn’t work.

First, i tried this:

exten => i,1,Set(string=$[$string${INVALID_EXTEN}])

agi returns error when star is pressed: syntax error, unexpected TOK_MULT (multiply? I don’t wanna multiply) and sets 0 (zero) for the star

Then, i tried this:

exten => *,1,Set(string=$[$string${EXTEN}])
same error

Whats up with that?

Jozza