<div dir="ltr">Hi all,<br><br>I have a problem with carrierroute module...I have configured it as follow in my config file:<br><br>loadmodule "carrierroute.so"<br>######Carrier Route<br>modparam("carrierroute", "db_url", "mysql://opensips:123456@MYSQL_IP/opensips")<br>
modparam("carrierroute", "config_source", "db")<br><br>In the route function i have created the following function:<br>if (!cr_route("default", "0", "$rU", "$rU", "call_id")) {<br>
sl_send_reply("403", "Not allowed");<br> } else {<br> # In cas of failure, re-route the request<br> t_on_failure("1");<br> # Relay the request to the gateway<br>
t_relay();<br> }<br>When trying to restart kamailio server I got a the below error:<br>Jan 24 11:10:22 [12841] DBG:core:fix_actions: fixing sl_reply_error, line 381<br>Jan 24 11:10:22 [12841] DBG:core:fix_actions: fixing cr_route, line 390<br>
Jan 24 11:10:22 [12841] ERROR:core:pv_parse_spec: bad parameters<br>Jan 24 11:10:22 [12841] INFO:carrierroute:carrier_fixup: carrier tree default has id 3<br><br>Regards<br></div>