[asterisk-bugs] [Asterisk 0016756]: app_fax doesn't receive fax with T.38

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 4 13:46:51 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16756 
====================================================================== 
Reported By:                viniciusfontes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16756
Category:                   Applications/app_fax
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-845 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-02 13:56 CST
Last Modified:              2010-02-04 13:46 CST
====================================================================== 
Summary:                    app_fax doesn't receive fax with T.38
Description: 
When I try to receive a fax from a provider that supports T.38 using
ReceiveFAX() provided by app_fax.so, the fax transmission ends prematurely
with an error.

What happens (according to Kevin Fleming) is this:

"In this call, Asterisk sent a re-INVITE to T.38 mode
from audio mode, the provider accepted it, and then Asterisk
acknowledged it. Immediately afterwards, Asterisk sent a re-INVITE
*back* to audio mode, which the provider accepted (and included T.38
capabilities in their response). Because of this, the FAX reception
process failed since the T.38 session was destroyed."

For reference, here is a link to the original mailing list thread: 
http://lists.digium.com/pipermail/asterisk-users/2010-February/244136.html
====================================================================== 

---------------------------------------------------------------------- 
 (0117732) viniciusfontes (reporter) - 2010-02-04 13:46
 https://issues.asterisk.org/view.php?id=16756#c117732 
---------------------------------------------------------------------- 
Yeah it's strange. Even more considering FFA works wonderfully well. Here's
some info about my box:

pabx:~# cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 4
model name	: Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping	: 9
cpu MHz		: 2793.390
cache size	: 1024 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up
pebs bts pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips	: 5593.02
clflush size	: 64
power management:

pabx:~# free -m
             total       used       free     shared    buffers     cached
Mem:           504        495          8          0         57        338
-/+ buffers/cache:         99        405
Swap:          533          0        532

pabx:~# dahdi_test 
Opened pseudo dahdi interface, measuring accuracy...
99.992% 99.987% 99.991% 99.991% 99.991% 99.991% 99.991% 99.991% 
99.990% 99.989% 99.991% 99.991% 99.990% 99.989% 99.991% 99.992% ^C
--- Results after 16 passes ---
Best: 99.992 -- Worst: 99.987 -- Average: 99.990383, Difference:
99.990384

pabx*CLI> timing test 
Attempting to test a timer with 50 ticks per second.
Using the 'DAHDI' timing module for this test.
It has been 1019 milliseconds, and we got 51 timer ticks

pabx:~# dahdi_cfg -tvv
DAHDI Tools Version - 2.2.1

DAHDI Version: 2.2.1
Echo Canceller(s): MG2
Configuration
======================

Dynamic span 1: driver eth, addr eth0/00:0B:3C:00:40:25, channels 32,
timing 1

Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 05: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 09)
Channel 10: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 10)
Channel 11: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 11)
Channel 12: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 12)
Channel 13: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 13)
Channel 14: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 14)
Channel 15: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 16)
Channel 17: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 17)
Channel 18: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 18)
Channel 19: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 19)
Channel 20: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 20)
Channel 21: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 21)
Channel 22: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 22)
Channel 23: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 23)
Channel 24: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 24)
Channel 25: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 25)
Channel 26: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 26)
Channel 27: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 27)
Channel 28: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 28)
Channel 29: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 29)
Channel 30: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 30)
Channel 31: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 31)
Channel 32: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 32)
Channel 33: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 33)
Channel 34: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 34)
Channel 35: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 35)
Channel 36: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 36)

35 channels to configure.







Any ideas are more than welcome. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-04 13:46 viniciusfontes Note Added: 0117732                          
======================================================================




More information about the asterisk-bugs mailing list