mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@51717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user