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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 6 04:12:01 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-06 04:11 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.

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

---------------------------------------------------------------------- 
 (0121456) foxfire (reporter) - 2010-05-06 04:11
 https://issues.asterisk.org/view.php?id=13405#c121456 
---------------------------------------------------------------------- 
hello

I am trying to make your patch work with the following setup
ATA -> SIP/T.38 -> Asterisk -> DAHDI -> FAX  

The ATA is an Grandstream HT502 with the latest Firmware , tested others.
asterisk is 1.6.2.6 with the latest dahdi and libpri.

Everything seem to go well, but when the connections dies before the FAX
is transmitted.


here is a part of the console log :

-- (12 headers 0 lines) ---
voip*CLI>                   
<--- SIP read from UDP:10.50.250.51:5060 --->
SIP/2.0 200 OK                               
Via: SIP/2.0/UDP 10.50.250.50:5060;branch=z9hG4bK1b45af35;rport=5060
From: <sip:300400001 at 10.50.250.50>;tag=as733287f0                   
To: "foxfire" <sip:foxfire at 10.50.250.50>;tag=1755182005             
Call-ID: 1105754636-5060-3 at 10.50.250.51                             
CSeq: 102 INVITE                                                    
Contact: <sip:foxfire at 10.50.250.51:5060>                            
Supported: replaces, path, timer                                    
User-Agent: Grandstream HT-502  V1.1B 1.0.1.57                      
Session-Expires: 1800;refresher=uas                                 
Require: timer                                                      
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER,
UPDATE
Content-Type: application/sdp                                             
     
Content-Length:   266                                                     
     

v=0
o=foxfire 8000 8001 IN IP4 10.50.250.51
s=SIP Call                             
c=IN IP4 10.50.250.51                  
t=0 0                                  
m=image 5004 udptl t38                 
a=T38FaxVersion:0                      
a=T38MaxBitRate:9600                   
a=T38FaxRateManagement:transferredTCF  
a=T38FaxMaxBuffer:400                  
a=T38FaxMaxDatagram:1400               
a=T38FaxUdpEC:t38UDPFEC                

<------------->
--- (14 headers 12 lines) ---
Got T.38 offer in SDP in dialog 1105754636-5060-3 at 10.50.250.51
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x0 (nothing)/video=0x0
(nothing)/text=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x0
(nothing), combined - 0x0 (nothing)                      
Got T.38 Re-invite without audio. Keeping RTP active during T.38 session. 
                                                    
set_destination: Parsing <sip:foxfire at 10.50.250.51:5060> for address/port
to send to                                           
set_destination: set destination to 10.50.250.51, port 5060               
                                                    
Transmitting (no NAT) to 10.50.250.51:5060:                               
                                                    
ACK sip:foxfire at 10.50.250.51:5060 SIP/2.0                                 
                                                    
Via: SIP/2.0/UDP 10.50.250.50:5060;branch=z9hG4bK61705ec3;rport           
                                                    
Max-Forwards: 70                                                          
                                                    
From: <sip:300400001 at 10.50.250.50>;tag=as733287f0                         
                                                    
To: "foxfire" <sip:foxfire at 10.50.250.50>;tag=1755182005                   
                                                    
Contact: <sip:300400001 at 10.50.250.50>                                     
                                                    
Call-ID: 1105754636-5060-3 at 10.50.250.51                                   
                                                    
CSeq: 102 ACK                                                             
                                                    
User-Agent: "X-Lite release 1105x"                                        
                                                    
Content-Length: 0                                                         
                                                    


---
 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 0, len 8)
 UDPTL (SIP/foxfire): packet from 10.50.250.51:5004 (type 0, seq 0, len
6)
 UDPTL (SIP/foxfire): packet from 10.50.250.51:5004 (type 0, seq 0, len
6)
 UDPTL (SIP/foxfire): packet from 10.50.250.51:5004 (type 0, seq 0, len
10)
 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 1, len 8)  

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 2, len 13) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 3, len 20) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 4, len 20) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 5, len 20) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 6, len 27) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 7, len 27) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 8, len 27) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 9, len 34) 

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 10, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 11, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 12, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 13, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 14, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 15, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 16, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 17, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 18, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 19, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 20, len 34)

 UDPTL (SIP/foxfire): packet to 10.50.250.51:5004 (type 0, seq 21, len 34)

voip*CLI>                                                                 

<--- SIP read from UDP:10.50.250.51:5060 --->                             

BYE sip:300400001 at 10.50.250.50 SIP/2.0                                    

Via: SIP/2.0/UDP 10.50.250.51:5060;branch=z9hG4bK1292189383;rport         

From: "foxfire" <sip:foxfire at 10.50.250.50>;tag=1755182005                 

To: <sip:300400001 at 10.50.250.50>;tag=as733287f0                           

Call-ID: 1105754636-5060-3 at 10.50.250.51                                   

CSeq: 22 BYE                                                              

Contact: <sip:foxfire at 10.50.250.51:5060>                                  

Max-Forwards: 70                                                          

Supported: replaces, path, timer                                          

User-Agent: Grandstream HT-502  V1.1B 1.0.1.57                            

Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER,
UPDATE
Content-Length: 0                                                         
     


thoughts anyone ? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-06 04:11 foxfire        Note Added: 0121456                          
======================================================================




More information about the asterisk-bugs mailing list