Summary:ASTERISK-07190: Running MythTV on the same system prevents chan_sip from operating.
Reporter:Matt J (mattwj2005)Labels:
Date Opened:2006-06-16 18:25:26Date Closed:2011-06-07 14:08:10
Versions:Frequency of
Description:I keep getting this error message when asterisk starts up: [app_externalivr.so]Jun 16 17:21:16 WARNING[26921]: chan_sip.c:1066 __sip_xmit: sip_xmit of 0x8185320 (len 394) to returned -1: Bad file descriptor

After it is running it shows me this:

Jun 16 18:22:05 WARNING[4860]: chan_sip.c:1066 __sip_xmit: sip_xmit of 0x81539d0 (len 477) to xx.xx.xx.xx:yyyy returned -1: Bad file descriptor
Jun 16 18:22:05 NOTICE[4860]: chan_sip.c:11396 sip_poke_noanswer: Peer 'telasip-gw' is now UNREACHABLE!  Last qualify: 0
Jun 16 18:22:05 WARNING[4860]: chan_sip.c:1066 __sip_xmit: sip_xmit of 0x8166300 (len 395) to xx.xx.xx.xx:yyyy returned -1: Bad file descriptor


I am currently using the Knoppmyth distrobution of Linux which is based on Debian Linux.  I am using the last version of the distro.  I have been having the same problem with
Comments:By: Andrey S Pankov (casper) 2006-06-18 13:10:36

Is networking is up at that time?

By: Matt J (mattwj2005) 2006-06-18 13:37:12

Yes, my system has access to the Internet and my home network at the time of this problem.

By: Tilghman Lesher (tilghman) 2006-06-18 14:04:24

Do you actually have a problem or are you just concerned with having a WARNING appear in your logs?

By: Matt J (mattwj2005) 2006-06-18 14:09:33

None of my sip extensions or sip providers works.

By: Andrey S Pankov (casper) 2006-06-18 14:23:52

Are you running asterisk as root?

By: Matt J (mattwj2005) 2006-06-18 14:25:33


By: Tilghman Lesher (tilghman) 2006-06-18 21:08:03

Are you running anything else on that box, like a SIP proxy?

By: Matt J (mattwj2005) 2006-06-18 21:52:35

That particular system has the complete MythTV suite.  The only other voip application that I can think of is MythPhone which is part of the MythTV suite. I am not running any SIP proxies, however.

By: Tilghman Lesher (tilghman) 2006-06-18 22:42:38

MythPhone may, in fact, be bound to the SIP port, which would prevent Asterisk from binding to that port.  You might want to unload that module or not run MythTV at the time you're trying to debug this.

By: Matt J (mattwj2005) 2006-06-18 22:48:26

I'll have to try that and let you know. I am at work right now. I'll try later.

By: Matt J (mattwj2005) 2006-06-19 16:28:12

The problem appears to be an issue when MythTV (mythfrontend) and asterisk run on the same system at the same time.  When mythfrontend is not running, Asterisk runs normally.  Thanks for all your help.  Matt

By: Serge Vecher (serge-v) 2006-06-19 16:31:29

closing as this is not an issue with Asterisk.