Fix a bug where messages were getting duplicated on AMI.
authorJoshua Colp <jcolp@digium.com>
Sun, 23 Jun 2013 00:02:01 +0000 (00:02 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 23 Jun 2013 00:02:01 +0000 (00:02 +0000)
commit1403d1f17302e11e23e6ad835e5c57068aa46e7f
tree827ed622709edc5333997179c18c4c233e004bfc
parent175b9831f23ef97944398d476180682efa3b9a8b
Fix a bug where messages were getting duplicated on AMI.

This was caused by forwarding all endpoint messages to manager which includes
channel messages that are related to the endpoint. This change causes only
the PeerStatus messages to be forwarded to manager thus eliminating the
duplicate channel messages.

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