]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Only create Stasis subscriptions when enabled
authorMatthew Jordan <mjordan@digium.com>
Wed, 2 Oct 2013 21:25:50 +0000 (21:25 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 2 Oct 2013 21:25:50 +0000 (21:25 +0000)
commit1d5b70a564ca87ba7073dcb7fb9798b48ba24906
tree6ba70ed7640b8f97da7c27f803fb7f3caf886385
parentd361cd262a29da6b3d04952352ba66a3caa73002
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/

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