[Asterisk-Users] Global variables - collision?

Koen Van Impe koenvi at gmail.com
Wed May 31 05:39:09 MST 2006


If I edit the value of a global variable in my dialplan, could there be a
risk of collision between calls?

More in details: could a global var be used to build a counter that will be
incremented by every call that passes.
I think when 2 calls come in almost sumiltaneously, they could both be
incrementing and saving the same value... which is bad!

Anybody knows how asterisk handles this?

K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060531/041dc028/attachment.htm


More information about the asterisk-users mailing list