[asterisk-commits] irroot: branch irroot/t38gateway-1.8 r326054 - in /team/irroot/t38gateway-1.8...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 1 11:09:06 CDT 2011


Author: irroot
Date: Fri Jul  1 11:09:03 2011
New Revision: 326054

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=326054
Log:
Remove changes to CHANGES this is a backport / remove codec changes to chan_local

Modified:
    team/irroot/t38gateway-1.8/CHANGES
    team/irroot/t38gateway-1.8/channels/chan_local.c

Modified: team/irroot/t38gateway-1.8/CHANGES
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-1.8/CHANGES?view=diff&rev=326054&r1=326053&r2=326054
==============================================================================
--- team/irroot/t38gateway-1.8/CHANGES (original)
+++ team/irroot/t38gateway-1.8/CHANGES Fri Jul  1 11:09:03 2011
@@ -7,12 +7,6 @@
 === and the other UPGRADE files for older releases.
 ===
 ======================================================================
-
-res_fax
---------------------------
- * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
-   into a FAXStatus event with an 'Operation' header that will be either
-   'send', 'receive', and 'gateway'.
 
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
@@ -83,7 +77,6 @@
    res_stun_monitor module support in chan_sip.
  * Addition of the 'auth_options_requests' option for turning on and off
    authentication for OPTIONS requests in chan_sip.
- * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
 
 
 IAX2 Changes
@@ -520,9 +513,6 @@
    applications will be lost, and that if the 'fax' logger level is directed to
    the console, the 'core set verbose' and 'core set debug' CLI commands will
    have no effect on whether the messages appear on the console or not.
- * FAXOPT(faxgateway) will enable a framehook that will take care of T.38
-   negotiation on reciving a CED tone on a channel. this gateway is to allow
-   translation of Audio T.30 [alaw/ulaw] to IFP T.38 terminals.
 
 Miscellaneous
 -------------

Modified: team/irroot/t38gateway-1.8/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-1.8/channels/chan_local.c?view=diff&rev=326054&r1=326053&r2=326054
==============================================================================
--- team/irroot/t38gateway-1.8/channels/chan_local.c (original)
+++ team/irroot/t38gateway-1.8/channels/chan_local.c Fri Jul  1 11:09:03 2011
@@ -584,7 +584,6 @@
 static int local_write(struct ast_channel *ast, struct ast_frame *f)
 {
 	struct local_pvt *p = ast->tech_pvt;
-	struct ast_channel *bridge;
 	int res = -1;
 	int isoutbound;
 
@@ -599,20 +598,6 @@
 
 	if (isoutbound && f && (f->frametype == AST_FRAME_VOICE || f->frametype == AST_FRAME_VIDEO)) {
 		check_bridge(p);
-	} else if (!isoutbound) {
-		/* fixup formats nativeformat has changed we must adjust
-		 * ast is p->owner and is locked here*/
-		bridge = ast_bridged_channel(ast);
-		if (bridge && !(bridge->nativeformats & ast->nativeformats)) {
-			ast->nativeformats = bridge->nativeformats;
-			ast_set_read_format(ast, ast->readformat);
-			ast_set_write_format(ast, ast->writeformat);
-			ast_channel_lock(p->chan);
-			p->chan->nativeformats = bridge->nativeformats;
-			ast_set_read_format(p->chan, p->chan->readformat);
-			ast_set_write_format(p->chan, p->chan->writeformat);
-			ast_channel_unlock(p->chan);
-		}
 	}
 
 	if (!ast_test_flag(p, LOCAL_ALREADY_MASQED)) {




More information about the asterisk-commits mailing list