[svn-commits] murf: branch 1.4 r51716 -
/branches/1.4/res/res_features.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jan 23 13:32:55 MST 2007
Author: murf
Date: Tue Jan 23 14:32:54 2007
New Revision: 51716
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51716
Log:
this mod from 8593 (dstchannel in cdr is empty when transfer call).
Modified:
branches/1.4/res/res_features.c
Modified: branches/1.4/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=51716&r1=51715&r2=51716
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Tue Jan 23 14:32:54 2007
@@ -1822,6 +1822,9 @@
ast_set_flag(&(config.features_caller), AST_FEATURE_REDIRECT);
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);
More information about the svn-commits
mailing list