[SR-Users] var vs avp...

Vitaliy Aleksandrov vitalik.voip at gmail.com
Fri Apr 19 10:54:52 CEST 2013


On 04/19/2013 11:43 AM, Victor V. Kustov wrote:
> Hi!
>
> whats difference $var() and $avp()?
>
$var()  - is bound to a kamailio process. If you set $var(xxx) for a one 
request/reply, it will be available during processing other messages.
$avp() - is bound to a transaction. If you set $avp(xxx) for an INVITE, 
it will be available for replies for that INVITE if it was sent in a 
stateful way (t_relay)



More information about the sr-users mailing list