[Asterisk-Dev] Gotoif comparison

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Aug 27 12:18:12 MST 2003


On Wednesday 27 August 2003 01:48 pm, John Todd wrote:
> I am trying to compare two values using the GotoIf command
> but is it always giving me the true condition. Can anybody correct
> what I am doing wrong?
>
> exten => s,3,GotoIf($[${orig}=${cf}]?5:4)

Spaces are important.

GotoIf($[${orig} = ${cf}]?5:4)

-Tilghman




More information about the asterisk-dev mailing list