Fix the Park 'r' option when a channel parks itself.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 29 Oct 2012 19:31:36 +0000 (19:31 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 29 Oct 2012 19:31:36 +0000 (19:31 +0000)
commit8d65c777c845c4854f9a57cf51d89caf1ad35d2c
tree2b130d541ad1e8cbc95099eae5021c71015f0954
parente2702177a436339b622b430f2c93dde65a68a5a0
Fix the Park 'r' option when a channel parks itself.

When a channel uses the Park appliation to park itself with the 'r'
option, the channel hears music-on-hold instead of the requested ringing.

* Added a missing check for the 'r' option when a channel parks itself.

(closes issue ASTERISK-19382)
Reported by: James Stocks
Patches by: dsessions

Review: https://reviewboard.asterisk.org/r/2148/
........

Merged revisions 375388 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 375389 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 375390 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c