mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Fix announcement of parking space after transfer to park.
Don't set the orig_chan_name in masq_park_call when the announcement is to be played. This change was copied from all the other working 1.6 branches. (closes issue #14863) Reported by: noahisaac git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@190829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -648,7 +648,7 @@ static int masq_park_call(struct ast_channel *rchan, struct ast_channel *peer, i
|
||||
peer = chan;
|
||||
}
|
||||
|
||||
if (!play_announcement || !orig_chan_name) {
|
||||
if (!play_announcement && !orig_chan_name) {
|
||||
orig_chan_name = ast_strdupa(chan->name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user