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

Tomislav Parčina tparcina at lama.hr
Sun Jul 16 23:12:59 MST 2006


In article <20060714210157.B427A395CBFF at smtp-2.hotpop.com>, rushowr at phreaker.net 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: tomo at pbx.lama.hr
e-mail: tparcina#lama.hr
http://www.lama.hr



More information about the asterisk-users mailing list