[Asterisk-Users] logic problem with GotoIf?

Olle E. Johansson oej at edvina.net
Tue Mar 9 11:51:34 MST 2004


Rich Adamson wrote:

> exten => s,1,GotoIf(DBget(FEAT/ivron) == yes?bus-ivr-main|s|1)

Rich,
I haven't seen GotoIF calling another application, only $[] constructs.
See

http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20gotoif

for examples. Take the output of dbget into a variable and test that.

/Olle




More information about the asterisk-users mailing list