[sr-dev] scope of AVPs (AVP defined when execution of script starts)
Daniel-Constantin Mierla
miconda at gmail.com
Mon Aug 31 10:31:59 CEST 2009
On 29.08.2009 16:25 Uhr, Juha Heinanen wrote:
> Jan Janak writes:
> >
> > What kind of AVP is this? Where is its value defined? If it is a
> > global AVP (defined in global_attrs table) then what you see could be
> > correct. Global AVPs are always present.
>
> this avp is has been loaded from db using avpops avp_db_function.
i tried with avp_db_query() and it gets reseted. Can you paste the cfg
line that does the loading and tell in which kind of route you do it?
Cheers,
Daniel
> after
> starting sr, first message xlog prints null avp value, but subsequent
> messages print whatever value the previous one loaded to this avp.
>
> > Provided that this is an AVP with string name (If I am not mistaken
> > then the ser version of xlog module does not support AVPs with integer
> > names).
>
> this avp has integer name.
>
> i'm pretty sure that in k, these kind of avps used to undefined for each
> new transaction.
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-dev
mailing list