Hello,
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:
kamctl mi debug -2
The increase it to the default when the ip is assigned.
Cheers, Daniel
On 29/06/16 11:47, jay binks wrote:
Nah these are physical hosts in colocated DC space.
so just for clarity, the issue is not with the floating IP. that works perfect, as does keepalived and net.ipv4.ip_nonlocal_bind =1
my ONLY issue is that the non master host logs a LOT of messages, because it dosnt have the floating IP ( and thus cant send SIP OPTIONS, originating from the floating IP )
I realise this cant be fixed.. I just want to hide the log messages :P EG: tell kamailio its in "nonlocal_bind" mode, so... yea dont log the udp_send failed messages in my original message.
On 29 June 2016 at 19:09, Carsten Bock <carsten@ng-voice.com mailto:carsten@ng-voice.com> wrote:
Hi, quick question: Floating IP? Are you on Digital Ocean? DigitalOcean has an issue with UDP checksums on Floating IPs. They've been working on a fix, but that's not yet resolved. Quote from our Ticket: "We're definitely working on fixing this, but have managed to track the issue upstream into open-vswitch itself! We're working on fixing it, but it'll take longer. Turns out, we're not the only ones to see this - we found a similar bug going on on the Google cloud!" Thanks, Carsten 2016-06-29 9:55 GMT+02:00 jay binks <jaybinks@gmail.com <mailto:jaybinks@gmail.com>>: > So here are my listen lines. > > listen=127.0.0.1 > listen=1.2.3.4 > listen=1.2.3.5 > > perhaps I can remove the localhost listen, but I doubt thats relevant here. > > I have changed the IPS for the next 2 listen lines just so my IP's are not > on the list archive. > > 1.2.3.4 is my floating IP > > 1.2.3.5 is a fixed IP on the box. > > The kamailio messages im talking about are complaining because that > particular box is not the master, and does not have the floating ip at that > point of time. > > > > > > > On 28 June 2016 at 15:03, Joel Serrano | VOZELIA <joel@vozelia.com <mailto:joel@vozelia.com>> wrote: >> >> Hi Jay, >> >> Can you paste your listen= lines from kamailio.cfg? >> >> Best regards, >> Joel. >> >> ----- Original Message ----- >> > From: "jay binks" <jaybinks@gmail.com <mailto:jaybinks@gmail.com>> >> > To: "Kamailio (SER) - Users Mailing List" >> > <sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org>> >> > Sent: Sunday, June 26, 2016 8:40:47 PM >> > Subject: Re: [SR-Users] (no subject) >> >> > I cant believe I sent this without a subject... OOPS ! >> > if I might re-post ( with a subject ) if there are no replies in a few >> > days. >> >> > On 25 June 2016 at 10:40, jay binks < jaybinks@gmail.com <mailto:jaybinks@gmail.com> > wrote: >> >> >> Hi Guys, >> >> >> Im using a keepalived solution between 2 kamailio boxes, with >> >> net.ipv4.ip_nonlocal_bind =1 . >> >> >> On the "non master" I pretty much constantly get these logs in syslog. >> >> What Im looking for is a way to suppress these because they are >> >> expected in my >> >> configuration. >> >> >> is there any way to tell kamailio to not log this... ( or at least, not >> >> at CRIT >> >> and ERROR ) >> >> >> Jun 25 10:32:53 lb2 /usr/sbin/kamailio[24869]: ERROR: tm >> >> [../../forward.h:208]: >> >> msg_send(): udp_send failed >> >> >> Jun 25 10:32:53 lb2 /usr/sbin/kamailio[24869]: ERROR: <core> >> >> [udp_server.c:576]: >> >> udp_send(): sendto(sock,0x7fc0732d5ab0,380,0,xxx.xxx.xxx.xxx:5060,16): >> >> Invalid >> >> argument(22) >> >> >> Jun 25 10:32:53 lb2 /usr/sbin/kamailio[24869]: CRITICAL: <core> >> >> [udp_server.c:581]: udp_send(): invalid sendtoparameters#012one >> >> possible reason >> >> is the server is bound to localhost and#012attempts to send to the net >> >> >> -- >> >> Sincerely >> >> >> Jay >> >> >> _______________________________________________ >> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> >> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> > -- >> > Sincerely >> >> > Jay >> >> > _______________________________________________ >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> > sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > > > -- > Sincerely > > Jay > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany http://www.ng-voice.com mailto:carsten@ng-voice.com <mailto:carsten@ng-voice.com> Office +49 40 5247593-40 <tel:%2B49%2040%205247593-40> Fax +49 40 5247593-99 <tel:%2B49%2040%205247593-99> Sitz der Gesellschaft: Hamburg Registergericht: Amtsgericht Hamburg, HRB 120189 Geschäftsführer: Carsten Bock Ust-ID: DE279344284 Hier finden Sie unsere handelsrechtlichen Pflichtangaben: http://www.ng-voice.com/imprint/ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users