[asterisk-bugs] [Asterisk 0017049]: CLI commands via asterisk -rx may not return all output

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 17 16:51:37 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17049 
====================================================================== 
Reported By:                russell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17049
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-1104 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 253113 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-17 10:52 CDT
Last Modified:              2010-03-17 16:51 CDT
====================================================================== 
Summary:                    CLI commands via asterisk -rx may not return all
output
Description: 
If a CLI command takes a while to complete, an asterisk -rx process will
exit early.  I noticed this when bamboo runs the unit tests.  It is very
easy to reproduce.

1) Compile Asterisk with TEST_FRAMEWORK enabled, and all of the test
modules.

2) Run the unit tests with asterisk -rx.

The process will exit long before the tests are finished running.
====================================================================== 

---------------------------------------------------------------------- 
 (0119531) russell (administrator) - 2010-03-17 16:51
 https://issues.asterisk.org/view.php?id=17049#c119531 
---------------------------------------------------------------------- 
I guess it makes sense for there to be some sort of reasonable timeout if
no data is received from the main asterisk process after some period of
time.  However, in this particular case, I would like at least an option to
force it to wait until the main process closes the connection after
completing the CLI command execution. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-17 16:51 russell        Note Added: 0119531                          
======================================================================




More information about the asterisk-bugs mailing list