<html><head/><body><html><head></head><body>You can have arrays of $vars too, though that is probably not what you meant by &quot;stacks&quot;.<br><br><div class="gmail_quote">&quot;Olle E. Johansson&quot; &lt;oej@edvina.net&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px"><br />19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" &lt;coyote@bks.tv&gt;:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Hi!<br /><br />whats difference $var() and $avp()?</blockquote><br />There's a whole set of differences.<br /><br />- $var is stored in process memory.<br /><br />- $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.<br /><br />- avp's are stacks, so you can store a set of data in them, not just one value.<br /><br />You can find out more details in the core cookbok on the web site.<br /><br />/O<br /><hr /><br />SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br />sr-users@lists.sip-router.org<br /><a
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br /></pre></blockquote></div><br>
--<br>
Sent from my Nexus 10, with all the figments of autocorrect that might imply.<br>
<br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a href="http://www.evaristesys.com">http://www.evaristesys.com</a>/, <a href="http://www.alexbalashov.com/">http://www.alexbalashov.com/</a></body></html></body></html>