__sip_xmit Returned -1 Invalid Argument
I’ve been getting slammed with these messages on my console lately.
ed -1: Invalid argument
[2016-05-31 10:09:40] WARNING[16249]: chan_sip.c:3775 __sip_xmit: sip_xmit of 0x7f05140803f0 (len 559) to 192.168.1.45:0 returned -1: Invalid argument
[2016-05-31 10:09:40] WARNING[16249]: chan_sip.c:3775 __sip_xmit: sip_xmit of 0x7f05140803f0 (len 559) to 192.168.1.45:0 returned -1: Invalid argument
[
etc etc etc comes in bunches of about 10, all with same IP address in that bunch. Does not appear to be related to one phone — I have a mix of devices. They appear to happen when a phone registers. The debug message “Invalid argument” is not helping me, I wish it were more descriptive. I peeked at the code and there is no indication what __sip_xmit() does (like all Asterisk code I have looked at so far), looks like it might do MANY things.
It does not appear to be tied to one version, I have tried 13.7.2, 13.8.0,
13.9.1
I don’t see anything glaring when I “sip set debug on” and “core set debug
10” — just more messages that I don’t understand.
Like this ——————–
2 thoughts on - __sip_xmit Returned -1 Invalid Argument
Brian Wilson wrote:
It’s an invalid argument because the port appears to be 0, which won’t work. How it got to be that I don’t know… a full log may provide further enlightenment.
Reviving an old thread, still seeing this.
Brian Wilson wrote:
*>>* ed -1: Invalid argument
*>* [2016-05-31 10:09:40] WARNING[16249]: chan_sip.c:3775 __sip_xmit:
*>* sip_xmit of 0x7f05140803f0 (len 559) to 192.168.1.45:0
<http://192.168.1.45:0>
*>* <http://192.168.1.45:0 <http://192.168.1.45:0>> returned -1:
Invalid argument
*>* [2016-05-31 10:09:40] WARNING[16249]: chan_sip.c:3775 __sip_xmit:
*>* sip_xmit of 0x7f05140803f0 (len 559) to 192.168.1.45:0
<http://192.168.1.45:0>
*>* <http://192.168.1.45:0 <http://192.168.1.45:0>> returned -1:
Invalid argument
*
Joshua Colp responded:
further enlightenment.
Currently I have 9000+ messages similar to this:
[2016-07-25 23:06:52] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 725) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:06:52] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 725) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:06:52] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 727) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:06:52] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 728) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:06:52] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 729) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:06:53] WARNING[1993] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 729) to 192.168.89.172:54490 returned -2: Success
[2016-07-25 23:07:04] WARNING[14771] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 711) to 192.168.89.172:54499 returned -2: Success
[2016-07-25 23:22:33] WARNING[15801] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 711) to 192.168.89.172:54502 returned -2: Success
[2016-07-25 23:22:33] WARNING[15802] chan_sip.c: sip_xmit of
0x7f1ce8687450 (len 711) to 192.168.89.172:54502 returned -2: Success
Port is not zero on these. Error code has changed from -1 to -2
What do you mean by a “full log”.
Thanks — Brian