<div dir="ltr">Hi Francois,<br><br>You need to use the function avp_op of the module avpops:<br>avp_op("<span lang="EN-US">$avp(i:681)</span>","add/i:1");<br><br>Hope this helps,<br><br>Brian<br><br>VoIP Consultant<br>
Neotiq<br><a href="http://www.neotiq.com/">http://www.neotiq.com/</a><br><br><div class="gmail_quote">On Tue, Sep 9, 2008 at 3:34 PM, BERGANZ François <span dir="ltr"><<a href="mailto:francois@acropolistelecom.net">francois@acropolistelecom.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR">
<div>
<p><span lang="EN-US">I need to add '1' to an avp
like : <br>
<br>
$avp(i:681)=$avp(i:681)+1; <br>
<br>
but don't work! <br>
<br>
how to? <br>
<br>
thank you</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US"> </span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;" lang="EN-US"> </span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;">Cordialement</span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;"> </span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;">BERGANZ
François</span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;"><a href="http://www.acropolistelecom.net" target="_blank">http://www.acropolistelecom.net</a></span></p>
<p><span style="font-size: 10.5pt; font-family: Consolas;">TEL/FAX
: 33 (0) 1 70 72 50 15</span></p>
<p> </p>
</div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>