[asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Carlos Alvarez
I'm getting the following error, and none of us can figure out why: [Jan 25 09:07:19] WARNING[19258]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected 'token', expecting $end; Input: = ^ Here is the code that generates it: [scottsdale#queues-account]

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Eric Wieling
-Commercial Discussion Subject: [asterisk-users] Quoting error with gotoiftime I'm getting the following error, and none of us can figure out why: [Jan 25 09:07:19] WARNING[19258]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected 'token', expecting $end; Input

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Danny Nicholas
: [asterisk-users] Quoting error with gotoiftime I'm getting the following error, and none of us can figure out why: [Jan 25 09:07:19] WARNING[19258]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected 'token', expecting $end; Input: = ^ Here

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Eric Wieling
AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Quoting error with gotoiftime Error doesn't occur in 11.2.1 -- Executing [1260@default:1] Answer(SIP/sipuser-0001, ) in new stack -- Executing [1260@default:2] Goto(SIP/sipuser-0001

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Carlos Alvarez
On Fri, Jan 25, 2013 at 9:20 AM, Eric Wieling ewiel...@nyigc.com wrote: Looks to me like ${prefix} contains nothing but two quotes. Which is as it should be unless they choose the Spanish option, but yeah, maybe that's what is choking Asterisk. We do this: exten = _X.,n,Set(prefix=)

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Eric Wieling
:25 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Quoting error with gotoiftime On Fri, Jan 25, 2013 at 9:20 AM, Eric Wieling ewiel...@nyigc.com wrote: Looks to me like ${prefix} contains nothing but two quotes. Which is as it should

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Carlos Alvarez
On Fri, Jan 25, 2013 at 9:22 AM, Eric Wieling ewiel...@nyigc.com wrote: What version does the error occur on? I suspect more recent versions of Asterisk removes extraneous quotes. This is in 1.8. Danny's test does support your theory. It looks like the var is being set as the quotes,

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Danny Nicholas
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Carlos Alvarez Sent: Friday, January 25, 2013 10:29 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Quoting error with gotoiftime On Fri, Jan 25, 2013 at 9:27 AM, Eric Wieling ewiel...@nyigc.com

Re: [asterisk-users] Quoting error with gotoiftime

2013-01-25 Thread Carlos Alvarez
On Fri, Jan 25, 2013 at 9:31 AM, Danny Nicholas da...@debsinc.com wrote: Where possible you should have a VM to try these things as needed. Where not, it isn’t too difficult to duplicate the contexts and do something like this [default] I do have a test VM, but I also have a