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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 8 23:19:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17461 
====================================================================== 
Reported By:                vmikhelson
Assigned To:                qwell
====================================================================== 
Project:                    AsteriskNOW and Packages
Issue ID:                   17461
Category:                   New Feature
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     acknowledged
JIRA:                        
====================================================================== 
Date Submitted:             2010-06-03 21:39 CDT
Last Modified:              2010-08-08 23:19 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0125700) vmikhelson (reporter) - 2010-08-08 23:19
 https://issues.asterisk.org/view.php?id=17461#c125700 
---------------------------------------------------------------------- 
The working and tested patches are submitted to the FreePBX bug tracking
system where whey probably belong to.

http://www.freepbx.org/trac/ticket/4325 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-08 23:19 vmikhelson     Note Added: 0125700                          
======================================================================




More information about the asterisk-bugs mailing list