Make sure that the inUse and inRinging fields for
authorMark Michelson <mmichelson@digium.com>
Fri, 10 Oct 2008 21:18:10 +0000 (21:18 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 10 Oct 2008 21:18:10 +0000 (21:18 +0000)
commit1d4bb1ce59e9ab013cf9f69912fb9121c4d9e239
tree1444b31a32c2f41c963168e1b4d0b3a0183f4341
parent038b588ee898d078e049292bce908ec92d5adfb2
Make sure that the inUse and inRinging fields for
a sip peer cannot go below zero. This is a regression
from 1.4 and so it will be applied to 1.6.0 as well.

(closes issue #13668)
Reported by: mjc

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