You can have arrays of $vars too, though that is probably not what you meant by "stacks".
"Olle E. Johansson" oej@edvina.net wrote:
19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" coyote@bks.tv:
Hi!
whats difference $var() and $avp()?
There's a whole set of differences.
$var is stored in process memory.
$avp is stored in transactions (in shared memory), so if you set them
while processing a request you have them when processing responses and failures.
- avp's are stacks, so you can store a set of data in them, not just
one value.
You can find out more details in the core cookbok on the web site.
/O _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Sent from my Nexus 10, with all the figments of autocorrect that might imply.
Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/