[prev in list] [next in list] [prev in thread] [next in thread]
List: serusers
Subject: Re: [SR-Users] Dispatcher with a naptr address as destination
From: Daniel-Constantin Mierla <miconda () gmail ! com>
Date: 2018-11-29 10:54:53
Message-ID: 0a77c3ef-5d4f-67a4-e9a1-0ef718d87116 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello,
a solution for the moment would be to add a new flag to mark the
destination for no-keepalive, so it is considered to be active always.
Right now the issue is created by the fact that keepalive is enabled and
the implementation needs the IP at start up.
However, for NAPTR/SRV records, there can be a different IP returned for
each query, so it might not bring much benefits to do keepalives in such
cases. This can be added if someone wants to develop it.
Then, just to refresh, you can do SRV based load balancing without
dispatcher, it is done by tm and core automatically.
Cheers,
Daniel
On 29.11.18 11:32, Patrick Murphy wrote:
> Here you go: https://github.com/kamailio/kamailio/issues/1743
>
> The reason I posted here first was that I wanted to rule out any
> obvious thing I was missing here since there already was a thread open
> on it.
>
> Cheers,
> Pat
> ------------------------------------------------------------------------
> *From:* Henning Westerholt <hw@kamailio.org>
> *Sent:* Wednesday, November 28, 2018 9:06 PM
> *To:* sr-users@lists.kamailio.org
> *Cc:* Patrick Murphy; José Seabra; miconda@gmail.com
> *Subject:* Re: [SR-Users] Dispatcher with a naptr address as destination
>
> Am Mittwoch, 28. November 2018, 15:06:03 CET schrieb Patrick Murphy:
> > I ran into the exact same issue. DNS resolution is just stuck on A
> records
> > for OPTIONS pings irrespective of DNS options. I can see correct DNS
> > resolution with kamcmd dns.lookup but kamcmd dispatcher.list command
> does
> > not even list the gateways which have a NAPTR/SRV DNS name.
> >
> > Dispatching INVITEs also fails because none of the trunks are actually
> > loaded in memory for kamailio to process or for me to be able to set its
> > state manually to active.
> >
> > Any plans on fixing this behavior?
>
> Hi Patrick,
>
> the best would be probably to file a issue about this behavior on our
> GitHub
> tracker. Then it could be analyzed in more details.
>
> Best regards,
>
> Henning
>
>
> --
> Henning Westerholt - https://skalatan.de/blog/
> Kamailio services - https://skalatan.de/services
> Kamailio security assessment - https://skalatan.de/de/assessment
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p><br>
</p>
<p>a solution for the moment would be to add a new flag to mark the
destination for no-keepalive, so it is considered to be active
always.</p>
<p><br>
</p>
<p>Right now the issue is created by the fact that keepalive is
enabled and the implementation needs the IP at start up.</p>
<p><br>
</p>
<p>However, for NAPTR/SRV records, there can be a different IP
returned for each query, so it might not bring much benefits to do
keepalives in such cases. This can be added if someone wants to
develop it.</p>
<p><br>
</p>
<p>Then, just to refresh, you can do SRV based load balancing
without dispatcher, it is done by tm and core automatically.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 29.11.18 11:32, Patrick Murphy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB7PR02MB4378C2B6E016440125A373ACFCD20@DB7PR02MB4378.eurprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt;">Here you go: </span><a
href="https://github.com/kamailio/kamailio/issues/1743"
id="LPNoLP965363" moz-do-not-send="true"><span
style="font-size: \
10pt;">https://github.com/kamailio/kamailio/issues/1743</span></a></div> <br>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt;">The reason I posted here first
was that I wanted to rule out any obvious thing I was missing
here since there already was a thread open on it. </span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt;">Cheers,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size: 10pt;">Pat</span></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Henning Westerholt <a class="moz-txt-link-rfc2396E" \
href="mailto:hw@kamailio.org"><hw@kamailio.org></a><br> <b>Sent:</b> \
Wednesday, November 28, 2018 9:06 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" \
href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<b>Cc:</b> Patrick Murphy; José Seabra; <a class="moz-txt-link-abbreviated" \
href="mailto:miconda@gmail.com">miconda@gmail.com</a><br> <b>Subject:</b> Re: \
[SR-Users] Dispatcher with a naptr address as destination</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Am Mittwoch, 28. November 2018,
15:06:03 CET schrieb Patrick Murphy:<br>
> I ran into the exact same issue. DNS resolution is
just stuck on A records<br>
> for OPTIONS pings irrespective of DNS options. I can
see correct DNS<br>
> resolution with kamcmd dns.lookup but kamcmd
dispatcher.list command does<br>
> not even list the gateways which have a NAPTR/SRV DNS
name.<br>
> <br>
> Dispatching INVITEs also fails because none of the
trunks are actually<br>
> loaded in memory for kamailio to process or for me to
be able to set its<br>
> state manually to active.<br>
> <br>
> Any plans on fixing this behavior?<br>
<br>
Hi Patrick,<br>
<br>
the best would be probably to file a issue about this
behavior on our GitHub <br>
tracker. Then it could be analyzed in more details.<br>
<br>
Best regards,<br>
<br>
Henning<br>
<br>
<br>
-- <br>
Henning Westerholt - <a href="https://skalatan.de/blog/"
moz-do-not-send="true">https://skalatan.de/blog/</a><br>
Kamailio services - <a
href="https://skalatan.de/services"
moz-do-not-send="true">https://skalatan.de/services</a><br>
Kamailio security assessment - <a
href="https://skalatan.de/de/assessment"
moz-do-not-send="true">https://skalatan.de/de/assessment</a><br>
</div>
</span></font></div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" \
href="http://www.asipto.com">www.asipto.com</a> <a class="moz-txt-link-abbreviated" \
href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a \
class="moz-txt-link-abbreviated" \
href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a> Kamailio \
World Conference -- <a class="moz-txt-link-abbreviated" \
href="http://www.kamailioworld.com">www.kamailioworld.com</a> Kamailio Advanced \
Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" \
href="http://www.asipto.com">www.asipto.com</a></pre> </body>
</html>
[Attachment #6 (text/plain)]
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic