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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jun 13 05:43:19 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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-13 05:43 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0123326) pabelanger (manager) - 2010-06-13 05:43
 https://issues.asterisk.org/view.php?id=17461#c123326 
---------------------------------------------------------------------- 
Please use 

diff -u 

or 

svn diff 

on all your patches. Patches which include alternate formatting are almost
certainly going to be thrown out or ignored; there are too few hours in the
day to wade through difficult-to-follow C code fixes without the help of
diff -u.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-13 05:43 pabelanger     Note Added: 0123326                          
======================================================================




More information about the asterisk-bugs mailing list