<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal"><p dir="auto">You are AWESOME!<br>
That's exactly what happened, the call went to first asterisk, that one sent it further to the client trunk which responded with SIP 500, kamailio sent it to the next one, sip 500 again and thus blocking both asterisks from receiving any further traffic.</p>
<p dir="auto">Thank you very very very much! </p>
<p dir="auto">Cris </p>
</div>
<div style="max-width:600px;  direction: ltr; " class="main_html date__2017_05_24___16_16"><meta content="width=device-width,initial-scale=1" name="viewport"> <style type="text/css"> @media screen and (max-width: 489px) { .border-color { display: none !important; } } </style> <div class="html wisestamp_app main_sig new_11" style="max-width: 445px;"> <table border="0" cellpadding="0" cellspacing="0" width="445"> <tr> <td valign="top" style="padding-right: 8px; vertical-align: top;" width="65" height="65"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="65" height="65"> <img moz-do-not-send="true" src="https://s3.amazonaws.com/ucwebapp.wisestamp.com/45c47c6a-9737-466f-9c3b-6fed4776c6c7/11899998_1538370539735519_8589760202542917632_n.format_png.resize_200x.png#logo" alt="photo" width="65" height="65" style="vertical-align:initial;border-radius:0;moz-border-radius:0;khtml-border-radius:0;o-border-radius:0;webkit-border-radius:0;ms-border-radius: 0;max-width:90px;" /> </td> </tr> </table> </td> <td class="border-color" style="background-color:#45668e; width:5px;"> <!-- vertical separation line --> </td> <td valign="top" style="vertical-align: top; padding-right: 7px; padding-left: 12px;"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: 1.6; font-family: sans-serif; font-size: 11px; color: #4e4b4c; padding-left: 2px; font-weight: normal; width: 100%;"> <tr> <td> <span data-render-style="color: %color%;" style="font-family: sans-serif; color: #45668e; padding: 0px; margin: 0px; font-size:12px; font-weight: bold;">Cristian Livadaru</span><br/> <span style="color:#45668e; font-family: sans-serif;">at </span><span data-render-style="color: %color%;" style="text-decoration: none; font-family: sans-serif;">LcX.at IT Solutions</span> </td> </tr> </table> </td> </tr> <tr> <td style="padding-bottom: 12px; padding-top: 6px;"> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: 1.6; font-family: sans-serif; font-size: 11px; color: #4e4b4c; padding-left: 2px; font-weight: normal; width: 100%;"> <tr> <td> </td> </tr> <tr> <td style="white-space: nowrap; display: inline-block"> <span > <span data-render-style="color: %color%;" style="text-decoration: none; font-family: sans-serif; font-weight: bold;">P </span>  <a href="tel:+431373737" style="text-decoration: none; font-family: sans-serif; color: #4e4b4c; font-size:12px;"> +431373737  </a> </span> <span> <span data-render-style="color: %color%;" style="text-decoration: none; font-family: sans-serif; font-weight: bold;">E </span> <a href="mailto:cristian@lcx.at" style="text-decoration: none; font-family: sans-serif; font-size:12px; color: #4e4b4c;"> cristian@lcx.at  </a> </span> </td> </tr> <tr> <td> <span> <span data-render-style="color: %color%;" style="text-decoration: none; font-family: sans-serif; font-weight: bold;">W </span> <a href="https://lcx.at" style="text-decoration: none; font-family: sans-serif; font-size:12px; color: #4e4b4c;"> https://lcx.at  </a> </span> </td> </tr> </table> </td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height: 1.6; font-family: sans-serif; font-size: 11px; color: #4e4b4c; padding-left: 2px; font-weight: bold; width: 100%;"> <tr> <td> <div><table border="0" cellpadding="0" cellspacing="0"><tr style="padding-top: 10px;"><td align='left' style='padding-right: 5px;text-align: center;'> <a href='http://www.facebook.com/Cris.Livadaru' target='_blank' ><img moz-do-not-send="true" style='border-radius:0;moz-border-radius:0;khtml-border-radius:0;o-border-radius:0;webkit-border-radius:0;ms-border-radius:0;border: 0;width:16px; height:16px;' width='16' height='16' src='https://s3.amazonaws.com/images.wisestamp.com/social_icons/square/facebook.png' /></a></td><td align='left' style='padding-right: 5px;text-align: center;'> <a href='http://www.linkedin.com/in/livadaru/' target='_blank' ><img moz-do-not-send="true" style='border-radius:0;moz-border-radius:0;khtml-border-radius:0;o-border-radius:0;webkit-border-radius:0;ms-border-radius:0;border: 0;width:16px; height:16px;' width='16' height='16' src='https://s3.amazonaws.com/images.wisestamp.com/social_icons/square/linkedin.png' /></a></td><td align='left' style='padding-right: 5px;text-align: center;'> <a href='http://twitter.com/crisl_at' target='_blank' ><img moz-do-not-send="true" style='border-radius:0;moz-border-radius:0;khtml-border-radius:0;o-border-radius:0;webkit-border-radius:0;ms-border-radius:0;border: 0;width:16px; height:16px;' width='16' height='16' src='https://s3.amazonaws.com/images.wisestamp.com/social_icons/square/twitter.png' /></a></td><td align='left' style='padding-right: 5px;text-align: center;'> <a href='http://www.instagram.com/lcx_at/' target='_blank' ><img moz-do-not-send="true" style='border-radius:0;moz-border-radius:0;khtml-border-radius:0;o-border-radius:0;webkit-border-radius:0;ms-border-radius:0;border: 0;width:16px; height:16px;' width='16' height='16' src='https://s3.amazonaws.com/images.wisestamp.com/social_icons/square/instagram.png' /></a></td></tr></table></div> </td> </tr> </table> </td> </tr> <tr> <td style="padding-top:6px; font-family: sans-serif;"> </td> </tr> </table> </td> </tr> </table> </div><div style="clear:both;height:0!important"></div><a class="wisestamp_app twitter_button" style="margin:8px 8px 0 0;display: inline-block;vertical-align: bottom;" href="https://twitter.com/crisl_at" target="_blank"><img moz-do-not-send="true" src="https://s3.amazonaws.com/images.wisestamp.com/email-apps/twitter_button/twitter-white.png"/></a><a class="wisestamp_app facebook_button" style="margin:8px 8px 0 0;display: inline-block;vertical-align: bottom;" href="https://www.facebook.com/LcX.wien/" target="_blank"><img moz-do-not-send="true" src="https://s3.amazonaws.com/images.wisestamp.com/apps/facebook_like.png"/></a><a class="wisestamp_app instagram" style="margin:8px 8px 0 0;display: inline-block;vertical-align: bottom;" href="https://www.instagram.com/lcx_at/" target="_blank"><img moz-do-not-send="true" src="https://s3.amazonaws.com/images.wisestamp.com/apps/instagram_white.png"/></a></div>
<div class="plaintext">

