19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" <coy...@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

Reply via email to