[asterisk-bugs] [Asterisk 0014757]: 'h' extension not being executed, if caller hangs up before call is answered

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 8 04:10:55 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14757 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14757
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 181371 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-25 16:41 CDT
Last Modified:              2009-04-08 04:10 CDT
====================================================================== 
Summary:                    'h' extension not being executed, if caller hangs up
 before call is answered
Description: 
We have a loop that clears the MYSQL connection that was used for the
call.

This used to work, but now we are seeing leaking conenctions, 1 for each
early hangup.





====================================================================== 

---------------------------------------------------------------------- 
 (0102890) alecdavis (reporter) - 2009-04-08 04:10
 http://bugs.digium.com/view.php?id=14757#c102890 
---------------------------------------------------------------------- 
Do you have a patch for the latest trunk version?

this patch fails with the following 
chch1:/usr/src/pbx/asterisk-addons/apps/tmp# patch -p0
app_addon_sql_mysql.c < bug_14757.diff.txt

patching file app_addon_sql_mysql.c
Hunk http://bugs.digium.com/view.php?id=1 succeeded at 90 (offset 6 lines).
Hunk http://bugs.digium.com/view.php?id=2 succeeded at 111 with fuzz 2 (offset 6
lines).
Hunk http://bugs.digium.com/view.php?id=3 FAILED at 191.
Hunk http://bugs.digium.com/view.php?id=4 FAILED at 213.
Hunk http://bugs.digium.com/view.php?id=5 FAILED at 263.
Hunk http://bugs.digium.com/view.php?id=6 FAILED at 466.
Hunk http://bugs.digium.com/view.php?id=7 succeeded at 572 (offset 66 lines).
4 out of 7 hunks FAILED -- saving rejects to file
app_addon_sql_mysql.c.rej 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-08 04:10 alecdavis      Note Added: 0102890                          
======================================================================




More information about the asterisk-bugs mailing list