similar to: FW: syntax error

Displaying 20 results from an estimated 500 matches similar to: "FW: syntax error"

2006 Feb 20
3
asterisk error
Hi, I got this message on my Asterisk messages file and after it Asterisk went down... 2006-02-18 08:13:55 WARNING[3214] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1 ^ 2006-02-18 08:13:55 WARNING[3214] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source.
2006 Apr 07
2
gotoif
Here is a section of my dialplan (macro) exten => s,200,Wait(1) exten => s,201,read(holdopt|screen-onhold|1) exten => s,202,GotoIf($[${holdopt} = 1 ]?4) exten => s,203,GoTo(200) it's simple really it loops telling you the caller is on hold until you press 1 and then it sends you off to another area. The problem right now is that if the read() times out i get these warnings...
2006 Oct 13
2
AEL Question
Hi, all. I'm making my first foray into AEL. I'm starting with a simple macro, but I've already encountered an odd behaviour. I'm wondering if someone can shed some insight: Asterisk 1.2.9.1 macro newPlaceCallPSTN { s => { TIMEOUT(absolute)=7200; NoOp(Analog Out List: ${ANALOGOUT}); ChanIsAvail(${ANALOGOUT}); NoOp(Available Out List:
2006 Jun 21
1
syntax error
Does anyone know why this row: exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]?4:3) generate this error: ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_NE, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: != ^ ? I was unable to debug it. -- DV
2007 May 14
1
ast_yyerror - Help
Hey all, We're starting to see "all circuits are busy" and a few dropped calls. When these happen, in the messages log, I see the following error. May 14 14:42:13 WARNING[5604] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: 0?7: What causes this?
2006 Mar 02
1
error messages on /var/log/asterisk/messages
Hi, I am using 1.2.3, and sometimes I can see the following message: Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1 ^ Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source. Any ideas? Thank you
2006 Nov 14
6
unable to get channel lock BAD BAD BAD
I am seeing the following in my log file (standard trixbox install). One seems to be complaining about an error in the dialplan but it won't tell me what file or what line. The other (maybe related) is complaining about a channel lock. How to do go about trying to figure out what the problem is and how to solve it? ---------------Logfile-------------------------------------------- Nov 14
2006 Jun 26
0
AEL scripting, CUT use and string concatenation
Hi to all, i'm wondering to realize a dynamic macro that can take the number of extensions to RING,the ring type and all the parameter in a dynamic way. I have done this code to test it: macro pbx-ring-group-ael(pbx_id,num_int,ring_type,timeout,ext_string) { //; pbx_id = Id of PBX in the DB //; num_int = Quantity of extensions to ring //; ring_type = Kind of RING (C=contemporaneous
2011 Jul 14
9
Extension wise dialplan
Hi all, I have n no. of extensions in my dialer. from 456 to 556 extensions. I was created 2 other extensions 667 and 668 I need to allow only STD calls to go from this extensions. These all extensions are same context . I need to define the STD dialplan for only this 2 extensions. how I can ? Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI |
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
Hello Guys, I'm somewhat of a newbie and am desperately seeking for some help... I've managed to get asterisk up and running on my server, and signed up with a broadvoice account... I'm having no problem dialing and communicating between extensions, but whenever anyone tries to call my broadvoice account, they are greeted by no ring or anything, but rather simply a direct to
2006 Feb 19
3
Loops and Variables
I have the following in my dialplan, counts the number of loops and when it hits greater then 5, exit. It works, but errors initially with, "syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_LP or tolken; Input: +1". Could somebody tell me why? Thanks: ; **************************************** ; Setup a varriable to count the number of ; times the message has been
2011 Mar 28
1
DTMF input while waiting in queue...
Hey all! I'm trying to figure out how to have a queue accept an inbound caller's key press to action on. At first I'm just trying to implement a "Press 1 to leave a voice mail" announced and at any time in the queue, the user can press 1 and go to the queue's voicemail. Later I'd like to have it accept "Press 1 if this is an x issue, press 2 if this a y
2005 Sep 01
1
dialparties.agi is returning no extensions to dial
Hi, I set up a ring group. I would like for people who select a certain voice menu option to ring a list of extensions (I have just one extension in there at the moment) and if it doesn't answer to go to an extension's voice mail. I am using a version of asterisk from CVS, last updated a couple of weeks ago. This line in extensions_addtional.conf sends the call to ringgroup 3 if
2007 Nov 26
3
Correct syntax for IF()?
Hello I've tried a bunch of things, but still get errors/warnings when using the IF() function: ============== TEST #1 exten => h,n,Set(WAV_FILE=${IF($[ ${STAT(e,/tmp/${CALLTIME}.wav)} ]?${CALLTIME}.wav)}) [Nov 26 21:52:34] WARNING[5074]: func_logic.c:107 acf_if: Syntax IF(<expr>?[<true>][:<false>]) ============== TEST #2 exten =>
2006 Jun 21
0
AW: syntax error
Hi, > Does anyone know why this row: > exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} != > ${RGPREFIX}]?4:3) took me some squinting, but the parantheses seem correct - so I presume the Asterisk parser can't cope with that convoluted an expression (using a function within a variable, basically). Try putting LEN(${RGPREFIX}) into a separate variable first, then refer
2005 Aug 02
12
WHat does it take
How many times do you ask for help here before getting a respone? Every single thing I do No matter what I get busy extensions. I am willing to pay someone to help here. Anybody got a clue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050802/d0d1326c/attachment.htm
2016 Aug 08
2
Trouble applying regex to dialplan variable that contains double-quotes
I am writing a dialplan context under asterisk 11.21.0 to handle SIP message routing between registered SIP peers using chan_sip. I am having trouble with double-quotes when the source peer uses a display name, which appears in quotes before the SIP URI. I want to extract the SIP URI from MESSAGE(from) in order to (conditionally) route a failure message back to the source peer. My test dialplan
2007 Aug 10
2
Dialplan loop
Folks, I'm trying to implement a simple loop in a dialplan. The object is to set a counter, run through some IVR options, increment the counter, return to the start, then finally fall through to an operator or voicemail. Am using 1.4.10 and have reviewed doc/ exten => s,1,Set(TIMEOUT(digit)=5) exten => s,n,Set(TIMEOUT(response)=20) exten => s,n,Set(loop = 0) exten =>
2009 Jan 08
4
AEL question: testing channel variables
Hi! I use the following condition: if (${FOOBAR}=YES) { ... } The problem is, that if FOOBAR is not defined at all Asterisk generates a warning: WARNING[11982]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =YES Of course I could use the following code, but this bloats up the code: if (${EXISTS(${FOOBAR})}) {
2012 May 02
3
parsing issue
I get an error when I execute this code exten => rejected,n,Hangup($[-1*${Z}]) May 2 13:42:09] WARNING[23128]: ast_expr2.fl:468 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input: -1* The variable "Z" has a negative number, which is the code that I need to use in the