[asterisk-bugs] [Asterisk 0012586]: During a blind transfer BLINDTRANSFER is set incorrectly

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 17 19:05:04 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12586 
====================================================================== 
Reported By:                Skavin
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12586
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-05-2008 17:28 CDT
Last Modified:              07-17-2008 19:05 CDT
====================================================================== 
Summary:                    During a blind transfer BLINDTRANSFER is set
incorrectly
Description: 
During a blind transfer BLINDTRANSFER is set incorrectly 

builtin_blindtransfer is setting BLINDTRANSFER to the transferee name

should this not be the transferer name?

the result is that ${BLINDTRANSFER} is the same as ${CHANNEL} both being
the person that was transfered not the person to be billed!
====================================================================== 

---------------------------------------------------------------------- 
 prado - 07-17-08 19:05  
---------------------------------------------------------------------- 
Yes, I got this situation in version 1.4.21.1 (latest version). My dialplan
was not working as it should. 

According to as I know (and to as I read everywhere), ${BLINDTRANSFER}
should return the channel that dialed the number when doing a blind
transfer, ok?

Specifically, this means who pressed the # key, ok?
(assuming the default asterisk configuration where # initiates a
blindtransfer)

Please correct me if I am wrong.


I have a typical administrative assistent situation:

In my dialplan I needed to use this variable in this situation:

A calls B
A initiate blindtransfer 
A transfer B to a conference room.

A calls C
A initiate blindtransfer 
A transfer C to a conference room.

A calls "N"
A initiate blindtransfer 
A transfer "N" to a conference room.

A enters the conference room.
Everybody shoud be in the same room.


${BLINDTRANSFER} here is used as a reference to dinamically create the
room, so everybody transfered stays in the same room (the room created by
number A)

It was not working as it shoud because it was creating B room, C room, and
so.. 
I made some tests and thought it was my dialplan, but it was not.


Then I found that there is possibly a typo in "features.c" in line 706!

Original line 706:
pbx_builtin_setvar_helper(peer, "BLINDTRANSFER", transferee->name);

It should be:
pbx_builtin_setvar_helper(peer, "BLINDTRANSFER", transferer->name);


Changed "transferee" to "transferer" solved my problem!


As I told, this is the way I understand ${BLINDTRANSFER} should be. 
But now qwell answer is making me think twice....

Any comments? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-17-08 19:05  prado          Note Added: 0090428                          
======================================================================




More information about the asterisk-bugs mailing list