<div dir="ltr">Hi Bogdan. I performed additional tests.  <span style="color:rgb(0,0,0)"><font face="arial, sans-serif">opensips-cli -x mi reload_routes crashed when i use drouting module like this</font></span><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">route[to_operator]{
</span><br>####    route(get_groups_from_redis);#######
<br>            if (!do_routing($avp(groupid),,,$avp(route_number),$avp(gateway_attr),$avp(carrier_attr),"*")){
<br>                    xlog("do_routing: No rules matching the URI possibly number in rouming\n");
<br>#                       route(to_carrier);
<br>                        exit;
<br>                        } else {
<br>                            xlog("L_INFO", "do_routing: to operator $avp(route_number) using provider $avp(carrier_id) and gateway $avp(dr_gw_id)\n");
<br>                            xlog("L_INFO", "get_route: rule_attr - $avp(route_number)\n");
<br>                            xlog("L_INFO", "get_route: gw_attr   - $avp(gateway_attr)\n");
<br>                            xlog("L_INFO", "get_route: carr_attr - $avp(carrier_attr)\n");
<br>                            xlog("L_INFO", "get_route: carrier_id -$avp(carrier_id) \n");
<br>                            xlog("L_INFO", "get_route: gw_id     - $avp(dr_gw_id)\n");
<br>                            xlog("L_INFO", "get_route: rule_id   - $avp(dr_rule_id)\n");
<br>                            xlog("L_INFO", "get_route: socket_id - $avp(dr_socket)\n");
<br>                            xlog("L_INFO", "get_route: source_ip - $avp(dr_socket){s.select,1,:}\n");
<br>                            $avp(matched_partition) = $var(matched_partition);
<br>                            xlog("Matched partition for number ------ $avp(matched_partition) +++++++ rule_id is $avp(dr_rule_id)\n ");
<br>#                           route(set_carrier_callerid);  <br>                            exit;
<br>            }  <br>exit;
<br>
<br>}<br>
<br></span><div> </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 28 авг. 2019 г. в 13:19, Kirill Galinurov <<a href="mailto:k.galinurov@gmail.com">k.galinurov@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Bogdan. Did you reproduce the problem?</div>
</blockquote></div>