[asterisk-bugs] [Asterisk 0013404]: Commands issued to asterisk using a remote console on OSX don't seem to have any effect (Bug #0011928?)

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 27 18:55:45 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13404 
====================================================================== 
Reported By:                agalbraith
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13404
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 140547 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-30 12:30 CDT
Last Modified:              2009-02-27 18:55 CST
====================================================================== 
Summary:                    Commands issued to asterisk using a remote console
on OSX don't seem to have any effect (Bug
http://bugs.digium.com/view.php?id=11928?)
Description: 
When starting Asterisk using either 'launchctl' or from a prommpt, it
becomes impossible to issue commands using a remote (asterisk -r)
connection.

Commands entered simply return to the CLI prompt.

The remote console *is* connected, because if the command "stop now" is
issued to the local console, the console disconnects.

This appears to be a recurrance of bug 0011928, however I've tried both
with and without the patch - and this behavior is consistent.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0013844 CLI non-responsive
====================================================================== 

---------------------------------------------------------------------- 
 (0100941) russell (administrator) - 2009-02-27 18:55
 http://bugs.digium.com/view.php?id=13404#c100941 
---------------------------------------------------------------------- 
This is probably still an issue, but I haven't tried it in a long time.  It
has just never made it high enough on my priority list to deal with.

The last time I worked on this, I tracked it down to the code running
poll() on the unix socket used to send commands to the main Asterisk
instance and receive the console output never detected input on the
socket.

I'm not sure if it's a bug in poll() / select() on OSX or something weird
that we're doing.  The same code is working fine on other platforms. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-27 18:55 russell        Note Added: 0100941                          
======================================================================




More information about the asterisk-bugs mailing list