Move the hookstate from line to device.
authorDamien Wedhorn <voip@facts.com.au>
Fri, 6 May 2011 22:24:08 +0000 (22:24 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Fri, 6 May 2011 22:24:08 +0000 (22:24 +0000)
commitbc61836c1b957332209b964597b3757f939ce922
treef754eb36e9799a3c068782c52c826baa34162baa
parent6df3b851e31785b81dd4a390b4c889cede6be03f
Move the hookstate from line to device.

Long time coming, finally moving the hookstate from line to device.
This may fix some issues where a device has multiple lines. Previously
we had to run through all lines on a device to see if it was actually
onhook or not.

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