[asterisk-commits] bbryant: branch 1.4 r131915 - /branches/1.4/res/res_features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 18 10:34:42 CDT 2008
Author: bbryant
Date: Fri Jul 18 10:34:42 2008
New Revision: 131915
URL: http://svn.digium.com/view/asterisk?view=rev&rev=131915
Log:
Fix a bug in blind transfers where the BLINDTRANSFER variable isn't always set to the other end of the blind transfer.
(closes issue #12586)
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=131915&r1=131914&r2=131915
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Fri Jul 18 10:34:42 2008
@@ -735,8 +735,8 @@
}
/*! \todo XXX Maybe we should have another message here instead of invalid extension XXX */
} else if (ast_exists_extension(transferee, transferer_real_context, xferto, 1, transferer->cid.cid_num)) {
- pbx_builtin_setvar_helper(peer, "BLINDTRANSFER", transferee->name);
- pbx_builtin_setvar_helper(chan, "BLINDTRANSFER", peer->name);
+ pbx_builtin_setvar_helper(transferer, "BLINDTRANSFER", transferee->name);
+ pbx_builtin_setvar_helper(transferee, "BLINDTRANSFER", transferer->name);
res=finishup(transferee);
if (!transferer->cdr) {
transferer->cdr=ast_cdr_alloc();
More information about the asterisk-commits
mailing list