From c26bafdb365670d255374c3e4748ca4b17fd6788 Mon Sep 17 00:00:00 2001 From: jpeeler Date: Mon, 27 Apr 2009 23:25:05 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@190829 f38db490-d61c-443f-a65b-d21fe96a405b --- main/features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/features.c') diff --git a/main/features.c b/main/features.c index d75a7c098..090813b1a 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); } -- cgit v1.2.3