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:
Jeff Peeler
2009-04-27 23:25:05 +00:00
parent 53843dfb82
commit e71fc5d141

View File

@@ -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);
}