syntax error from digium fax manual ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I've cut and pasted from the digium fax admin manual:

exten => send,1,NoOp(**** SENDING FAX ****)
exten => send,n,Wait(6)
exten => send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
exten => send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})

-- Executing [send@sendPDFasFax:1] NoOp("DAHDI/4-1", "**** SENDING FAX ****") in new stack
    -- Executing [send@sendPDFasFax:2] Wait("DAHDI/4-1", "6") in new stack
    -- Channel 4 detected a CED tone from the network.
[Apr 9 15:29:02] WARNING[2912]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end; Input:
  + 1
[Apr 9 15:29:02] WARNING[2912]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to -- Executing [send@sendPDFasFax:3] Set("DAHDI/4-1", "GLOBAL(FAXCOUNT)=") in new stack
  == Setting global variable 'FAXCOUNT' to ''

The error seems to be saying that I need a closing "}" or "]", but it looks like it has closing brackets.

Any suggestions?


-- Bandwidth and Colocation Provided by --
New to Asterisk? Join us for a live introductory webinar every Thurs:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

[Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [DCCP]     [Gimp]     [100% Free Online Dating]     [Yosemite News]     [Arts & Crafts]     [Yosemite Photos]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

Add to Google Powered by Linux