summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2009-01-20 18:48:14 +0000
committerTerry Wilson <twilson@digium.com>2009-01-20 18:48:14 +0000
commita6855a48b26e33131102465ab91a91e28721bdf1 (patch)
treed50b5f47206429c5caec7e63f1e454ce4e8fabd5 /main/features.c
parent1c2911f5a1affb71f41cf68cb53292eb5901f295 (diff)
Merged revisions 169485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r169485 | twilson | 2009-01-20 12:40:56 -0600 (Tue, 20 Jan 2009) | 6 lines Don't play audio to the channel if we've masqueraded (closes issue #14066) Reported by: bluefox Tested by: otherwiseguy, bluefox ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 7895a939d..a0b51d937 100644
--- a/main/features.c
+++ b/main/features.c
@@ -648,7 +648,7 @@ static int ast_park_call_full(struct ast_channel *chan, struct ast_channel *peer
*(args->extout) = x;
if (peer)
- ast_copy_string(pu->peername, peer->name, sizeof(pu->peername));
+ ast_copy_string(pu->peername, S_OR(args->orig_chan_name, peer->name), sizeof(pu->peername));
/* Remember what had been dialed, so that if the parking
expires, we try to come back to the same place */