[asterisk-bugs] [Asterisk 0013405]: [patch] T38 gateway

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 12 08:10:08 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13405 
====================================================================== 
Reported By:                dafe_von_cetin
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13405
Category:                   Applications/app_fax
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-115 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/459/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 140548 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-30 16:44 CDT
Last Modified:              2010-05-12 08:09 CDT
====================================================================== 
Summary:                    [patch] T38 gateway
Description: 
Hi all,

I'm sending you patch containing new application app_faxgateway.c
("FaxGateway") which is able to mediate T30 to T38 and vice versa.
Feature is using spands library (I used spandsp-0.0.4pre18 and
spandsp-0.0.5pre4).

Best regards
Daniel.

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

---------------------------------------------------------------------- 
 (0121772) DaFresh (reporter) - 2010-05-12 08:09
 https://issues.asterisk.org/view.php?id=13405#c121772 
---------------------------------------------------------------------- 
hello,

Here is the context :

ATA Device (SPA3102, latest fw)

<== SIP/T38 (alaw, LAN 100Mbits) ==>

Asterisk 1.6.2.6-1 (squeezez) + patch 
asterisk-1.6.2.6-t38gw-dial-patch.txt, libspandsp 0.0.6pre17

<== IAX (alaw, LAN 100Mbits) ==>

Asterisk 1.4.27.1 (XiVO)

<== DADHI (ISDN, T2) ==>

UDPTL is present, but faxes doesn't works as expected, seems the
negotiation between modems fails :

[May 12 14:32:20] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:20] DEBUG[15730] app_fax.c: Queued change - (0) ??? ->
no-signal
[May 12 14:32:22] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:23] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:24] DEBUG[15730] app_fax.c: HDLC frame type DIS, CRC OK
[May 12 14:32:24] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:27] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:29] DEBUG[15730] app_fax.c: HDLC frame type DIS, CRC OK
[May 12 14:32:29] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:32] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:34] DEBUG[15730] app_fax.c: HDLC frame type DIS, CRC OK
[May 12 14:32:34] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:34] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v21-preamble
[May 12 14:32:35] DEBUG[15730] app_fax.c: HDLC underflow at 2
[May 12 14:32:36] DEBUG[15730] app_fax.c: HDLC frame type TSI - CRC good
[May 12 14:32:36] DEBUG[15730] app_fax.c: HDLC underflow at 2
[May 12 14:32:36] DEBUG[15730] app_fax.c: HDLC next is 0x0
[May 12 14:32:37] DEBUG[15730] app_fax.c: HDLC frame type DCS - CRC OK,
sig end
[May 12 14:32:37] DEBUG[15730] app_fax.c: Queued change - (0) v21-preamble
-> no-signal
[May 12 14:32:37] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v17-14400-long-training
[May 12 14:32:37] DEBUG[15730] app_fax.c: HDLC underflow at 3
[May 12 14:32:37] DEBUG[15730] app_fax.c: HDLC next is 0x100
[May 12 14:32:37] DEBUG[15730] app_fax.c: HDLC shutdown
[May 12 14:32:41] DEBUG[15730] app_fax.c: Queued change - (0)
v17-14400-long-training -> no-signal
[May 12 14:32:41] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:42] DEBUG[15730] app_fax.c: HDLC frame type FTT, CRC OK
[May 12 14:32:42] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:43] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v21-preamble
[May 12 14:32:43] DEBUG[15730] app_fax.c: HDLC underflow at 8
[May 12 14:32:44] DEBUG[15730] app_fax.c: HDLC frame type TSI - CRC good
[May 12 14:32:44] DEBUG[15730] app_fax.c: HDLC underflow at 8
[May 12 14:32:44] DEBUG[15730] app_fax.c: HDLC next is 0x0
[May 12 14:32:45] DEBUG[15730] app_fax.c: HDLC frame type DCS - CRC OK,
sig end
[May 12 14:32:45] DEBUG[15730] app_fax.c: Queued change - (0) v21-preamble
-> no-signal
[May 12 14:32:46] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v17-12000-long-training
[May 12 14:32:46] DEBUG[15730] app_fax.c: HDLC underflow at 9
[May 12 14:32:46] DEBUG[15730] app_fax.c: HDLC next is 0x100
[May 12 14:32:46] DEBUG[15730] app_fax.c: HDLC shutdown
[May 12 14:32:49] DEBUG[15730] app_fax.c: Queued change - (0)
v17-12000-long-training -> no-signal
[May 12 14:32:49] DEBUG[15730] app_fax.c: HDLC signal status is Carrier up
(-2)
[May 12 14:32:50] DEBUG[15730] app_fax.c: HDLC frame type FTT, CRC OK
[May 12 14:32:50] DEBUG[15730] app_fax.c: HDLC signal status is Carrier
down (-1)
[May 12 14:32:51] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v21-preamble
[May 12 14:32:52] DEBUG[15730] app_fax.c: HDLC underflow at 14
[May 12 14:32:52] DEBUG[15730] app_fax.c: HDLC frame type TSI - CRC good
[May 12 14:32:53] DEBUG[15730] app_fax.c: HDLC underflow at 14
[May 12 14:32:53] DEBUG[15730] app_fax.c: HDLC next is 0x0
[May 12 14:32:54] DEBUG[15730] app_fax.c: HDLC frame type DCS - CRC OK,
sig end
[May 12 14:32:54] DEBUG[15730] app_fax.c: Queued change - (0) v21-preamble
-> no-signal
[May 12 14:32:54] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v27-2400-training
[May 12 14:32:54] DEBUG[15730] app_fax.c: HDLC underflow at 15
[May 12 14:32:54] DEBUG[15730] app_fax.c: HDLC next is 0x100
[May 12 14:32:54] DEBUG[15730] app_fax.c: HDLC shutdown
[May 12 14:32:59] WARNING[15730] app_fax.c: T38_FIELD_NON_ECM_SIG_END
received at the end of HDLC data!
[May 12 14:32:59] DEBUG[15730] app_fax.c: Queued change - (0)
v27-2400-training -> no-signal
[May 12 14:33:00] DEBUG[15730] app_fax.c: Queued change - (0) no-signal ->
v21-preamble
[May 12 14:33:01] DEBUG[15730] app_fax.c: HDLC frame type DCN - CRC OK,
sig end
[May 12 14:33:01] DEBUG[15730] app_fax.c: Queued change - (0) v21-preamble
-> no-signal


Did i miss something ? Any ideas ? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-12 08:09 DaFresh        Note Added: 0121772                          
======================================================================




More information about the asterisk-bugs mailing list