Hi, I am experimenting with arrays in Asterisk. I am looking at https://wiki.asterisk.org/wiki/display/AST/Function_SHIFT and https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_ARRAY.
So for example I Do Set(FOO(1,2,3,4)=10,20,30,40) 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. Is this possible or am I looking at this wrong?
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users