]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Make app_queue and res_agi independent of AMI being enabled.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 8 Oct 2013 15:11:04 +0000 (15:11 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 8 Oct 2013 15:11:04 +0000 (15:11 +0000)
commite57deaec333c1001ac07c15bff721cf543765b47
treeff2b0d21cc07e8c566ee4fff2aff3d442a54a080
parent1d72d481a7e8b55bb058f908635b08e82253eafb
Make app_queue and res_agi independent of AMI being enabled.

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.

(closes issue ASTERISK-22604)
Reported by: rmudgett

Review: https://reviewboard.asterisk.org/r/2902/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c
res/res_agi.c