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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 6 13:42:35 CST 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-06 13:42 CST
====================================================================== 
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

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

---------------------------------------------------------------------- 
 (0101314) mmichelson (administrator) - 2009-03-06 13:42
 http://bugs.digium.com/view.php?id=14609#c101314 
---------------------------------------------------------------------- 
I've assigned this to tilghman since this seems like something he'd be able
to address easily. Tilghman, if you think I've misassigned this, let me
know. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-06 13:42 mmichelson     Note Added: 0101314                          
======================================================================




More information about the asterisk-bugs mailing list