[OpenSIPS-Users] $var scope clarification

Brett Nemeroff brett at nemeroff.com
Tue Apr 13 15:07:47 CEST 2010


Hello All,
I've always been hesitant to use $var type variables over avps since
they have a scope that spans the whole process.. Most of my need for
variables is transactional. I'm just concerned about race conditions.
Am I misunderstanding their scope? ie: $var(customer) is going to
change from transaction to transaction and having that shared across
an entire process wouldn't be good..


Thanks for your insight.. :)
-Brett



More information about the Users mailing list