[asterisk-bugs] [Asterisk 0019328]: ExternalIVR Crash

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 29 05:08:26 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19328 
====================================================================== 
Reported By:                chris-mac
Assigned To:                thedavidfactor
====================================================================== 
Project:                    Asterisk
Issue ID:                   19328
Category:                   Applications/app_externalivr
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-19 08:13 CDT
Last Modified:              2011-05-29 05:08 CDT
====================================================================== 
Summary:                    ExternalIVR Crash
Description: 
Asterisk crashes as described below:

extensions.conf:
exten => _X.,1,Ringing()
exten => _X.,n,Answer()
exten => _X.,n,Answer()
exten => _X.,n,ExternalIVR(/enc/etc/asterisk/ivr/test.sh)

console:
    -- Executing [448454198462 at common:1] Ringing("SIP/OpenSER-00000000",
"") in new stack
    -- Executing [448454198462 at common:2] Answer("SIP/OpenSER-00000000",
"") in new stack
    -- Executing [448454198462 at common:3]
ExternalIVR("SIP/OpenSER-00000000", "/enc/etc/asterisk/ivr/test.sh") in new
stack
       > ExternalIVR received application and arguments:
/enc/etc/asterisk/ivr/test.sh
       > ExternalIVR received options: (null)
       > Parsing options from: [(null)]
    -- Answering channel and starting generator
       > got command 'S,/var/lib/asterisk/sounds/demo-congrats'
Segmentation fault (core dumped)


test.sh IVR script and backtrace attached.
====================================================================== 

---------------------------------------------------------------------- 
 (0135538) chris-mac (reporter) - 2011-05-29 05:08
 https://issues.asterisk.org/view.php?id=19328#c135538 
---------------------------------------------------------------------- 
Just discovered I was missing:

load => bridge_*

in modules.conf

Once bridge modules are loaded, ExternalIVR doesn't crash any more.

Nevertheless it probably shouldn't crash, but throw some error message
instead? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-29 05:08 chris-mac      Note Added: 0135538                          
======================================================================




More information about the asterisk-bugs mailing list