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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 13:29:18 CDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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-04 13:29 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;
    };
};
==========

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 13:29 Cyberax        New Issue                                    
2011-05-04 13:29 Cyberax        Asterisk Version          => 1.8.4-rc3       
2011-05-04 13:29 Cyberax        Regression                => No              
2011-05-04 13:29 Cyberax        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list