[asterisk-bugs] [Asterisk 0019217]: Fullybooted event is always sent after login

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 3 11:29:11 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19217 
====================================================================== 
Reported By:                oej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19217
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.4-rc3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 not fixable
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-05-03 07:27 CDT
Last Modified:              2011-05-03 11:29 CDT
====================================================================== 
Summary:                    Fullybooted event is always sent after login
Description: 
Everytime I login to manager with "Action:login" I get a fullybooted event,
even if the system has been up and running for a long time.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019089 [patch] FulltBooted event received even...
====================================================================== 

---------------------------------------------------------------------- 
 (0134342) twilson (administrator) - 2011-05-03 11:29
 https://issues.asterisk.org/view.php?id=19217#c134342 
---------------------------------------------------------------------- 
You can't just add it to the login event because there are two cases.

1) You log in before everything is fully booted. You then need a separate
event to fire when things are "fully booted".

2) You log in after things are fully booted, but still need to know
whether things are fully booted. While you could add something to the login
response (Fullybooted: yes/no), in the case of "no" you would still have to
wait for the event.

In my opinion, It is easier to write manager apps that just wait for the
FullyBooted event before doing anything than to login, parse the login
response for fullybooted, then wait for the event in the case that
fullybooted is no. Others may disagree. It is a bit more chatty sending the
full event every time there is a login. I like the simplicity of onLogin ->
WaitForFulllyBooted. There is certainly room for opinion, but this is not a
right/wrong issue. Certainly it is not a behavior that will change in 1.8. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 11:29 twilson        Note Added: 0134342                          
======================================================================




More information about the asterisk-bugs mailing list