Ensure overlapping hold flags do not conflict
authorKinsey Moore <kmoore@digium.com>
Wed, 6 Jun 2012 16:11:01 +0000 (16:11 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 6 Jun 2012 16:11:01 +0000 (16:11 +0000)
commit1492177b7b7376976d8a979ed92917a7ca8da47e
tree798d4e00ca3cb0d7ebf8249476ef51fa7693e850
parenta2402dbe25b37ded0633054baf5ffeffbb450f40
Ensure overlapping hold flags do not conflict

When changing between different modes of hold, the flags were not being
cleared out properly causing a failure to change hold states.

(closes issue ASTERISK-19919)
Patch-by: Morten Tryfoss
Reported-by: Morten Tryfoss
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c