Filter internal channels out of bridge enter/leave message handling
authorMatthew Jordan <mjordan@digium.com>
Mon, 16 Sep 2013 02:37:56 +0000 (02:37 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 16 Sep 2013 02:37:56 +0000 (02:37 +0000)
commit376d277b02a9bd648c9226a4227a7e949bab68ce
tree7f9785f95e6894c52fe1a12af722496e6842fcd8
parent2a371cd80bfb88552d2f42545718da2489e1a5ba
Filter internal channels out of bridge enter/leave message handling

Some channels exist merely as an implementation detail in Asterisk, such as
ConfBridge's announcer/recorder channels. These channels should never be
exposed to the outside world, or to interfaces that report on Asterisk. We
already filter out such channels in snapshot processing; however, we failed to
filter out bridge related messages that involved these channels.

This patch filters out bridge related messages that are for such channels. This
prevents a spurious WARNING message from being displayed when those channels
move in and out of bridges.
........

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

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