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*
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 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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" jaybinks@gmail.com To: "Kamailio (SER) - Users Mailing List" 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 > 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 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
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 wrote:
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" jaybinks@gmail.com To: "Kamailio (SER) - Users Mailing List" <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 > 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 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
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
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:
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 wrote:
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" jaybinks@gmail.com To: "Kamailio (SER) - Users Mailing List" 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 > 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 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
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
-- 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
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 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:
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
wrote:
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" jaybinks@gmail.com To: "Kamailio (SER) - Users Mailing List" 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 > 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 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
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
-- 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
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 5247593-40 Fax +49 40 5247593-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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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
haha wow yea ok, that is one option. I might investigate that.
Thanks !
On 29 June 2016 at 20:31, Daniel-Constantin Mierla miconda@gmail.com wrote:
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 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 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
wrote:
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" < jaybinks@gmail.comjaybinks@gmail.com> To: "Kamailio (SER) - Users Mailing List" 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
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 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
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
-- 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
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 5247593-40 <%2B49%2040%205247593-40> Fax +49 40 5247593-99 <%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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
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
Hi Daniel,
Sorry, but Id like to dig this old subject up again. 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.
Id like to ask again, if we can have these logged at a different log level ?? ( its nore informational, maybe Debug or similar ? )
if can we have a flag in kamailio, that says "im using ip_nonlocal_bind", so dont show these errors.. they are expected ( in some cases )
Pretty Please !! :)
Jay
On 29 June 2016 at 20:36, jay binks jaybinks@gmail.com wrote:
haha wow yea ok, that is one option. I might investigate that.
Thanks !
On 29 June 2016 at 20:31, Daniel-Constantin Mierla miconda@gmail.com wrote:
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 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 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
wrote:
Hi Jay,
Can you paste your listen= lines from kamailio.cfg?
Best regards, Joel.
----- Original Message -----
From: "jay binks" < jaybinks@gmail.comjaybinks@gmail.com> To: "Kamailio (SER) - Users Mailing List" 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
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 > 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
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
-- 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
-- Carsten Bock CEO (Geschäftsführer)
ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany
http://www.ng-voice.com mailto:carsten@ng-voice.com
Office +49 40 5247593-40 <%2B49%2040%205247593-40> Fax +49 40 5247593-99 <%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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Sincerely
Jay
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
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
-- Sincerely
Jay
Hello,
I am open for any contribution to the code here, that's not a problem.
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?
Cheers, Daniel
On 24/01/2017 12:43, jay binks wrote:
Hi Daniel,
Sorry, but Id like to dig this old subject up again. 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.
Id like to ask again, if we can have these logged at a different log level ?? ( its nore informational, maybe Debug or similar ? )
if can we have a flag in kamailio, that says "im using ip_nonlocal_bind", so dont show these errors.. they are expected ( in some cases )
Pretty Please !! :)
Jay
On 29 June 2016 at 20:36, jay binks <jaybinks@gmail.com mailto:jaybinks@gmail.com> wrote:
haha wow yea ok, that is one option. I might investigate that. Thanks ! On 29 June 2016 at 20:31, Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>> wrote: 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 <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 <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 <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 <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/ <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 <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 <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
-- Daniel-Constantin Mierla http://www.asipto.com - http://www.kamailio.org http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> _______________________________________________ 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 <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> -- Sincerely Jay
-- Sincerely Jay