[OpenSIPS-Devel] [opensips] How to get the size of avp? (#585)

Bogdan Andrei IANCU notifications at github.com
Tue Aug 4 14:11:01 CEST 2015


@was4444 , it is safe to do overflow of the index - you will simply get a null value back.

To actually count the number of values the AVP holds, see the set_count() function:
     http://www.opensips.org/html/docs/modules/2.1.x/cfgutils.html#id293905

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/585#issuecomment-127579698
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150804/c6a9768c/attachment-0001.htm>


More information about the Devel mailing list