Hi list,
I am trying to implement the carrierroute module to kamailio 1.4.1-notls.
I added the failure routes to the carrierfailureroute table and on the
kamailio.cfg file I add the following modparam, that I thought it would be
necessary, but when I start again Kamailio, it doesn't start.
I got the following error:
Jan 19 14:05:07 localhost kamailio: ERROR:core:set_mod_param_regex:
parameter <db_failuretable> not found in module <carrierroute>
Jan 19 14:05:07 localhost kamailio: CRITICAL:core:yyerror: parse error in
config file, line 125, column 20-21: Can't set module parameter
Jan 19 14:05:07 localhost kamailio: ERROR:core:main: bad config file (1
errors)
Here are the modparam code that I use on my kamailio.cfg file,
105 # ---- carrierroute params -----
106 modparam("carrierroute", "db_url",
"mysql://openserro:openserro@localhost/openser")
107 modparam("carrierroute", "config_source", "db")
#"file" or "db"
108
109 ##### #Added for testing carrierroute ####
110 modparam("carrierroute", "db_table",
"carrierroute")
111 modparam("carrierroute", "id_column", "id")
112 modparam("carrierroute", "carrier_column",
"carrier")
113 modparam("carrierroute", "scan_prefix_column",
"scan_prefix")
114 modparam("carrierroute", "domain_column", "domain")
115 #modparam("carrierroute", "flags_column", "flags")
116 #modparam("carrierroute", "mask_column", "mask")
117 modparam("carrierroute", "prob_column", "prob")
118 modparam("carrierroute", "rewrite_host_column",
"rewrite_host")
119 #modparam("carrierroute", "strip_column", "strip")
120 modparam("carrierroute", "carrier_table",
"route_tree")
121 modparam("carrierroute", "carrier_id_col", "id")
122 modparam("carrierroute", "carrier_name_col",
"carrier")
123 modparam("carrierroute", "config_file",
"/etc/kamailio/carrierroute.conf")
124 modparam("carrierroute", "default_tree", "default")
125 modparam("carrierroute", "db_failuretable",
"carrierfailureroute")
126 modparam("carrierroute", "failure_id_column", "id")
127 modparam("carrierroute", "failure_carrier_column",
"carrier")
128 modparam("carrierroute", "fetch_rows", 3000)
Do you have any suggestions about where the problem is?
Thanks in advance,
Juan.-