[Asterisk-Users] Re: gotoif

Doug Lytle support at drdos.info
Sat Apr 8 05:30:08 MST 2006


Shaun wrote:
> What doug said didnt work for me, anybody else having this problem the below 
> appears to have resolved it.
>
>
> exten => s,n,Gotoif($["${menuopt}" = ""]?1)
>   

In your first post you weren't using the quotes around the option, this 
time you are... I didn't notice that:

exten => s,202,GotoIf($[${holdopt} = 1 ]?4)

Try the same line with the quotes this time.

exten => s,202,GotoIf($["${holdopt}" = "1" ]?4)


Doug


-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."





More information about the asterisk-users mailing list