[asterisk-bugs] [Asterisk 0014241]: h exten getting run at the wrong time

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 14 13:45:41 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14241 
====================================================================== 
Reported By:                jmls
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   14241
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Target Version:             1.4.23
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 168602 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-14 12:34 CST
Last Modified:              2009-01-14 13:45 CST
====================================================================== 
Summary:                    h exten getting run at the wrong time
Description: 
in 1.4 svn, If A calls B, and A is redirected via AMI to another extension
(meetme room for example), the h extension is being run on A before it is
redirected.

The h extension should be run on A when A hangs up.
====================================================================== 

---------------------------------------------------------------------- 
 (0097790) murf (administrator) - 2009-01-14 13:45
 http://bugs.digium.com/view.php?id=14241#c97790 
---------------------------------------------------------------------- 
OK, I've attached the
14241_redirect_no_bridgeCDR_or_h_exten_via_async_goto
patch; it is horribly intrusive, but I need to see just how intrusive it
is.
The patch has a few debug logs that I'll remove before I commit; but I
have a feeling I will definitely have to reduce the scope of this change,
because,
if every behavior mod it introduces is an improvement, it will still most
likely be perceived as an unwelcome change.

I advise using this in conjunction with the patch on 13892. In
unanswered=yes mode, you will see a CDR covering the time A is in the
meetme when "B calls A, 
A answers, then the AMI redirect is given that shifts A to a meetme
conf".

I tested this with both "A calls B, then A is redirected via AMI" and
                        "B calls A, then A is redirected via AMI".

This patch affects the first case, and does not touch the second.

It allows the h-exten to be run for A, when A hangs up, rather than when
A is vectored to the meetme. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-14 13:45 murf           Note Added: 0097790                          
======================================================================




More information about the asterisk-bugs mailing list