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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 5 03:01:37 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14609 
====================================================================== 
Reported By:                peterh
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14609
Category:                   Functions/func_strings
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-05 03:01 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-05 03:01 peterh         New Issue                                    
2009-03-05 03:01 peterh         Asterisk Version          => 1.6.0.6         
2009-03-05 03:01 peterh         Regression                => No              
2009-03-05 03:01 peterh         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list