Stasis: Only log errors for non-declined types
authorKinsey Moore <kmoore@digium.com>
Tue, 7 Oct 2014 20:33:29 +0000 (20:33 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 7 Oct 2014 20:33:29 +0000 (20:33 +0000)
commitd8bbf1ec1de6a4344ab47a43371b5f6fc594f035
tree8cf1180346452e2e6a5eaaa841212da863b9cfec
parentf7225da08a4c8be64a854b3483f61ab905c55114
Stasis: Only log errors for non-declined types

When message type creation is declined via stasis.conf, certain
operations log errors assuming that the declined type is being used
before initialization or after destruction. These error messages get
quite spammy for oft used message types and should not be logged in the
first place since the message type is validly NULL.

Reported by: Matt DiMeo
........

Merged revisions 424769 from http://svn.asterisk.org/svn/asterisk/branches/13

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