[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 Apr 16 15:30:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10342 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10342
Category:                   Core/Channels
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.9  
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:              04-16-2008 15: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.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 04-16-08 15:30  
---------------------------------------------------------------------- 
One big difference between 1.2 and 1.4 with regards to Mac OSX and the
build system was that in 1.2, a Darwin system would not use the poll(2)
system call but would instead use a version in the Asterisk source which
actually used select(2) to determine ready file descriptors.

When the 1.4 build system changed to create a main/ directory, the logic
for which version of poll to compile moved to that directory's Makefile.
The result of this appeared to be that two different versions of poll()
would be compiled, and depending on which file poll() was called from, one
or the other version would be used. This is bad.

I have written a patch which will revert 1.4 to properly using the version
of poll() in the Asterisk source for darwin systems. I have a feeling that
this could be the cause behind issues http://bugs.digium.com/view.php?id=10202
and http://bugs.digium.com/view.php?id=10342, so I am posting
the patches on both bugs.

Please test Makefile.patch and report if its use has solved the problem
reported. Thank you very much! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-16-08 15:30  putnopvut      Note Added: 0085582                          
======================================================================




More information about the asterisk-bugs mailing list