[asterisk-bugs] [Asterisk 0014146]: Dialplan variables not set upon blind xfer

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 20 17:37:06 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14146 
====================================================================== 
Reported By:                mattj
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   14146
Category:                   Applications/app_cdr
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-12-28 15:11 CST
Last Modified:              2009-01-20 17:37 CST
====================================================================== 
Summary:                    Dialplan variables not set upon blind xfer
Description: 
I'm having a very odd issue where upon executing a blind transfer, the CDR
dialplan variables are not set for the transferred leg of the call.

A calls B (leg is A -> B)
A blind transfers B to C (making the leg now B -> C)

When the B -> C leg of the call ends, the CDR variables in the dialplan,
particularly billsec are unset. This only occurs in the dialplan, the
generated CDRs are fine. This may be related to the h exten code being
moved recently. When I revert to 1.6.0.1, the problem is solved. I can not
compile 1.6.0.2 on my machine, but 1.6.0.3-rc1 is when the problem first
surfaced. For now, I can use 1.6.0.1.

We're playing back a greeting upon reaching a voicemail message. Here is
my dialplan code:

[default]
exten => s,1,Dial(SIP/provider/15555555555,30,T)
; user hits http://bugs.digium.com/view.php?id=1 to transfer to greeting context
so they don't need to wait
for greeting to play back
exten => 1,1,Goto(operator-greeting,s,1)

[operator-greeting]
exten => s,1,Answer
exten => s,n,WaitForSilence(2500,1,25)
exten => s,n,Playback(usermessage)
exten => s,n,Hangup

exten => h,1,NoOp(${CDR(billsec)}) ; is always 0 in 1.6.0.3-rc1 :(.
Correctly defined in 1.6.0.1
====================================================================== 

---------------------------------------------------------------------- 
 (0098285) mattj (reporter) - 2009-01-20 17:37
 http://bugs.digium.com/view.php?id=14146#c98285 
---------------------------------------------------------------------- 
I am transferring using the pound key (asterisk says "transfer") then
hitting 1. The phone is not using any SIP commands to complete the
transfer, only sending tones via RTP. Hope this helps. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-20 17:37 mattj          Note Added: 0098285                          
======================================================================




More information about the asterisk-bugs mailing list