[Asterisk-Users] context wide variable scope

2005-01-14 Thread Jeremy Hinton
	Maybe i missed this somewhere, but is it possible to define a variable 
with a scope of the current context? I know i can define a system wide 
variable, and i can define one that is valid for the duration of the 
channel, but is it possible to define a variable that comes into scope 
for every channel that comes into a context? I don't think so, but i 
wanted to make sure.

- jeremy
--
Jeremy Hinton A little nonsense
Senior Network Manager   now and then
Continental VisiNet Broadband   is relished by
[EMAIL PROTECTED]the wisest men
757 873 4500
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] context wide variable scope

2005-01-14 Thread Steven Critchfield
On Fri, 2005-01-14 at 14:13 -0500, Jeremy Hinton wrote:
   Maybe i missed this somewhere, but is it possible to define a variable 
 with a scope of the current context? I know i can define a system wide 
 variable, and i can define one that is valid for the duration of the 
 channel, but is it possible to define a variable that comes into scope 
 for every channel that comes into a context? I don't think so, but i 
 wanted to make sure.

You can if you use the DB functions, kind of. If you could better
describe an example of your problem, there may be better/other solutions
for you to use.  
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users