Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-22 Thread Administrator TOOTAI
Le 22/03/2013 06:08, Satish Barot a écrit : > I found the problem, it's (I think) a bug with queue command. My > dialplan: > > [context] > ... > exten => 33123,n,macro(unpauseQueueMembers,q820,104,105,136,,) > exten => 33123,n(back2Queue),Queue(${myQueue},nit,,,14400

Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Satish Barot
> > > > I found the problem, it's (I think) a bug with queue command. My > > dialplan: > > > > [context] > > ... > > exten => 33123,n,macro(unpauseQueueMembers,q820,104,105,136,,) > > exten => 33123,n(back2Queue),Queue(${myQueue},nit,,,14400) > > exten => 33123,n,NoOp(Queue ${myQueue} call status i

Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Richard Mudgett
> > On Thu, 21 Mar 2013, Administrator TOOTAI wrote: > > > >> I have a variable created like > >> > >> ... Set(__myVar=${ARG1}) > >> ... Set(__${myVar}STATUS=) > >> > >> If ARG1 is abcd, variable is abcdSTATUS and should be empty. This > >> is OK. > >> > >> Now I would like to get the value of abcd

Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Administrator TOOTAI
Le 21/03/2013 20:27, Steve Edwards a écrit : On Thu, 21 Mar 2013, Administrator TOOTAI wrote: I have a variable created like ... Set(__myVar=${ARG1}) ... Set(__${myVar}STATUS=) If ARG1 is abcd, variable is abcdSTATUS and should be empty. This is OK. Now I would like to get the value of abcdS

Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Steve Edwards
On Thu, 21 Mar 2013, Administrator TOOTAI wrote: I have a variable created like ... Set(__myVar=${ARG1}) ... Set(__${myVar}STATUS=) If ARG1 is abcd, variable is abcdSTATUS and should be empty. This is OK. Now I would like to get the value of abcdSTATUS. How to do it? ${${myVar}STATUS}} isn't

Re: [asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Asghar Mohammad
hi, ${myVar}STATUS is empty you have not assign any value here your var Set(__${myVar}STATUS=) is empty. use instead Set(__myVar=${ARG1}STATUS) and remove second line. On Thu, Mar 21, 2013 at 7:45 PM, Administrator TOOTAI wrote: > Hello, > > I have a variable created like > > ... Set(__myVar=${A

[asterisk-users] Howto create variable from the name of another one and get content of it

2013-03-21 Thread Administrator TOOTAI
Hello, I have a variable created like ... Set(__myVar=${ARG1}) ... Set(__${myVar}STATUS=) If ARG1 is abcd, variable is abcdSTATUS and should be empty. This is OK. Now I would like to get the value of abcdSTATUS. How to do it? ${${myVar}STATUS}} isn't working, nor ${{myvar}STATUS} Thanks for