[asterisk-bugs] [Asterisk 0014191]: Asterisk 1.6 restarts after completion of incoming fax

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 09:10:19 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14191 
====================================================================== 
Reported By:                Ian
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14191
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-07 13:34 CST
Last Modified:              2009-01-21 09:10 CST
====================================================================== 
Summary:                    Asterisk 1.6 restarts after completion of incoming
fax
Description: 
Asterisk 1.6.0.3rc1
dahdi-linux-2.1.0
dahdi-tools-2.1.0
libpri-1.4.8
SpanDSP-0.0.5pre4

My configuration is as follows. I have an asterisk 1.4 server that
interfaces with a POTS network. Our fax calls come into this server on an
analog card. The extension is then passed onto a second server running 1.6
which is dedicated for faxes. here is the extensions.conf

exten => _22X,1,Wait(2)
exten => _22X,n,Set(FAXFILE=/var/fax/${UNIQUEID}.tif)
exten => _22X,n,Answer()
exten => _22X,1,Wait(3)
exten => _22X,n,ReceiveFax(${FAXFILE})
exten => _22X,1,Hangup()

The fax is saved in the correct directory. However, after the save
asterisk restarts with a code 127

the only error that shows up is:

 symbol lookup error /var/lib/asterisk/modules/app_fax.so undefined symbol
T30_get_tx_ident 

A fresh reinstall of everything did not fix the problem.

When it was first installed everything work great. When I stress tested
with 8 incoming faxes simultaneously this problem popped up and never went
away.

Ian


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

---------------------------------------------------------------------- 
 (0098313) Ian (reporter) - 2009-01-21 09:10
 http://bugs.digium.com/view.php?id=14191#c98313 
---------------------------------------------------------------------- 
here is what I found. The variables in app_fax.c 

local_ident = T30_get_tx_ident(f)
far_ident = T30_get_rx_ident(f)

these values hold no value. The code will compile but asterisk will end
with a code 127 and restart after the completion of any incoming fax. 

local_ident = NULL
far_ident = NULL

'seems' to have fixed the problem, recompile and reinstall asterisk for
the fix to take effect. I will be stress testing this configuration and I
will let you guys know how it goes.

Ian 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 09:10 Ian            Note Added: 0098313                          
======================================================================




More information about the asterisk-bugs mailing list