[OpenSIPS-Users] dp_translate performance

M S medeanwz at gmail.com
Sat May 3 09:27:08 UTC 2025


Hi guys,
Has anybody done any performance metrics for dp_translate? For example, to
check 1,000,000 numbers with dp_translate, how much delay is added?
How better is it to use a
for(i=0 to 1000000) {
  if($sql_cached_value(c_features:disabled:$fU)<>NULL
|| $sql_cached_value(c_features:disabled:$rU)) {
      send_reply(503);
  }
}

instead of just a:

if(dp_translate($fU) || dp_translate($rU)) {
  send_reply(503);
}

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250503/443447b7/attachment.html>


More information about the Users mailing list