Displaying 20 results from an estimated 56 matches for "ast_expr2".
Did you mean:
ast_expr
2005 Aug 29
2
Asterisk Compile error - x86_64
Asterisk has this error on compile:
flex ast_expr2.fl
"ast_expr2.fl", line 50: unrecognized %option: reentrant
"ast_expr2.fl", line 51: unrecognized %option: bison-bridge
"ast_expr2.fl", line 52: unrecognized %option: bison-locations
make: *** [ast_expr2f.c] Error 1
2.6.12-1.1447_FC4smp #1 SMP
bison (GNU Bison) 2.0...
2007 Nov 26
3
Correct syntax for IF()?
...E}.wav)}
]?${CALLTIME}.wav)})
[Nov 26 21:52:34] WARNING[5074]: func_logic.c:107 acf_if: Syntax
IF(<expr>?[<true>][:<false>])
============== TEST #2
exten =>
h,n,Set(WAV_FILE=${IF($[STAT(e,/tmp/${CALLTIME}.wav)]?${CALLTIME}.wav:"")})
[Nov 26 22:02:23] WARNING[5101]: ast_expr2.fl:398 ast_yyerror:
ast_yyerror(): syntax error: syntax error, unexpected '(', expecting
$end; Input:
STAT(e|/tmp/.wav)
^
[Nov 26 22:02:23] WARNING[5101]: ast_expr2.fl:402 ast_yyerror: If you
have questions, please refer to doc/channelvariables.txt in the
asterisk source.
============...
2006 Dec 13
1
Problem with asterisk 1.4 Installation (undefined reference to `ast_copy_string')
Hi.
After successfully running ./configure I run make. When running make I get
the
following error..
[CC] ast_expr2f.c -> ast_expr2f.o
[CC] ast_expr2.c -> ast_expr2.o
[CC] strcompat.c -> strcompat.o
[LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o
strcompat.o -> aelparse
aelparse.o(.text+0x3029): In function `ael_yylex':
/usr/src/asterisk1/asterisk-1.4.0-beta3/uti...
2015 Aug 07
3
compose_func_args: argbuf allocated 4 bytes compose_func_args: argbuf uses 3 bytes
...7 12:31:26] -- Executing [ivr at pbx-routing:8]
BackGround("SIP/SipAgenT-00000626", "/var/lib/asterisk/sounds/5003") in
new stack
[Aug 7 12:31:26] -- <SIP/SipAgenT-00000626> Playing
'/var/lib/asterisk/sounds/5003.slin'
[Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:763 compose_func_args:
argbuf allocated 4 bytes;
[Aug 7 12:31:41] NOTICE[3886]: ast_expr2.y:782 compose_func_args:
argbuf uses 3 bytes;
[Aug 7 12:31:41] -- Executing [911 at pbx-routing:1]
Set("SIP/SipAgenT-00000626", "choice=91") in new stack
I have reloaded the d...
2016 Aug 08
2
Trouble applying regex to dialplan variable that contains double-quotes
...t;")
exten => _X.,n,Set(T1="Example name" <sip:example at example.com>)
If I just apply the regex operator (:) on T1 using regexp RX, like this:
exten => _X.,n,Set(FROM_SIPURI=$[${T1}:${RX}])
...I get this syntax error:
[2016-08-08 15:04:02] WARNING[1653][C-00000000]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ':', expecting '-' or '!' or '(' or '<token>'; Input:
"Example name" <sip:example at example.com>:".*<(.+)>"...
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.
Any ideas?
a
Thank you
Dov
---...
2006 Apr 07
2
gotoif
...otoIf($[${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...
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:
= 1
^
Apr 7 01:32:13 WARNING[24248]: ast_expr2.fl:187 ast_yyerror: If you have
questions, please refer to doc/README.variables in the asterisk source....
2007 Aug 10
2
Dialplan loop
...xten => s,n,Background(our-business-hours-are)
...
exten => s,n,Set(loop = $[${loop} + 1])
exten => s,n,GotoIf(${loop} = 1 ?night)
exten => s,n,Voicemail(1016)
exten => s,n(day),Background(silence/1)
The above loop increment doesn't work. The error message is:
WARNING[14490]: ast_expr2.fl:398 ast_yyerror: ast_yyerror(): syntax
error: syntax error, unexpected '+', expecting $end; Input:
+ 1
^
WARNING[14490]: ast_expr2.fl:402 ast_yyerror: If you have questions,
please refer to doc/channelvariables.txt in the asterisk source.
OK, and doc/channelvariables.txt shows:
exten...
2006 Oct 13
2
AEL Question
...theChannel=Cut(AVAILCHAN|-|1);
NoOp(Now Calling ${MACRO_EXTEN} on ${theChannel}....);
// --
Dial(${theChannel}/${MACRO_EXTEN:${TRUNKMSD}});
};
};
... I get:
-- Executing macro("SIP/162-4c8b", "newPlaceCallPSTN")
Oct 13 08:57:22 WARNING[15320]: ast_expr2.fl:183 ast_yyerror:
ast_yyerror(): syntax error: syntax error, unexpected TOK_GT, expecting
TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
> { TIMEOUT(absolute)=7200; NoOp(Analog Out List:
ZAP/4&ZAP/3&ZAP/2&ZAP/1);
ChanIsAvail(ZAP/4&ZAP/3&ZA...
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})}) {
if (${FOOBAR}=YES) {
...
}
}
Is there another syntax to have nice...
2005 Sep 29
1
files conflict after CVS update
Hi all,
I just updated zaptel and asterisk, but after doing CVS update of asterisk
(from CVS-HEAD 2005-08-10 17:10:53) I got a file conflict message
conflicts:
ast_expr2.h
ast_expr2f.c
I ignored them, and then tried to compile asterisk: make clean, make , make
install. But then the problem shows again, leaving this message:
ast_expr2f.c:1784: warning: no previous prototype for `ast_yyget_column'
ast_expr2f.c:1860: warning: no previous prototype for `ast_yyset...
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
Dov
------...
2010 Sep 09
1
syntax error, unexpected '<token>'
...= ${STATUS})
exten => pbx,n,GoToIf($["${STATUS}"="congestion"]?backup:nocongestion)
CLI :
[Sep 9 12:27:07] -- Executing [pbx at 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...
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 hangup.
Any idea how can I do t...
2008 Apr 15
1
gotoif syntax error
Asterisk is reporting the following error:
[Apr 15 16:58:32] WARNING[14759] ast_expr2.fl: ast_yyerror(): syntax error:
syntax error, unexpected ':', expecting $end; Input:
: Always
^
here is the dialplan:
exten => OUT,1,Gotoif($[$["${DB(AMPUSER/${ARG1}/recording)}" :
"out=([^|]+)"] = Always]?r,1)
exten => GROUP,1,Gotoif($[$["${DB(AMPUSER/${ARG...
2015 May 20
2
CHANNEL(aor) CHANNEL(contact) return nothing
...ublic:2] NoOp("PJSIP/jdg-0000001f",
"Channel=<PJSIP/jdg-0000001f>, type=<PJSIP>") in new stack
-- Executing [*98 at public:3] NoOp("PJSIP/jdg-0000001f", "AOR=<>,
contact=<>") in new stack
[May 19 18:44:11] NOTICE[1476][C-0000001f]: ast_expr2.y:763
compose_func_args: argbuf allocated 12 bytes;
[May 19 18:44:11] NOTICE[1476][C-0000001f]: ast_expr2.y:782
compose_func_args: argbuf uses 11 bytes;
[May 19 18:44:11] NOTICE[1476][C-0000001f]: ast_expr2.y:763
compose_func_args: argbuf allocated 6 bytes;
[May 19 18:44:11] NOTICE[1476][C-0000001f...
2005 Aug 29
2
Compile problem with 1.2 beta 1
...e/asterisk/version.h.tmp
build_tools/mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c alaw.c app.c
asterisk.c ast_expr2.c ast_expr2f.c astmm.c autoservice.c callerid.c
cdr.c channel.c chanvars.c cli.c config.c config_old.c db.c
devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c enum.c file.c frame.c
fskmodem.c image.c indications.c io.c jitterbuf.c loader.c logger.c
manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c p...
2006 Jun 26
0
AEL scripting, CUT use and string concatenation
.../1234-100-b263", "x=1") in new stack
-- Executing GotoIf("SIP/1234-100-b263", "1?9:21") in new stack
-- Goto (macro-pbx-ring-group-ael,s,9)
-- Executing Set("SIP/1234-100-b263", "x=2") in new stack
Jun 26 17:17:24 WARNING[31282]: ast_expr2.fl:176 ast_yyerror:
ast_yyerror(): syntax error: syntax error, unexpected $end, expecting
TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
^
Jun 26 17:17:24 WARNING[31282]: ast_expr2.fl:180 ast_yyerror: If you
have questions, please refer to doc/README.variables in the asterisk source....
2019 Oct 01
2
Increasing variables - Changes v13 vs v16
Hi list,
on asterisk 13 I use
same => n,Set(__myCpt=$[${myCpt} + 1])
which is working well. On an Asterisk 16 I get, for this same command
[2019-10-01 16:15:01] WARNING[28197][C-00000008]: ast_expr2.fl:470
ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '+',
expecting $end; Input:
+ 1
^
What changes in 16 version creates this behavior and how to get it work ?
Thanks for any hint
--
Daniel
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?