[asterisk-bugs] [Asterisk 0017264]: [patch] Crash when using Background() in Macro called by M() option to Dial()

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 28 12:57:40 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17264 
====================================================================== 
Reported By:                falves11
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17264
Category:                   Applications/app_dial
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.18 
JIRA:                       SWP-1397 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 259958 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-29 17:27 CDT
Last Modified:              2010-05-28 12:57 CDT
====================================================================== 
Summary:                    [patch] Crash when using Background() in Macro
called by M() option to Dial()
Description: 
This the section where it blows up.

exten
=>_X.,n,Dial(${CUT(CARRIERLIST,-,${i})},${CUT(TO,-,${i})},M(get-callid^${PROMPT})L(10800000))
;dial once

[macro-get-callid]
exten => s,1,Verbose(2,Playing ${ARG1})
exten => s,n,GotoIf($["${ARG1}" = "0" ]?salida)
exten => s,n,Background(${ARG1})
exten => s,n(salida),MacroExit
====================================================================== 

---------------------------------------------------------------------- 
 (0122627) svnbot (reporter) - 2010-05-28 12:57
 https://issues.asterisk.org/view.php?id=17264#c122627 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 266293

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r266293 | dvossel | 2010-05-28 12:57:39 -0500 (Fri, 28 May 2010) | 16
lines

Merged revisions 266292 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r266292 | dvossel | 2010-05-28 12:55:38 -0500 (Fri, 28 May 2010) | 9
lines
  
  fixes crash when creation of UDPTL fails
  
  (closes issue https://issues.asterisk.org/view.php?id=17264)
  Reported by: falves11
  Patches:
        issue_17264_reviewboard_fix.diff uploaded by dvossel (license 671)
        issue_17264_1.6.2_reviewboard_fix.diff uploaded by dvossel
(license 671)
  Tested by: falves11
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=266293 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-28 12:57 svnbot         Checkin                                      
2010-05-28 12:57 svnbot         Note Added: 0122627                          
======================================================================




More information about the asterisk-bugs mailing list