[asterisk-bugs] [Asterisk 0015845]: Crash during attended transfer occurs

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 7 22:57:31 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15845 
====================================================================== 
Reported By:                marhbere
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15845
Category:                   Resources/res_musiconhold
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 215420 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-07 15:11 CDT
Last Modified:              2009-10-07 22:57 CDT
====================================================================== 
Summary:                    Crash during attended transfer occurs
Description: 
related view.php?id=15460 we haven´t any change after the patched.

Now run Asterisk SVN-branch-1.6.0-r215420M
and Asteris-Addons 1.6.0 r1024

Remembering: We are using queue's with SIP static and dynamic members; mho
based in File from mp3.
I will attach new GDB, pls tell me if you need something more.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0015962 Asterisk crashed after transfer
related to          0015460 Asterisk Crashed When made a attended T...
related to          0015109 [patch] Abort by memory allocator, poss...
related to          0015841 [patch] double free or corruption (!pre...
related to          0015609 [patch] WARNING[23025]: channel.c:952 _...
related to          0015817 crash in local_attended_transfer, likel...
====================================================================== 

---------------------------------------------------------------------- 
 (0112038) testing20091001 (reporter) - 2009-10-07 22:57
 https://issues.asterisk.org/view.php?id=15845#c112038 
---------------------------------------------------------------------- 
I marked out following code in features.c and it looks fixed my issue
0015962. my one cent.


//      if (res < 0) {
//              finishup(transferee);
//              return -1; /* error ? */
//      }

//      if (res > 0)    /* If they've typed a digit already, handle it */
//              xferto[0] = (char) res;
        ast_stopstream(transferer);
//      res = ast_app_dtget(transferer, transferer_real_context, xferto,
sizeof(xferto), 100, transferdigittimeout);
//      if (res < 0) {  /* hangup, would be 0 for invalid and 1 for valid
*/
//              finishup(transferee);
//              return res;
//      }
//      if (!strcmp(xferto, ast_parking_ext())) {
//              res = finishup(transferee);
//              if (res)
//                      res = -1;
//              else if (!(parkstatus =
masq_park_call_announce(transferee, transferer, 0, NULL))) {    /* success
*/
//                      /* We return non-zero, but tell the PBX not to
hang the channel when
//                         the thread dies -- We have to be careful now
though.  We are responsible for
//                         hanging up the channel, else it will never be
hung up! */
//
//                      return 0;
//              } else {
//                      ast_log(LOG_WARNING, "Unable to park call %s,
parkstatus = %d\n", transferee->name, parkstatus);
//              }
//              /*! \todo XXX Maybe we should have another message here
instead of invalid extension XXX */
//      } else 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-07 22:57 testing20091001Note Added: 0112038                          
======================================================================




More information about the asterisk-bugs mailing list