app_meetme: Fix channels lingering when hung up under certain conditions
authorJonathan Rose <jrose@digium.com>
Thu, 15 Nov 2012 23:10:13 +0000 (23:10 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 15 Nov 2012 23:10:13 +0000 (23:10 +0000)
commit7ec134a8d706203e3426ad1d781394798e2929c9
tree43276c41eeb1a41d2008b45668f0c53101014f26
parent6b07dd60ccf8a73635218b996c4f84b286ca447c
app_meetme: Fix channels lingering when hung up under certain conditions

Channels would get stuck and MeetMe would repeatedly display an Unable
to write frame to channel error in the conf_run function if hung up
during certain sound prompts such as during user count announcements.
This patch fixes that by reintroducing a hangup check in the meetme's
main loop (also in conf_run).

(closes issue ASTERISK-20486)
Reported by: Michael Cargile
Review: https://reviewboard.asterisk.org/r/2187/
Patches:
    meetme_hangup_patch_ASTERISK-20486_v3.diff uploaded by Jonathan Rose (license 6182)
........

Merged revisions 376307 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 376308 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 376310 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_meetme.c