[asterisk-bugs] [Asterisk 0014498]: String operator ':' error with UTF8 code

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 19 08:53:20 CST 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14498 
====================================================================== 
Reported By:                ibercom
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   14498
Category:                   PBX/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 duplicate
Duplicate:                  0
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-02-18 07:43 CST
Last Modified:              2009-02-19 08:53 CST
====================================================================== 
Summary:                    String operator ':' error with UTF8 code
Description: 
I have a dialplan with:
exten=>_0.,1,GotoIf($["${CALLERID(name)}" : "Fax"]?cat4,${EXTEN},1)

If I use UTF8 code (Spanish in my case) this expression generate a error:

[Feb 18 11:55:23] WARNING[21600] ast_expr2.fl: ast_yyerror():  syntax
error: syntax error, unexpected '<token>', expecting $end; Input:
"Extension Campaña 20000" : "Fax"
                ^
[Feb 18 11:55:23] WARNING[21600] ast_expr2.fl: If you have questions,
please refer to doc/channelvariables.txt in the asterisk source.

It could be related to http://bugs.digium.com/view.php?id=14022.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0014022 AEL  &amp;macro(&quot;arg&quot;) with U...
====================================================================== 

---------------------------------------------------------------------- 
 (0100363) murf (administrator) - 2009-02-19 08:53
 http://bugs.digium.com/view.php?id=14498#c100363 
---------------------------------------------------------------------- 
Yes, this bug appears to be a duplicate of 14022; If you run the svn head
version of 1.4, or update a release that contains the fix, this problem
will go away.
(You could backport the fix to the source in your version, also, if you
are desperate enough!) See the other bug for the exact version number. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-19 08:53 murf           Note Added: 0100363                          
2009-02-19 08:53 murf           Status                   assigned => closed  
2009-02-19 08:53 murf           Resolution               open => duplicate   
======================================================================




More information about the asterisk-bugs mailing list