chan_dahdi: Fix analog parking using flash-hook.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 1 Oct 2013 21:19:13 +0000 (21:19 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 1 Oct 2013 21:19:13 +0000 (21:19 +0000)
commit7d17d5fb0470c4fa1ececbd133c4d0785ad94f96
tree6bdb61fd6f866ffdd6f377dac2ac61066a591908
parenta0db5275ed82ce64ea4b39c1da555dd92b7ff92c
chan_dahdi: Fix analog parking using flash-hook.

Transferring an analog call using a flash-hook to parking would fail to
park the call and result in an invalid ao2 object unref.

* Park the correct bridged channel.
........

Merged revisions 400236 from http://svn.asterisk.org/svn/asterisk/branches/12

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