Tzafrir Cohen schrieb:
On Tue, May 16, 2006 at 01:09:41AM +0200, Bastian Schern wrote:
Hello,

is it possible to delete global variables during runtime?

Is setting the variable to an empty value good enough? How do you use
it?


I will use it to check if a Caller has already a open connection to a
specific destination.

In that moment I use e.g. Set(active_${CALLERIDNUM}=1|g) to set a global
variable in my dialplan. After the caller hung up I will use
Set(active_${CALLERIDNUM}=|g) to remove my global variable
"active_${CALLERIDNUM}".

Is the Memory space of variable really free? Or will I rise into a memory problem if I do so?

Regards
        Bastian

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.7394 from 16.05.2006
Virus news: www.antiviruslab.com


_______________________________________________
--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

Reply via email to