Only create Stasis subscriptions when enabled
authorMatthew Jordan <mjordan@digium.com>
Wed, 2 Oct 2013 21:26:34 +0000 (21:26 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 2 Oct 2013 21:26:34 +0000 (21:26 +0000)
commit6e2b1a54ab3b3a088fa6414f4d9e4a9206aab734
treef3079d914d95b216f351b967d0e2dd4b2bf580c9
parentbe62f83d5494ceda6f8f158d338bbe4618ae8426
Only create Stasis subscriptions when enabled

Subscribing to Stasis isn't free.

As such, this patch makes AMI, CDR, and CEL - the "big 3" - only subscribe
when enabled. Toggling their availability via a .conf file will
unsubscribe/subscribe as appropriate.

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

Merged revisions 400312 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cdr.c
main/cel.c
main/manager.c