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 writes:
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?
this may cause it:
in 1.1: From URI can contain special characters % and _ matching any number of any characters and any one character, respectively, if db_mod parameter is set to 0. If db_mod parameter is set to 1, then From URI is a regular expression.
in 1.2: From URI is a regular expression. Empty From URI pattern matches any From URI.
-- juha
On Thu, Mar 20, 2008 at 1:15 AM, Juha Heinanen jh@tutpro.com wrote:
Kristian Kielhofner writes:
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?
this may cause it:
in 1.1: From URI can contain special characters % and _ matching any number of any characters and any one character, respectively, if db_mod parameter is set to 0. If db_mod parameter is set to 1, then From URI is a regular expression.
in 1.2: From URI is a regular expression. Empty From URI pattern matches any From URI.
-- juha
Juha,
That was it, thanks!