<html><head><title>Re: [OpenSIPS-Users] Opensips 2.2.1 dr_rules is empty</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello!<br>
<br>
Any ideas about the problem?<br>
<br>
 </span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Hello, Bogdan<br>
<br>
I am sorry that i did not describe the problem more clearly.<br>
404 opensips sends because in opensips.cfg i wrote a logic that if in dr_rules opensips finds no rules for routing it must send 404.<br>
And the problem i think is there. Opensips began rejects all calls with 404, i.e. it could not find any rules in dr_rules table.<br>
Everthing began fine after fifo dr_reload command execution, i.e. after dr_rules updating. &nbsp; <br>
<br>
<span style=" font-family:'arial'; font-size: 10pt;"><i>-- <br>
</i></span></span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:d.putyato@ptl.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Hi,<br>
<br>
OpenSIPS by itself does not send any 404. If it does, it does it because you put that into the script. So, you have to look into your script and see the logical path that makes OpenSIPS to get to sending a 404 reply.<br>
<br>
You may use the script_trace :<br>
 &nbsp;</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#toc43">http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#toc43</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">Regards,<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 30.08.2016 22:26, Denis wrote:<br>
</span><table>
<tr>
<td width=2 bgcolor= #3200ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Re: Opensips 2.2.1 dr_rules is empty Hello!<br>
<br>
Some time ago i wrote about a problem when Opensips began reject all calls with 404 code.<br>
Unfortunately i did not received any answer.<br>
Since that time i have made upgrade from 2.1.2 to 2.2.1 and today i have got the same problem. Opensips began rejects all calls with 404 code. <br>
<br>
Based on the information from log, i make suggest that problem began when dr_reload command has been received. <br>
And the problem has been solved, again, when the dr_reload command has been received (the period about two commands is about a couple of minutes).<br>
<br>
I please help to solve the problem. <br>
<br>
Thank you.<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Hello!<br>
<br>
Recently i begun to get such problem.<br>
Opensips rejects all calls with 404 code. I can solve the problem by making dr_reload.<br>
I tried to analyze a log and what i could found you can see in attachment.<br>
As i could understand last problem began after dr_reload.<br>
<br>
Thank you for any help.<br>
<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a></td>
</tr>
</table>
<br><br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>