diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-23 20:36:08 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-23 20:36:08 +0000 |
commit | 935caf5194872df94cb502997d4e2c0189174662 (patch) | |
tree | 6264064433aa929a3d2061a50cfabfa76d7ec4c4 /res | |
parent | c6a4662d408a5d343f041b71a98cc4b909c02048 (diff) |
Merged revisions 51716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51716 | murf | 2007-01-23 13:32:54 -0700 (Tue, 23 Jan 2007) | 1 line
this mod from 8593 (dstchannel in cdr is empty when transfer call).
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51717 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_features.c b/res/res_features.c index aa110fd0e..085b998b1 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1835,6 +1835,9 @@ static int park_exec(struct ast_channel *chan, void *data) } res = ast_bridge_call(chan, peer, &config); + pbx_builtin_setvar_helper(chan, "PARKEDCHANNEL", peer->name); + ast_cdr_setdestchan(chan->cdr, peer->name); + /* Simulate the PBX hanging up */ if (res != AST_PBX_NO_HANGUP_PEER) ast_hangup(peer); |