res_parking: Fix some simple bugs
authorJonathan Rose <jrose@digium.com>
Thu, 23 May 2013 20:48:41 +0000 (20:48 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 23 May 2013 20:48:41 +0000 (20:48 +0000)
commitdd6923d0a96645d52d9c944d38d001e71eeb94d6
tree12b353a4e52c646e70f982a39824f774fd661f93
parent814fa7fe114cdab78d8e8a163ea5658b97d97caf
res_parking: Fix some simple bugs

Both of them are covered in the dynamic parking review on
https://reviewboard.asterisk.org/r/2550 - Remove unref against
parking lot that the bridge did on dissolve since the reference
wasn't taken in the first place. On a swap, reapply bridge roles
in order to get music on hold and such playing on the channel that
swaps into the bridge.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/parking/parking_bridge.c