<div dir="ltr">Hi,<br><div><br>I am experimenting with arrays in Asterisk. I am looking at <a href="https://wiki.asterisk.org/wiki/display/AST/Function_SHIFT">https://wiki.asterisk.org/wiki/display/AST/Function_SHIFT</a> and <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_ARRAY">https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_ARRAY</a>.</div><div><br></div><div>So for example I Do Set(FOO(1,2,3,4)=10,20,30,40)</div><div><br></div><div>What would be the correct way to get both the key and value into an array? I want to say for instance OPT=1 and then OPT_VAL=10. Then on the next interaction for OPT=2 and OPT_VAL=20 etc.</div><div><br></div><div>Is this possible or am I looking at this wrong?</div><div><br></div><div><br></div></div>