[asterisk-bugs] [Asterisk 0014609]: Set(ARRAY(var1, var2)=1, 2) not working

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 8 04:45:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14609 
====================================================================== 
Reported By:                peterh
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14609
Category:                   Functions/func_strings
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-05 03:01 CST
Last Modified:              2009-03-08 04:45 CDT
====================================================================== 
Summary:                    Set(ARRAY(var1,var2)=1,2) not working
Description: 
[arraytest]
exten => s,1,Set(ARRAY(var1,var2)=1\,2)
exten => s,n,NoOp(<${var1}><${var2}>)
exten => s,n,Set(ARRAY(var1,var2)="1,2")
exten => s,n,NoOp(<${var1}><${var2}>)
exten => s,n,Set(ARRAY(var1,var2)=1,2)
exten => s,n,NoOp(<${var1}><${var2}>)
exten => s,n,Hangup

[default]
exten => 0123456,n,Goto(arraytest,s,1)



-- Executing [s at arraytest:1] Set("DAHDI/31-1", "ARRAY(var1,var2)=1\,2") in
new stack
-- Executing [s at arraytest:2] NoOp("DAHDI/31-1", "<1><2>") in new stack
-- Executing [s at arraytest:3] Set("DAHDI/31-1", "ARRAY(var1,var2)="1,2"")
in new stack
-- Executing [s at arraytest:4] NoOp("DAHDI/31-1", "<1><2>") in new stack
-- Executing [s at arraytest:5] Set("DAHDI/31-1", "ARRAY(var1,var2)=1,2") in
new stack
[Mar  5 10:01:48] WARNING[901]: pbx.c:8122 pbx_builtin_setvar_multiple:
MSet: ignoring entry '2' with no '=' (in s at arraytest:5
-- Executing [s at arraytest:6] NoOp("DAHDI/31-1", "<1><>") in new stack
-- Executing [s at arraytest:7] Hangup("DAHDI/31-1", "") in new stack

====================================================================== 

---------------------------------------------------------------------- 
 (0101338) wdoekes (reporter) - 2009-03-08 04:45
 http://bugs.digium.com/view.php?id=14609#c101338 
---------------------------------------------------------------------- 
http://bugs.digium.com/view.php?id=14614
is a duplicate of this bug.

That one addresses version 1.4-svn and is miscategorized in func_odbc
(using func_odbc was when I first encountered the problem).

Someone may safely close bug 14614 if any fix is applied to 1.4 as well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-08 04:45 wdoekes        Note Added: 0101338                          
======================================================================




More information about the asterisk-bugs mailing list