Hello, A few years ago Bogdan did an update<https://github.com/OpenSIPS/opensips/commit/d0d05907099add7666e31820b4b9ecd2d4c85e7e> to route_to_gw() that ignores a gateway when it is disabled. The problem I'm running into now is that if I try to route to a gateway that is disabled, I get an error message:
ERROR:drouting:route2_gw: no GW added at all I had asked around that time<http://lists.opensips.org/pipermail/users/2020-April/042755.html> if there was a way to detect the status of a gateway within the script, and then it seemed if we could simply not route to one that was down, the problem was solved. True, except for polluting the log with errors of down gateways. That's what I'm trying to avoid now. Then it was on 2.4.7, and now on 3.4.9. Is there a way today that I can avoid calling route_to_gw() on a gateway that's down, or at least avoid the error message if it is? Regards, Jeff This message is subject to Fusion Connect, Inc.'s email communication policy: www.fusionconnect.com/email-policy
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
