Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] __sip_xmit Returned -1 Invalid Argument


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
brian at wildsong.biz
Guest





PostPosted: Tue May 31, 2016 12:21 pm    Post subject: [asterisk-users] __sip_xmit Returned -1 Invalid Argument Reply with quote

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 ----------------------

---
[2016-05-31 10:10:39] WARNING[16249]: chan_sip.c:3775 __sip_xmit: sip_xmit of 0x7f0514050430 (len 559) to 192.168.1.45:0 returned -1: Invalid argument
Retransmitting #5 (no NAT) to 192.168.1.45:0:
NOTIFY sip:spa2000@192.168.1.45:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK0d196419
Max-Forwards: 70
From: "asterisk" <sip:asterisk@192.168.1.2 ([email]sip%3Aasterisk@192.168.1.2[/email])>;tag=as522feace
To: <sip:spa2000@192.168.1.45:5060>
Contact: <sip:asterisk@192.168.1.2:5060>
Call-ID: 0d6963aa7350ce3274e7af420c35daa6@192.168.1.2:5060
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX 13.9.1
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 91

Messages-Waiting: no
Message-Account: sip:asterisk@192.168.1.2 ([email]sip%3Aasterisk@192.168.1.2[/email])
Voice-Message: 0/0 (0/0)

------

I am guessing this is some apparently unrelated and undocumented side effect of a setting I have changed recently but have not been successful chasing it down so far. I have this happening on two different servers now.


--
Brian Wilson

Wildsong 707-827-0001
Back to top
jcolp at digium.com
Guest





PostPosted: Tue May 31, 2016 2:27 pm    Post subject: [asterisk-users] __sip_xmit Returned -1 Invalid Argument Reply with quote

Brian Wilson wrote:
Quote:
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
<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> returned -1: Invalid argument

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.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services