[OpenSIPS-Users] Opensips 3.0 segfault on opensips-cli -x mi reload_routes
Kirill Galinurov
k.galinurov at gmail.com
Thu Aug 29 08:32:09 EDT 2019
Hi Bogdan. I performed additional tests. opensips-cli -x mi reload_routes
crashed when i use drouting module like this
route[to_operator]{
#### route(get_groups_from_redis);#######
if
(!do_routing($avp(groupid),,,$avp(route_number),$avp(gateway_attr),$avp(carrier_attr),"*")){
xlog("do_routing: No rules matching the URI possibly
number in rouming\n");
# route(to_carrier);
exit;
} else {
xlog("L_INFO", "do_routing: to operator
$avp(route_number) using provider $avp(carrier_id) and gateway
$avp(dr_gw_id)\n");
xlog("L_INFO", "get_route: rule_attr -
$avp(route_number)\n");
xlog("L_INFO", "get_route: gw_attr -
$avp(gateway_attr)\n");
xlog("L_INFO", "get_route: carr_attr -
$avp(carrier_attr)\n");
xlog("L_INFO", "get_route: carrier_id
-$avp(carrier_id) \n");
xlog("L_INFO", "get_route: gw_id -
$avp(dr_gw_id)\n");
xlog("L_INFO", "get_route: rule_id -
$avp(dr_rule_id)\n");
xlog("L_INFO", "get_route: socket_id -
$avp(dr_socket)\n");
xlog("L_INFO", "get_route: source_ip -
$avp(dr_socket){s.select,1,:}\n");
$avp(matched_partition) =
$var(matched_partition);
xlog("Matched partition for number ------
$avp(matched_partition) +++++++ rule_id is $avp(dr_rule_id)\n ");
# route(set_carrier_callerid);
exit;
}
exit;
}
ср, 28 авг. 2019 г. в 13:19, Kirill Galinurov <k.galinurov at gmail.com>:
> Hi Bogdan. Did you reproduce the problem?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190829/ed724c7e/attachment-0001.html>
More information about the Users
mailing list