[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 17:21:47 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 17:21 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.





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

---------------------------------------------------------------------- 
 (0102964) alecdavis (reporter) - 2009-04-08 17:21
 http://bugs.digium.com/view.php?id=14757#c102964 
---------------------------------------------------------------------- 
I guessing I need asterisk at trunk as well, which was only checked out
12th March 09. svn info revision for asterisk shows 181371.

notice the warning 'ast_channel_datastore_alloc' is deprecated

tail end of 'make'
....
app_addon_sql_mysql.c:124:54: error: macro "AST_LIST_REMOVE_CURRENT"
passed 2 arguments, but takes just 1
app_addon_sql_mysql.c: In function âmysql_ds_destroyâ:
app_addon_sql_mysql.c:124: error: âAST_LIST_REMOVE_CURRENTâ undeclared
(first use in this function)
app_addon_sql_mysql.c:124: error: (Each undeclared identifier is reported
only once
app_addon_sql_mysql.c:124: error: for each function it appears in.)
app_addon_sql_mysql.c:150:54: error: macro "AST_LIST_REMOVE_CURRENT"
passed 2 arguments, but takes just 1
app_addon_sql_mysql.c: In function âmysql_ds_fixupâ:
app_addon_sql_mysql.c:150: error: âAST_LIST_REMOVE_CURRENTâ undeclared
(first use in this function)
app_addon_sql_mysql.c: In function âMYSQL_execâ:
app_addon_sql_mysql.c:531: warning: âast_channel_datastore_allocâ is
deprecated (declared at /usr/include/asterisk/channel.h:660)
app_addon_sql_mysql.c:577:41: error: macro "ast_config_load" requires 2
arguments, but only 1 given
app_addon_sql_mysql.c: In function âload_moduleâ:
app_addon_sql_mysql.c:577: error: âast_config_loadâ undeclared (first
use in this function)
make[1]: *** [app_addon_sql_mysql.o] Error 1
make[1]: Leaving directory `/usr/src/pbx/asterisk-addons/apps' 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-08 17:21 alecdavis      Note Added: 0102964                          
======================================================================




More information about the asterisk-bugs mailing list