Move things around a bit more for onhold support, and add a check to only decrement...
authorJoshua Colp <jcolp@digium.com>
Wed, 16 Aug 2006 15:34:50 +0000 (15:34 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 16 Aug 2006 15:34:50 +0000 (15:34 +0000)
commit59766196eaed8b62e615cde617e721e4012ff443
tree8ea3742398591900b7d69bbcf01d03afae4ca260
parente5a478e6b19453cfeb43ce916a5c6f90f14a771c
Move things around a bit more for onhold support, and add a check to only decrement the onhold variable if it's greater then 0. (issue #7740 reported by AuPix)

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