Summary:ASTERISK-17781: warning-chan-sip-c-sip-xmit-returned-2-interrupted-system-call
Reporter:dcitelecom (dcitelecom)Labels:
Date Opened:2011-05-02 17:03:14Date Closed:2011-07-26 14:00:01
Versions: Frequency of
Description:This looks like an Asterisk bug.
Unfortunately the log is verbosity 3.
We are running Asterisk with FreePBX

Last valid call was at 13:06 from 5144390648 to Dest 5147489836. It get's disconnected with
"[2011-05-01 13:06:54] WARNING[3160] chan_sip.c: sip_xmit of 0xb68262b0 (len 608) to returned -2: Interrupted system call"

and then Asterisk is locked up until I reboot the system.

During that time I was actually on another call "9721818..." and even though the call did not get disconnected it was not recorded in the CDR.

I don't know how to attach a file so the log is available at this link:

Search for the string ***. This is the actual untouched log. At 13:06 Asterisk locks up and the log stops recording for 15 minutes. Then it starts recording again but Asterisk is still locked up and we can't make outbound calls.
Comments:By: Paul Belanger (pabelanger) 2011-05-03 09:58:19

We require a complete debug log to help triage the issue.

This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue:


By: dcitelecom (dcitelecom) 2011-05-03 10:08:04

OK. Should I upgrade my Asterisk version first?

By: Russell Bryant (russell) 2011-05-03 13:09:38


By: Leif Madsen (lmadsen) 2011-05-05 09:33:41

Also feels like a deadlock or something that could help to have a backtrace of. More information here:  https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Russell Bryant (russell) 2011-07-26 13:59:03.433-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions