[asterisk-bugs] [Asterisk 0011928]: Asterisk 1.6-beta2 on Mac Intel extrange CLI operation

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 28 14:45:58 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11928 
====================================================================== 
Reported By:                adriavidal
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   11928
Category:                   Core/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-02-05 13:57 CST
Last Modified:              2008-07-28 14:45 CDT
====================================================================== 
Summary:                    Asterisk 1.6-beta2 on Mac Intel extrange CLI
operation
Description: 
Compiled 1.6.-beta2 as root into my MacBook Intel.
When i run it as:

sudo asterisk 

then get into as:

sudo asterisk -vvr

any command i put into the cli is ignored, even if i try the autocomplet
function with tab something extrange is wrote into the console (see example
below)


If i run asterisk like root making asterisk -vvvvvvvvvc
everything seems ok.






====================================================================== 

---------------------------------------------------------------------- 
 (0090767) svnbot (reporter) - 2008-07-28 14:45
 http://bugs.digium.com/view.php?id=11928#c90767 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 134125

U   trunk/CHANGES
U   trunk/configure
U   trunk/configure.ac
U   trunk/main/Makefile

------------------------------------------------------------------------
r134125 | mmichelson | 2008-07-28 14:45:55 -0500 (Mon, 28 Jul 2008) | 27
lines

This commit compensates for buggy poll(2)
implementations. Asterisk has, for a long time,
had its own implementation of poll(2) which
just used the input arguments to call select(2).
In 1.4, this internal implementation was used
for Darwin systems. This was removed in Asterisk
trunk at some point, but it seems as though this
was not the right move to make.

On Mac OS X, it appears as though the poll used
to gather CLI input does not respond properly
when connecting via a remote Asterisk console.
Reverting to the use of Asterisk's poll fixed
the issue.

Also, there is now an option for the configure
script, --enable-internal-poll, which will allow
for anyone to use Asterisk's internal poll
implementation in case they suspect that their
system's poll implementation is buggy.

closes issue http://bugs.digium.com/view.php?id=11928)
Reported by: adriavidal
Patches:
      1.6.0-configurev2.patch uploaded by putnopvut (license 60)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=134125 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-28 14:45 svnbot         Checkin                                      
2008-07-28 14:45 svnbot         Note Added: 0090767                          
======================================================================




More information about the asterisk-bugs mailing list