[Kamailio-Users] add number to an avp ?

Brian brian at neotiq.com
Tue Sep 9 15:54:44 CEST 2008


Hi Francois,

You need to use the function avp_op of the module avpops:
avp_op("$avp(i:681)","add/i:1");

Hope this helps,

Brian

VoIP Consultant
Neotiq
http://www.neotiq.com/

On Tue, Sep 9, 2008 at 3:34 PM, BERGANZ François <
francois at acropolistelecom.net> wrote:

>  I need to add '1' to an avp like :
>
> $avp(i:681)=$avp(i:681)+1;
>
> but don't work!
>
> how to?
>
> thank you
>
>
>
>
>
>
>
>
>
>
>
>
>
> Cordialement
>
>
>
> BERGANZ François
>
> http://www.acropolistelecom.net
>
> TEL/FAX : 33 (0) 1 70 72 50 15
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080909/39707c04/attachment.htm>


More information about the sr-users mailing list