Re: [asterisk-users] Arrays in Asterisk

2021-12-22 Thread Steve Edwards
On Wed, 22 Dec 2021, Steve Edwards wrote: same = n, set(ARRAY(foo1,foo2,foo3,foo4)=1,2,3,4) Just to be clear... The use of sequential ascending numbers in all of the examples should not be construed as having any meaning. You could just as easily have: same = n,

Re: [asterisk-users] Arrays in Asterisk

2021-12-22 Thread Steve Edwards
On Wed, 22 Dec 2021, Dovid Bender wrote: 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

[asterisk-users] Arrays in Asterisk

2021-12-22 Thread Dovid Bender
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