Hello everyone,
In OpenSER 1.1 the following route block worked perfectly:
route[5] {
# LCR PSTN handler
xlog("$rm $si $ru $ci - LCR - Starting\n");
if (!load_gws()) {
xlog("$rm $si $ru $ci - LCR - Error in load_gw, setting engerr 21\n");
avp_printf("$avp(s:engerr)", "21");
route(15);
};
if (!next_gw()) {
xlog("$rm $si $ru $ci - LCR - Error in next_gw, setting engerr 22\n");
avp_printf("$avp(s:engerr)", "22");
route(15);
};
t_on_failure("5");
xlog("$rm $si $ru $ci - LCR - Sending to $td\n");
route(1);
}
In OpenSER 1.2.3 it fails on next_gw() every time but I am unable to
find out why. I used the new convert option to mysqldb.sh and I think
my LCR tables are ok. I tried turning up the verbosity but I couldn't
see anything relevant to LCR. What could be going on here?
Thanks!
--
Kristian Kielhofner