]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Message.c: Clear message channel frames on cleanup 86/1186/1
authorJonathan Rose <jrose@digium.com>
Wed, 13 May 2015 20:41:07 +0000 (15:41 -0500)
committerJonathan Rose <jrose@digium.com>
Fri, 4 Sep 2015 16:44:42 +0000 (11:44 -0500)
commit42c40b59b68e50ed9b1991904dbae7a9dabddce8
tree3f04ba50910dd5948693cac9d4f4b1cdfccb07f2
parenta1e1d8e81535ec07ea76756637a0ad70cf3ef431
Message.c: Clear message channel frames on cleanup

The message channel is a special channel that doesn't actually process frames.
However, certain actions can cause frames to be placed in the channel's read
queue including the Hangup application which is called on the channel after
each message is processed. Since the channel will continually be reused for
many messages, it's necessary to flush these frames at some point.

ASTERISK-25083 #close
Reported by: Jonathan Rose

Change-Id: Idf18df73ccd8c220be38743335b5c79c2a4c0d0f
(cherry picked from commit 02c513058905dae19f28393ea840a47ae4a9e66d)
main/message.c