[asterisk-users] Re: Clearing variables in the dialplan?

2006-07-17 Thread Tomislav Parčina
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says...
 Hello all,
 
 Wanted to toss out a question that I've been looking into for some time now
 with no real results. When a variable is given a value in the dialplan, that
 obviously will take up a little memory. If you're running a rather
 large/complex dialplan, you may end up with variables you don't need after a
 while. What do you think is the best way to clear these out and free up
 memory? Currently I use:
 
   Set(varname=)
 
 To tell asterisk to set it to a null value. Any thoughts?

If those are channel variable, they should be cleared when you hang up.



--
Tomislav Parčina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: [EMAIL PROTECTED]
e-mail: tparcina#lama.hr
http://www.lama.hr
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Re: Clearing variables in the dialplan?

2006-07-17 Thread [EMAIL PROTECTED]
On Monday 17 July 2006 2:12 am, Tomislav Parčina wrote:

 If those are channel variable, they should be cleared when you hang up.

Thanks for the input, but I was thinking more in terms of clearing the 
variable during the call. I use temporary variables in my dialplans.

SKM

___
--Bandwidth and Colocation provided by Easynews.com --

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