[asterisk-users] Storing a variable at a context and using it in another context

2011-10-24 Thread bilal ghayyad
Hi All; Is it possible to store a variable at context and using it in another context or in the MACRO? For example, how I can store the ${CALLERID(num)} in a variable and use it in another context or in a MACRO? Regards Bilal --

Re: [asterisk-users] Storing a variable at a context and using it in another context

2011-10-24 Thread Sammy Govind
Try using variables between macros and contexts without doing anything. It works fine for me in asterisk 1.6.13+. If not then use _ before variable name. On Mon, Oct 24, 2011 at 2:46 PM, bilal ghayyad bilmar...@yahoo.com wrote: Hi All; Is it possible to store a variable at context and using

Re: [asterisk-users] Storing a variable at a context and using it in another context

2011-10-24 Thread amit anand
Declare the global variable On Mon, Oct 24, 2011 at 15:16, bilal ghayyad bilmar...@yahoo.com wrote: Hi All; Is it possible to store a variable at context and using it in another context or in the MACRO? For example, how I can store the ${CALLERID(num)} in a variable and use it in another

Re: [asterisk-users] Storing a variable at a context and using it in another context

2011-10-24 Thread A J Stiles
On Monday 24 October 2011, bilal ghayyad wrote: Hi All; Is it possible to store a variable at context and using it in another context or in the MACRO? For example, how I can store the ${CALLERID(num)} in a variable and use it in another context or in a MACRO? Variables are local to channels