So, I found that, in my database, I extract a varchar, so, I can’t add+1 to a varchar!

Thank you

 

 

Cordialement

 

BERGANZ François

http://www.acropolistelecom.net

TEL/FAX : 33 (0) 1 70 72 50 15

 

De : pqminh@gmail.com [mailto:pqminh@gmail.com] De la part de Brian
Envoyé : mardi 9 septembre 2008 15:55
À : BERGANZ François
Cc : users@lists.kamailio.org
Objet : Re: [Kamailio-Users] add number to an avp ?

 

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@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@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users