diff options
author | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 15:34:42 +0000 |
---|---|---|
committer | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 15:34:42 +0000 |
commit | 497094a18259d8adc0951fb1709aeb2dbdf3d1c1 (patch) | |
tree | 1612d35cbfbd062cfc60befdca5622915ff50bba /res | |
parent | f6eb926862e5cb71540847d5254e1381d0b659e9 (diff) |
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)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@131915 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_features.c b/res/res_features.c index 5c68c78b5..d1a481eee 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -735,8 +735,8 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p } /*! \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(); |