[Asterisk-Users] match a set of numbers in GoToIf against a variable

2005-10-14 Thread John Millican
Hello all, Okay when you are done laughing at the simplicity of this question could someone show me please what I have wrong in the following statement? GoToIf($[${numdial} != [1-9] ]?15:3); What this is supposed to do is if numdial is not a single digit from 1 to 9 inclusive goto 15, if it is a

Re: [Asterisk-Users] match a set of numbers in GoToIf against a variable

2005-10-14 Thread Samy Antoun
--- John Millican [EMAIL PROTECTED] wrote: Hello all, Okay when you are done laughing at the simplicity of this question could someone show me please what I have wrong in the following statement? GoToIf($[${numdial} != [1-9] ]?15:3); What this is supposed to do is if numdial is not a

Re: [Asterisk-Users] match a set of numbers in GoToIf against a variable

2005-10-14 Thread John Millican
On Friday October 14 2005 8:26 pm, Samy Antoun wrote: --- John Millican [EMAIL PROTECTED] wrote: Hello all, Okay when you are done laughing at the simplicity of this question could someone show me please what I have wrong in the following statement? GoToIf($[${numdial} != [1-9]

Re: [Asterisk-Users] match a set of numbers in GoToIf against a variable

2005-10-14 Thread John Millican
On Friday October 14 2005 8:57 pm, John Millican wrote: On Friday October 14 2005 8:26 pm, Samy Antoun wrote: --- John Millican [EMAIL PROTECTED] wrote: Hello all, Okay when you are done laughing at the simplicity of this question could someone show me please what I have wrong in