<p dir="auto">On 15 Feb 2019, at 18:19, Daniel Tryba wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">On Fri, Feb 15, 2019 at 05:13:21PM +0100, Cristian Livadaru wrote:</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">Hi,<br>
I have a Kamailio running as Load Balancer and it works great but since a<br>
couple of weeks I kept noticing 404s in Homer and when looked into it they<br>
came from Kamailio.</p>
</blockquote><p dir="auto">...</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">The two asterisks behind it seem fine and I can???t really see why this<br>
started happening. Also I thing that returning 404 might be misleading,<br>
wouldn???t it be better if I would return 503 instead?</p>
</blockquote><p dir="auto">That is up to you to decide. I'd suggest a 480.<br>
</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">I enabled debugging in Kamailio but can???t really seem to notice anything<br>
wrong here:</p>
</blockquote><p dir="auto">...<br>
<br>
Find out why the dispatcher endpoints are out of order according to<br>
kamailio (look at the OPTIONS in homer).<br>
<br>
Also you set a destination inactive if 1 request to a backend fails<br>
(dsmakr ip). You might want to reconsider, it might be the cause of your<br>
problems. Imagine a call is coming in to a partially deprovisioned<br>
number, the asterisk answers with a failure, gets marked as inactive.<br>
Dispatcher retries to the other one and that also fails and gets marked<br>
as inactive. Any call that comes in before the probing enables the<br>
backends will fail immediatly.<br>
<br>
So also look at INVITEs just before the problem in homer.<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" style="color:#777">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></p>
</blockquote></div>
</div>
</body>
</html>