[Home]

Summary:ASTERISK-07120: Loading Zaptel modules breaks SIP completely
Reporter:Nik Berry (nikberry)Labels:
Date Opened:2006-06-07 17:23:05Date Closed:2011-06-07 14:03:09
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:On Athlon 64, SUSE 10.0, setup works fine, SIP and IAX2. If I modeprobe wctdm, then on startup asterisk reports bad file descriptors (-1) for SIP

****** ADDITIONAL INFORMATION ******

The following errors are returned:
 == Parsing '/etc/asterisk/sip_notify.conf': Found
Jun  7 17:58:42 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x60a7a0 (len 487) to 192.168.0.67:5060 returned -1: Bad file descriptor
Jun  7 17:58:42 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x688c00 (len 487) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:43 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x60a7a0 (len 487) to 192.168.0.67:5060 returned -1: Bad file descriptor
Jun  7 17:58:43 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x688c00 (len 487) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:44 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x60a7a0 (len 487) to 192.168.0.67:5060 returned -1: Bad file descriptor
Jun  7 17:58:44 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x688c00 (len 487) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:44 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:45 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x60a7a0 (len 487) to 192.168.0.67:5060 returned -1: Bad file descriptor
Jun  7 17:58:45 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x688c00 (len 487) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:45 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:46 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x60a7a0 (len 487) to 192.168.0.67:5060 returned -1: Bad file descriptor
Jun  7 17:58:46 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x688c00 (len 487) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:46 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:48 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:52 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor
Jun  7 17:58:56 WARNING[6669]: chan_sip.c:1073 __sip_xmit: sip_xmit of 0x66b580 (len 547) to 192.168.0.90:5061 returned -1: Bad file descriptor      

When connecting from a SIP phone after this, SIP debug etc. show nothing, no messages on console.

Tried ztdummy, does the same thing. Tried Asterisk 1.2.7, 1.2.8, 1.2.9.1, Zaptel  1.2.5, 1.2.6, all the same.          
Comments:By: Olle Johansson (oej) 2006-06-08 13:15:33

Have you checked ulimit on the system? Does asterisk report anything at load of chan_sip, before these error messages?

By: Nik Berry (nikberry) 2006-06-08 16:28:03

Sorry for the noise. We lost power here, when the box came back up I did a
make clean;make;make install
on asterisk, and it works. I have no idea what the problem could have been.

Thanks.

By: Serge Vecher (serge-v) 2006-06-08 16:36:04

UPS unit with OS shutdown is a very worthwhile investment.