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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 15 02:30:35 CDT 2011


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:              2011-03-15 02:29 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.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018889 [patch] T.38 state should be unavailabl...
====================================================================== 

---------------------------------------------------------------------- 
 (0132929) irroot (reporter) - 2011-03-15 02:29
 https://issues.asterisk.org/view.php?id=13405#c132929 
---------------------------------------------------------------------- 
Here is a DP example im using for testing ill be pushing some tweaks latter
im happy with the way it is working now.the problems i was having turned
out to be a format management issue in chan_local im now focusing on the
switchover API hook
i dont want any code for switchover in channel.c it must be in the channel
drivers i have put a patch for T38SWITCHOVER option in sip that needs some
work.

There is now no dedicated app for T38Gateway and there is no hijacking of
the core bridge loop.
the gateway hooks into the core loop and replaces T.38 negotiation only if
set using FAXOPT this is done entirely inside res_fax.


[faxtest]
;This can be set as a default in res_fax.conf 
exten => _X.,1,SET(FAXOPT(t38gateway)=yes)
;Dial into local T.30 for testing i have removed T38 support from local
for this [no queryoption] can use the F option in trunk
exten => _X.,n(out),Dial(Local/${EXTEN}@faxin)
exten => _X.,n,Hangup

[faxin]
exten => _X.,1,Answer()
exten => _X.,n,Wait(3)
exten => _X.,n,ReceiveFAX(/var/spool/asterisk/fax/${CDR(linkedid)}.tiff)

the above works with a device that switches to T.38 automagically on
CNG/CED tone [Linksys 2102] the switchover im not happy with as of yet ill
be working on this and should be ready soon please email me gregory at
distrotech.co.za if you want to be emailed the current patch ill be posting
patch >= 1.8.4 when the switchover is complete. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-15 02:29 irroot         Note Added: 0132929                          
======================================================================




More information about the asterisk-bugs mailing list