[asterisk-users] Strip prefix
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Oct 17 11:15:25 CDT 2008
On Friday 17 October 2008 10:32:30 michel freiha wrote:
> I tried to put + before the x like _+X but when making a call i got the
> following error:
>
> <------------>
> [Oct 17 15:08:58] WARNING[17532]: ast_expr2.fl:407 ast_yyerror:
> ast_yyerror(): syntax error: syntax error, unexpected '+', expecting $end;
> Input:
> +9613089187 = 111
>
> > michel freiha wrote:
> > > Dear All,
> > >
> > > i have the following context defines in etensions.conf:
> > >
> > >
> > > [a2billing]
> > > exten => _X.,1,Gotoif($[${EXTEN} = 111] ? 21)
Change this to:
exten => _X.,1,Gotoif($["${EXTEN}" = "111"] ? 21)
--
Tilghman
More information about the asterisk-users
mailing list