[Users] new avpops

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Feb 13 15:38:10 CET 2006


Hello,

indeed there was an issue in avp_pushto() - a transformation from "while 
{}" in "do {} while ()" was brocken. It is now fixed on cvs. You can use 
the attached patch until the pserver CVS gets synchronized.

Thanks,
Daniel


On 02/13/06 16:03, Helge Waastad wrote:
> Hi,
> earlier I had:
> modparam("avpops","avp_aliases","ouri=i:704")
> I did (before lcr processing):
> avp_write("$ruri/username","$ouri");
>
> [LCR processing]
>
> (put back the original)
> avp_pushto("$ruri/username","$ouri");
>
> now I'm using:
> avp_write("$oU","$avp(ouri)");
>
> [LCR prcessing]
>
> (try to write back the old username)
> avp_pushto("$ru/username","$avp(ouri)");
>
> This does not work...
> I'm not quite sure if I'm using the new format correct.
>
> br hw
>
>
>   
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avpops_impl.c.patch
Url: http://lists.kamailio.org/pipermail/users/attachments/20060213/523ffa92/attachment.txt 


More information about the Users mailing list