[asterisk-bugs] [Asterisk 0014609]: Set(ARRAY(var1, var2)=1, 2) not working
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Mar 9 12:06:06 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: feedback
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-09 12:06 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
======================================================================
----------------------------------------------------------------------
(0101398) tilghman (administrator) - 2009-03-09 12:06
http://bugs.digium.com/view.php?id=14609#c101398
----------------------------------------------------------------------
peterh: correct, as it should be. The O'Reilly book is documenting
behavior in 1.4, not 1.6.
Issue History
Date Modified Username Field Change
======================================================================
2009-03-09 12:06 tilghman Note Added: 0101398
======================================================================
More information about the asterisk-bugs
mailing list