[asterisk-bugs] [Asterisk 0019230]: pbx_lua hangs on faxdetect

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 5 10:47:53 CDT 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19230 
====================================================================== 
Reported By:                Cyberax
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19230
Category:                   PBX/pbx_lua
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.4-rc3 
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-04 13:29 CDT
Last Modified:              2011-05-05 10:47 CDT
====================================================================== 
Summary:                    pbx_lua hangs on faxdetect
Description: 
pbx_lua module deadlocks on faxdetect. The last lines from the log are:
==========
[May  4 21:04:50] DEBUG[18412]: dsp.c:590 tone_detect: 1100 Hz done
detected
[May  4 21:04:50] DEBUG[18412]: chan_sip.c:6954 sip_rtp_read: Fax CNG
detected on SIP/datagroup-in-00000000
[May  4 21:04:50] DEBUG[18412]: pbx_lua.c:1283 lua_find_extension: Looking
up fax at from-kharkov:1
==========

The relevant section of extensions.lua is:
==========
extensions = {
    ["from-kharkov"] = {
        ["fax"] = function()
            app.DumpChan() -- This never happens
            app.ReceiveFax("/tmp/test.tiff")
        end;

        ["s"] = function()
            app.answer()
            app.dial("SIP/1602","30","gkt")
            app.hangup()
        end;
    };
};
==========

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

---------------------------------------------------------------------- 
 (0134498) lmadsen (administrator) - 2011-05-05 10:47
 https://issues.asterisk.org/view.php?id=19230#c134498 
---------------------------------------------------------------------- 
Unfortunately your backtrace contains a lot of optimized out data. Please
provide a backtrace per
https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-05 10:47 lmadsen        Note Added: 0134498                          
2011-05-05 10:47 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list