Re: [asterisk-users] Variable Scope Question

2008-11-06 Thread Tilghman Lesher
On Thursday 06 November 2008 11:41:08 Brent Davidson wrote: > Tilghman Lesher wrote: > > [companyA] > > exten => _X.,1,Set(company=A) > > exten => _X.,n,Goto(maincontext,${EXTEN},1) > > > > [companyB] > > exten => _X.,1,Set(company=B) > > exten => _X.,n,Goto(maincontext,${EXTEN},1) > > I should pro

Re: [asterisk-users] Variable Scope Question

2008-11-06 Thread Brent Davidson
Tilghman Lesher wrote: > [companyA] > exten => _X.,1,Set(company=A) > exten => _X.,n,Goto(maincontext,${EXTEN},1) > > [companyB] > exten => _X.,1,Set(company=B) > exten => _X.,n,Goto(maincontext,${EXTEN},1) > > I should probably also mention that I am using AEL for my dialplan. (i'm a programm

Re: [asterisk-users] Variable Scope Question

2008-11-06 Thread Tilghman Lesher
On Thursday 06 November 2008 10:12:11 Brent Davidson wrote: > If I have a global variable in my dialplan and I change it, does that > change immediately take affect for all calls that are active? > > Here is my situation. The company I work for has two office groups that > share a building. The t

Re: [asterisk-users] Variable Scope Question

2008-11-06 Thread Atis Lezdins
On Thu, Nov 6, 2008 at 6:12 PM, Brent Davidson <[EMAIL PROTECTED]> wrote: > If I have a global variable in my dialplan and I change it, does that > change immediately take affect for all calls that are active? > > Here is my situation. The company I work for has two office groups that > share a bu

[asterisk-users] Variable Scope Question

2008-11-06 Thread Brent Davidson
If I have a global variable in my dialplan and I change it, does that change immediately take affect for all calls that are active? Here is my situation. The company I work for has two office groups that share a building. The two offices are separate companies but support one another and want