[asterisk-dev] [Code Review] 2902: Make app_queue and res_agi independent of AMI being enabled.

opticron reviewboard at asterisk.org
Mon Oct 7 17:13:14 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2902/#review9902
-----------------------------------------------------------

Ship it!



/branches/12/apps/app_queue.c
<https://reviewboard.asterisk.org/r/2902/#comment19137>

    Might as well fix this to be AST_MODULE_LOAD_DECLINE as well.


- opticron


On Oct. 4, 2013, 8:30 p.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2902/
> -----------------------------------------------------------
> 
> (Updated Oct. 4, 2013, 8:30 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-22604
>     https://issues.asterisk.org/jira/browse/ASTERISK-22604
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> The https://reviewboard.asterisk.org/r/2888/ review changes manager to not subscribe to stasis when it is disabled for performance reasons.  When manager is disabled app_queue and res_agi decline to load and fail to clean up what they have already allocated.
> 
> * Made app_queue and res_agi clean up allocated resources when they decline to load.
> 
> * Made app_queue and res_agi use their own subscriptions to the stasis topics instead of borrowing manager's message router structure inappropriately.
> 
> 
> Diffs
> -----
> 
>   /branches/12/apps/app_queue.c 400593 
>   /branches/12/res/res_agi.c 400593 
> 
> Diff: https://reviewboard.asterisk.org/r/2902/diff/
> 
> 
> Testing
> -------
> 
> * app_queue and res_agi now load when manager is disabled.
> * The AMI events are generated whenever manager is enabled.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131007/90dd3f56/attachment.html>


More information about the asterisk-dev mailing list