<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I am open for any contribution to the code here, that's not a
problem.</p>
<p>The log messages are from the core and relevant to troubleshoot
when some routing info is not good, so there has to be a switch to
control them. If you want a new global parameter to control it, I
am not against such changes, but I assume you still want to turn
it on/off at runtime via a rpc command whenever the IP is assigned
or taken away from the network interface, right?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 24/01/2017 12:43, jay binks wrote:<br>
</div>
<blockquote
cite="mid:CAO47HpcdzvXf=wZ3_Ly3Yp_hXEf19g36QMu5ae5o0TEWLfw36g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Daniel,
<div><br>
</div>
<div>Sorry, but Id like to dig this old subject up again.</div>
<div>I know you said I can change debug level when the IP fails
over, but that just feels nasty, and I dont really like it.<br>
</div>
<div><br>
</div>
<div>Id like to ask again, if we can have these logged at a
different log level ??</div>
<div>( its nore informational, maybe Debug or similar ? )</div>
<div><br>
</div>
<div>if can we have a flag in kamailio, that says "im using <span
style="font-size:12.8px">ip_nonlocal_bind", so dont show
these errors.. they are expected ( in some cases )</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Pretty Please !! :)</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Jay</span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 29 June 2016 at 20:36, jay binks <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">haha wow yea ok, that is one option.
<div>I might investigate that.</div>
<div><br>
</div>
<div>Thanks ! </div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 29 June 2016 at 20:31,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>a solution: you can decrease/increase the
debug parameter value via mi/rpc based on
whether the ip is assigned or not to the host,
like:</p>
<p>kamctl mi debug -2</p>
<p>The increase it to the default when the ip is
assigned.<br>
</p>
Cheers,<br>
Daniel
<div>
<div class="m_-5329412785356886331h5"><br>
<br>
<div>On 29/06/16 11:47, jay binks wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Nah these are physical
hosts in colocated DC space.
<div><br>
</div>
<div>so just for clarity, the issue is
not with the floating IP.</div>
<div>that works perfect, as does
keepalived and <span
style="font-size:12.8px">net.ipv4.ip_nonlocal_bind
=1</span></div>
<div><br>
</div>
<div>my ONLY issue is that the non
master host logs a LOT of messages,</div>
<div>because it dosnt have the floating
IP ( and thus cant send SIP OPTIONS,
originating from the floating IP )</div>
<div><br>
</div>
<div>I realise this cant be fixed.. I
just want to hide the log messages :P</div>
<div>EG: tell kamailio its in
"nonlocal_bind" mode, so... yea dont
log the <span style="font-size:12.8px">udp_send
failed messages in my original
message.</span></div>
<div><br>
</div>
<div> </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 29 June 2016
at 19:09, Carsten Bock <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:carsten@ng-voice.com"
target="_blank">carsten@ng-voice.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">Hi,<br>
<br>
quick question:<br>
Floating IP? Are you on Digital
Ocean?<br>
<br>
DigitalOcean has an issue with UDP
checksums on Floating IPs. They've<br>
been working on a fix, but that's
not yet resolved.<br>
<br>
Quote from our Ticket:<br>
"We're definitely working on fixing
this, but have managed to track<br>
the issue upstream into open-vswitch
itself! We're working on fixing<br>
it, but it'll take longer. Turns
out, we're not the only ones to see<br>
this - we found a similar bug going
on on the Google cloud!"<br>
<br>
Thanks,<br>
Carsten<br>
<div>
<div><br>
2016-06-29 9:55 GMT+02:00 jay
binks <<a
moz-do-not-send="true"
href="mailto:jaybinks@gmail.com"
target="_blank">jaybinks@gmail.com</a>>:<br>
> So here are my listen
lines.<br>
><br>
> listen=127.0.0.1<br>
> listen=1.2.3.4<br>
> listen=1.2.3.5<br>
><br>
> perhaps I can remove the
localhost listen, but I doubt
thats relevant here.<br>
><br>
> I have changed the IPS for
the next 2 listen lines just so
my IP's are not<br>
> on the list archive.<br>
><br>
> 1.2.3.4 is my floating IP<br>
><br>
> 1.2.3.5 is a fixed IP on
the box.<br>
><br>
> The kamailio messages im
talking about are complaining
because that<br>
> particular box is not the
master, and does not have the
floating ip at that<br>
> point of time.<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On 28 June 2016 at 15:03,
Joel Serrano | VOZELIA <<a
moz-do-not-send="true"
href="mailto:joel@vozelia.com"
target="_blank">joel@vozelia.com</a>>
wrote:<br>
>><br>
>> Hi Jay,<br>
>><br>
>> Can you paste your
listen= lines from kamailio.cfg?<br>
>><br>
>> Best regards,<br>
>> Joel.<br>
>><br>
>> ----- Original Message
-----<br>
>> > From: "jay binks"
<<a moz-do-not-send="true"
href="mailto:jaybinks@gmail.com"
target="_blank">jaybinks@gmail.com</a>><br>
>> > To: "Kamailio
(SER) - Users Mailing List"<br>
>> > <<a
moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><wbr>><br>
>> > Sent: Sunday, June
26, 2016 8:40:47 PM<br>
>> > Subject: Re:
[SR-Users] (no subject)<br>
>><br>
>> > I cant believe I
sent this without a subject...
OOPS !<br>
>> > if I might re-post
( with a subject ) if there are
no replies in a few<br>
>> > days.<br>
>><br>
>> > On 25 June 2016 at
10:40, jay binks < <a
moz-do-not-send="true"
href="mailto:jaybinks@gmail.com"
target="_blank">jaybinks@gmail.com</a>
> wrote:<br>
>><br>
>> >> Hi Guys,<br>
>><br>
>> >> Im using a
keepalived solution between 2
kamailio boxes, with<br>
>> >>
net.ipv4.ip_nonlocal_bind =1 .<br>
>><br>
>> >> On the "non
master" I pretty much constantly
get these logs in syslog.<br>
>> >> What Im
looking for is a way to suppress
these because they are<br>
>> >> expected in my<br>
>> >> configuration.<br>
>><br>
>> >> is there any
way to tell kamailio to not log
this... ( or at least, not<br>
>> >> at CRIT<br>
>> >> and ERROR )<br>
>><br>
>> >> Jun 25
10:32:53 lb2
/usr/sbin/kamailio[24869]:
ERROR: tm<br>
>> >>
[../../forward.h:208]:<br>
>> >> msg_send():
udp_send failed<br>
>><br>
>> >> Jun 25
10:32:53 lb2
/usr/sbin/kamailio[24869]:
ERROR: <core><br>
>> >>
[udp_server.c:576]:<br>
>> >> udp_send():
sendto(sock,0x7fc0732d5ab0,<wbr>380,0,xxx.xxx.xxx.xxx:5060,16)<wbr>:<br>
>> >> Invalid<br>
>> >> argument(22)<br>
>><br>
>> >> Jun 25
10:32:53 lb2
/usr/sbin/kamailio[24869]:
CRITICAL: <core><br>
>> >>
[udp_server.c:581]: udp_send():
invalid sendtoparameters#012one<br>
>> >> possible
reason<br>
>> >> is the server
is bound to localhost
and#012attempts to send to the
net<br>
>><br>
>> >> --<br>
>> >> Sincerely<br>
>><br>
>> >> Jay<br>
>><br>
>> >>
______________________________<wbr>_________________<br>
>> >> SIP Express
Router (SER) and Kamailio
(OpenSER) - sr-users mailing
list<br>
>> >> <a
moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
>> >> <a
moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
>><br>
>> > --<br>
>> > Sincerely<br>
>><br>
>> > Jay<br>
>><br>
>> >
______________________________<wbr>_________________<br>
>> > SIP Express Router
(SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
>> > <a
moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
>> > <a
moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
>><br>
>>
______________________________<wbr>_________________<br>
>> SIP Express Router
(SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
>> <a
moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
>> <a
moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Sincerely<br>
><br>
> Jay<br>
><br>
>
______________________________<wbr>_________________<br>
> SIP Express Router (SER)
and Kamailio (OpenSER) -
sr-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
><br>
<br>
<br>
<br>
--<br>
</div>
</div>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
ng-voice GmbH<br>
Millerntorplatz 1<br>
20359 Hamburg / Germany<br>
<br>
<a moz-do-not-send="true"
href="http://www.ng-voice.com"
rel="noreferrer" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a moz-do-not-send="true"
href="mailto:carsten@ng-voice.com"
target="_blank">carsten@ng-voice.com</a><br>
<br>
Office <a moz-do-not-send="true"
href="tel:%2B49%2040%205247593-40"
value="+4940524759340"
target="_blank">+49 40 5247593-40</a><br>
Fax <a moz-do-not-send="true"
href="tel:%2B49%2040%205247593-99"
value="+4940524759399"
target="_blank">+49 40 5247593-99</a><br>
<br>
Sitz der Gesellschaft: Hamburg<br>
Registergericht: Amtsgericht
Hamburg, HRB 120189<br>
Geschäftsführer: Carsten Bock<br>
Ust-ID: DE279344284<br>
<br>
Hier finden Sie unsere
handelsrechtlichen Pflichtangaben:<br>
<a moz-do-not-send="true"
href="http://www.ng-voice.com/imprint/"
rel="noreferrer" target="_blank">http://www.ng-voice.com/<wbr>imprint/</a><br>
<div>
<div><br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and
Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div data-smartmail="gmail_signature">Sincerely<br>
<br>
Jay</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
</div></div><span class="m_-5329412785356886331HOEnZb"><font color="#888888"><pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a moz-do-not-send="true" href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a></pre>
</font></span></div>
______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</blockquote></div>
<div>
</div>--
<div class="m_-5329412785356886331gmail_signature" data-smartmail="gmail_signature">Sincerely
Jay</div>
</div>
</div></div></blockquote></div>
<div>
</div>--
<div class="gmail_signature" data-smartmail="gmail_signature">Sincerely
Jay</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<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 Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre></body></html>