From e71fc5d14116537dde4d154811069d8c15f659bb Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Mon, 27 Apr 2009 23:25:05 +0000 Subject: [PATCH] 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 --- main/features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/features.c b/main/features.c index d75a7c098a..090813b1a7 100644 --- a/main/features.c +++ b/main/features.c @@ -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); }