aboutsummaryrefslogtreecommitdiffstats
path: root/main/features.c
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-27 23:25:05 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-27 23:25:05 +0000
commitc26bafdb365670d255374c3e4748ca4b17fd6788 (patch)
treecbca4787d164c4c05307738e39b474c039bf87fc /main/features.c
parentdd0784bda345e6377ac2d9bcc38a23b1f84587e0 (diff)
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
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
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);
}