execute in config:

load_gws(1);

if (next_gw()) {
   xlog("L_INFO", "r-uri is <$ru>\n");
} else {
   xlog("L_INFO", "no more gateways>\n");
}

if (next_gw()) {
   xlog("L_INFO", "r-uri is <$ru>\n");
} else {
   xlog("L_INFO", "no more gateways>\n");
}

if (next_gw()) {
   xlog("L_INFO", "r-uri is <$ru>\n");
} else {
   xlog("L_INFO", "no more gateways>\n");
}

if (next_gw()) {
   xlog("L_INFO", "r-uri is <$ru>\n");
} else {
   xlog("L_INFO", "no more gateways>\n");
}

and tell what came to syslog.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to