[asterisk-bugs] [Asterisk 0015264]: ReceiveFAX does not produce CED tones, fax reception times out on DAHDI channels
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 1 17:03:18 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15264
======================================================================
Reported By: vmikhelson
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15264
Category: Applications/app_fax
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.0.9
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-03 14:52 CDT
Last Modified: 2009-07-01 17:03 CDT
======================================================================
Summary: ReceiveFAX does not produce CED tones, fax reception
times out on DAHDI channels
Description:
Asterisk takes a fax call on a DAHDI channel, properly switches to a "fax"
dialplan. Sending end continues sending tones, never receives anything back
from Asterisk, eventually times out.
======================================================================
----------------------------------------------------------------------
(0107325) vmikhelson (reporter) - 2009-07-01 17:03
https://issues.asterisk.org/view.php?id=15264#c107325
----------------------------------------------------------------------
Here is a little bit more debugging information.
What looks strange that channel.c first switches codec to ulaw as it
recognizes a fax transmission. Then down the road it switches back to
slin.
-Vladimir
[Jul 1 15:11:49] DEBUG[9322] dsp.c: 1100 Hz done detected
[Jul 1 15:11:49] DEBUG[9322] chan_dahdi.c: DTMF digit: f on DAHDI/1-1
[Jul 1 15:11:49] VERBOSE[9322] logger.c: -- Redirecting DAHDI/1-1 to fax
extension
[Jul 1 15:11:49] DEBUG[9322] channel.c: Soft-Hanging up channel
'DAHDI/1-1'
[Jul 1 15:11:49] DEBUG[9322] channel.c: Scheduling timer at 0 sample
intervals
[Jul 1 15:11:49] DEBUG[9322] channel.c: Set channel DAHDI/1-1 to write
format ulaw
<skipped>
[Jul 1 15:11:49] DEBUG[9322] pbx.c: Launching 'ReceiveFAX'
[Jul 1 15:11:49] VERBOSE[9322] logger.c: -- Executing
[s at macro-faxreceive:18] ReceiveFAX("DAHDI/1-1",
"/var/spool/asterisk/fax/1246479104.26-rx.tif") in new stack
[Jul 1 15:11:49] DEBUG[9322] res_fax.c: Requesting a new fax session from
'Digium Fax G.711 Driver'.
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: checking channel limits
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: Fax session '2' opened
completion pipes (fd0: 30, fd1: 31)
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: AST_FAX_TECH_RECEIVE
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: returning fax session '2'
to channel 'DAHDI/1-1'
[Jul 1 15:11:49] DEBUG[9322] res_fax.c: channel 'DAHDI/1-1' using fax
session '2'
[Jul 1 15:11:49] DEBUG[9322] channel.c: Set channel DAHDI/1-1 to write
format slin
[Jul 1 15:11:49] DEBUG[9322] channel.c: Set channel DAHDI/1-1 to read
format slin
[Jul 1 15:11:49] DEBUG[9322] chan_dahdi.c: Requested indication 19 on
channel DAHDI/1-1
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: session '2' opened fax
handle: 0
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: session '2' created
document queue for fax handle: 0
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: session '2' obtained
default document parameters for fax handle: 0
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: fax resource: 0 queued
'/var/spool/asterisk/fax/1246479104.26-rx.tif' to document queue as
document number: 1
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: session '2' obtained
default parameters for fax handle: 0
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: channel 'DAHDI/1-1' fax
session '2' rates { Tx Min: 2400 -> Tx Max: 14400, Rx Min: 2400 }
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: fax handle: 0 is receiving
fax into document queue: 0x9506938
[Jul 1 15:11:49] WARNING[9322] frame.c: Smoother was working on 4 format
frames, now trying to feed 64?
[Jul 1 15:11:49] ERROR[9322] res_fax.c: channel 'DAHDI/1-1' fax session
'2' failure, reason: 'Failed to feed the smoother'
[Jul 1 15:11:49] DEBUG[9322] res_fax.c: channel 'DAHDI/1-1' - event loop
stopped { timeout: 10000, ms: -1, res: -1 }
[Jul 1 15:11:49] DEBUG[9322] res_fax_digium.c: destroying session '0'
thread
[Jul 1 15:11:49] DEBUG[9323] res_fax_digium.c: fax channel: 0, resource:
0x9500090, event: EVN_RECEIVE_STARTED (0x3F3), event data: 0x0
Issue History
Date Modified Username Field Change
======================================================================
2009-07-01 17:03 vmikhelson Note Added: 0107325
======================================================================
More information about the asterisk-bugs
mailing list