<div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>For SIP message headers I added a while ago the $hdrc(...) which returns the count of headers by name.</div><div><br></div><div>Cheers,</div><div>Daniel</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 5:49 PM Chaigneau, Nicolas <<a href="mailto:nicolas.chaigneau@capgemini.com">nicolas.chaigneau@capgemini.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="FR">
<div class="gmail-m_-7313055994232596618WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m looking for a way to retrieve the number of rows stored in a xavp.<u></u><u></u></p>
<p class="MsoNormal">(Something better than manually iterating over the xavp)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Basically, I’d like to call xavp_count from the script.<u></u><u></u></p>
<p class="MsoNormal">Is that possible ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Nicolas.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p></p>

<p></p>

<p></p>

<p style="font-size:9px">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.</p></div>

_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Daniel-Constantin Mierla - <a href="https://www.asipto.com" target="_blank">https://www.asipto.com</a></div><div><a href="https://twitter.com/miconda" target="_blank">https://twitter.com/miconda</a> - <a href="https://www.linkedin.com/in/miconda" target="_blank">https://www.linkedin.com/in/miconda</a></div><div>Kamailio Advanced Training - <a href="https://www.asipto.com/u/kat" target="_blank">https://www.asipto.com/u/kat</a></div></div></div></div></div></div></div>