Hello list,

getting warning : *syntax error, unexpected '<token>'*


dialplan :

exten => pbx,n,Macro(CheckNetworkProblems,${custID})
exten => pbx,n,NoOp(status = ${STATUS})
exten => pbx,n,GoToIf($["${STATUS}"="congestion"]?backup:nocongestion)


CLI :

[Sep 9 12:27:07] -- Executing [...@cust:15] NoOp("SIP/test13-0000002a", "status = "congestion"") in new stack *[Sep 9 12:27:07] WARNING[5741]: ast_expr2.fl:445 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '<token>', expecting $end; Input:
""congestion""="congestion"
  ^*
[Sep 9 12:27:07] WARNING[5741]: ast_expr2.fl:449 ast_yyerror: If you have questions, please refer to doc/tex/channelvariables.tex. [Sep 9 12:27:07] -- Executing [...@cust:16] GotoIf("SIP/test13-0000002a", """?backup:nocongestion") in new stack


What is then the correct syntax ?!


Jonas.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to