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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 6 15:46:25 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
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-06 15:46 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;
    };
};
==========

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

---------------------------------------------------------------------- 
 (0134604) mnicholson (administrator) - 2011-05-06 15:46
 https://issues.asterisk.org/view.php?id=19230#c134604 
---------------------------------------------------------------------- 
I tried to reproduce this but I had some problems getting fax detection
working.  Please clarify if you are getting a crash or if asterisk is just
locking up. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-06 15:46 mnicholson     Note Added: 0134604                          
======================================================================




More information about the asterisk-bugs mailing list