[asterisk-bugs] [AsteriskNOW and Packages 0017461]: Amportal Restart fails to wait till Asterisk stops

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 3 21:39:09 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17461 
====================================================================== 
Reported By:                vmikhelson
Assigned To:                
====================================================================== 
Project:                    AsteriskNOW and Packages
Issue ID:                   17461
Category:                   New Feature
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
JIRA:                        
====================================================================== 
Date Submitted:             2010-06-03 21:39 CDT
Last Modified:              2010-06-03 21:39 CDT
====================================================================== 
Summary:                    Amportal Restart fails to wait till Asterisk stops
Description: 
Freepbx_engine logic assumes that Asterisk stops immediately upon 'core
stop gracefully' command execution. This behavior changed in Asterisk
1.6.2. It takes its time to perform a lot of cleanup.

One solution is to use 'core stop now'

Another solution is to implement a 'while' loop.

Modified stop_asterisk() function with the 'while' loop is in Additional
Information.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-03 21:39 vmikhelson     New Issue                                    
======================================================================




More information about the asterisk-bugs mailing list