[SR-Users] Kamailio LCR Multiple choices

Juha Heinanen jh at tutpro.com
Mon Jun 1 12:01:14 CEST 2015


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



More information about the sr-users mailing list