<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Kirill,<br>
<br>
sorry for the HUGE delay. Using your cfg files, I managed to start
the latest 3.0, but the "reload_routes" does not crash at all -
maybe because of this latest fix [1].<br>
<br>
Could you grab the latest 3.0 and try again ?<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/fc728f0c5a8c012cb060f7490d9c31ff9e4fc590#diff-af2f1878a25d75ef415163dec6d0e654">https://github.com/OpenSIPS/opensips/commit/fc728f0c5a8c012cb060f7490d9c31ff9e4fc590#diff-af2f1878a25d75ef415163dec6d0e654</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp Pre-Registration
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_Bootcamp/">https://opensips.org/training/OpenSIPS_Bootcamp/</a>
</pre>
<div class="moz-cite-prefix">On 8/29/19 3:32 PM, Kirill Galinurov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPDUut-iL8AaKeNxuOAcYgn+C27XrUiXWp-eg5j17X5qPHD=RA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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>
</blockquote>
<br>
</body>
</html>