[Asterisk-Users] Re: gotoif

Shaun mailinglists at unix-scripts.com
Sat Apr 8 00:13:05 MST 2006


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)

-- 

~Shaun





"Doug Lytle" <support at drdos.info> wrote in message 
news:4436349C.7020807 at drdos.info...
> Shaun wrote:
>>
>>
>> Apr  7 01:32:13 WARNING[24248]: ast_expr2.fl:183 ast_yyerror: 
>> ast_yyerror(): syntax error: syntax error, unexpected TOK_EQ, expecting 
>> TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
>>
>>
>>
>> The dial plan works and all, it's just i want those warnings to go away!
>>
>>
>>
> This has been covered a few time in the last 2 months.  You need to 
> initialize the variable:
>
>    Set(holdopt=0)
>
> Before doing any testing with it.
>
> Doug
>
>
> -- 
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a little Temporary 
> Safety, deserve neither Liberty nor Safety."
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 






More information about the asterisk-users mailing list