[asterisk-bugs] [Asterisk 0010342]: On Mac OS X PowerPC, Asterisk 1.4.x stops bridging new calls shortly after start

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 11 08:30:54 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10342 
====================================================================== 
Reported By:                jcovert
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   10342
Category:                   Core/Portability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-31-2007 09:10 CDT
Last Modified:              06-11-2008 08:30 CDT
====================================================================== 
Summary:                    On Mac OS X PowerPC, Asterisk 1.4.x stops bridging
new calls shortly after start
Description: 
I have unsuccessfully tried to get every 1.4.x version of Asterisk to work
on Mac OS X PowerPC, most recently Asterisk 1.4.9 on Mac OS X 10.4.10.

Asterisk starts up fine, and works for a short while.  But after about the
third or fourth bridged call (local sip soft client, SJphone, or locally
connected SIP ATAs Cisco ATA 186), RTP read too short errors start
ocurring, or other dead call problems.  It is still possible to connect to
IVRs within asterisk, and inbound IAX2 calls from a 1.2.22 version of
Asterisk to the 1.4.9 version still work, but originating SIP devices are
unable to reliably make outbound calls.
====================================================================== 

---------------------------------------------------------------------- 
 jcovert - 06-11-08 08:30  
---------------------------------------------------------------------- 
I've now discovered another problem...

With Asterisk started in the background, the connector (asterisk -r) does
not display any output.

With due respect for the fact that russell indicates that some versions of
Darwin (possibly even the latest 10.4 version) have a poll() function that
Asterisk hasn't been able to use directly (either broken or "compatible"
[aka "different"]) I have re-introduced the emulated poll() routine with
the following change:

Instead of:

    assert (pArray != (struct pollfd *) NULL);

I have:

    if (pArray == 0) return -1; /* JRC */

No more failure on the second SIP call, and the connector works again. 
We'll see if this stays up and runs.  However, the client I'm working for
today does not allow "foreign" equipment on their site, so it will be this
evening before I can do any further significant testing.

/john 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-11-08 08:30  jcovert        Note Added: 0088584                          
======================================================================




More information about the asterisk-bugs mailing list