Asim Riaz writes:
could you please send your configuration for the lcr so i can compare to with my config just to make sure nothing wrong in my kamailio.cfg
i first call load_gws on an uri that i want to use to make gw selection. if that call succeeds, i call next_gw() and if that call succeeds, i have found at least one gw for the uri.
-- juha
for example:
if (!load_gws("$ru")) { xlog("L_ERR", "ERROR: Cannot load gws for $rm <$ru>\n"); sl_send_reply("500", "Server Internal Error - Cannot load gateways"); exit; }; if (!next_gw()) { xlog("L_WARN", "WARN: No gateways for $rm <$ru>\n"); sl_send_reply("503", "Service not available - No gateways"); exit; };