Hello,
to my knowledge, there is no alternative to config loop at this moment. It
can be added as a function (but careful with the return 0 behaviour, which
is equivalent of exit config execution) or as a variable.
For SIP message headers I added a while ago the $hdrc(...) which returns
the count of headers by name.
Cheers,
Daniel
On Mon, Jan 18, 2021 at 5:49 PM Chaigneau, Nicolas <
nicolas.chaigneau(a)capgemini.com> wrote:
Hello,
I’m looking for a way to retrieve the number of rows stored in a xavp.
(Something better than manually iterating over the xavp)
Basically, I’d like to call xavp_count from the script.
Is that possible ?
Regards,
Nicolas.
This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
https://www.asipto.com
https://twitter.com/miconda -
https://www.linkedin.com/in/miconda
Kamailio Advanced Training -
https://www.asipto.com/u/kat