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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 8 18:51:25 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11928 
====================================================================== 
Reported By:                adriavidal
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11928
Category:                   Core-General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
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:             02-05-2008 13:57 CST
Last Modified:              02-08-2008 18:51 CST
====================================================================== 
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.






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

---------------------------------------------------------------------- 
 Corydon76 - 02-08-08 18:51  
---------------------------------------------------------------------- 
It appears to be a problem of buffering.  When you call the command, the
output is, in fact, written (you can verify this with ktrace), but it's
getting buffered somewhere and is never arriving on the destination
console.  Note that if you start up asterisk with:

sudo asterisk -vvc

and connect with:

sudo asterisk -rc

You can type "stop now" on either console, and the opposite console does
not react.  If you type it on the remote console, then it doesn't take
effect until you "quit" (which would cause the buffer to get flushed).  If
you type it on the local console, then Asterisk quits immediately, but the
remote console looks as if it's still connected (and won't react at all
until you hit the Enter key and it realizes the other end of the pipe is
closed). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-08-08 18:51  Corydon76      Note Added: 0081951                          
======================================================================




More information about the asterisk-bugs mailing list