<p>Hi Brett,</p>

<p>In <a href="http://www.opensips.org/Documentation/Interface-CoreStatistics-1-11">http://www.opensips.org/Documentation/Interface-CoreStatistics-1-11</a>, you can find how to use $stat to get load statistics. For dynamically getting load info, you can try</p>

<p>$avp(Rip) = $Ri + ":" + $Rp;<br>
xlog("The UDP load on $avp(Rip) $stat(udp:$avp(Rip)-load) \n");</p>

<p>It may not be the best way, but it works.</p>

<p>Regards,</p>

<p>Di-Shi</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/362#issuecomment-59681313">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyOTM5Njc5NSwiZGF0YSI6eyJpZCI6NDYwODkzNDl9fQ==--587525adafc14006932f128114b45eb30d19a850.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/issues/362#issuecomment-59681313","name":"View Issue"}}</script>