[asterisk-commits] twilson: trunk r99026 - /trunk/res/res_features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 18 10:58:50 CST 2008


Author: twilson
Date: Fri Jan 18 10:58:50 2008
New Revision: 99026

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99026
Log:
This should at least temporarily fix a problem where the 't' Dial
option is incorrectly passed to the transferee when built-in
attended transfers are used.  There is still a problem with 'T',
but better to fix some problems than no problems while we work
on it.

(closes issue #7904)
Reported by: k-egg
Patches: 
      transfer-fix-trunk-r97657.diff uploaded by sergee (license 138)
Tested by: sergee, otherwiseguy

Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?view=diff&rev=99026&r1=99025&r2=99026
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Fri Jan 18 10:58:50 2008
@@ -1128,8 +1128,8 @@
 			ast_hangup(newchan);
 			return -1;
 		}
-		tobj->chan = xferchan;
-		tobj->peer = newchan;
+		tobj->chan = newchan;
+		tobj->peer = xferchan;
 		tobj->bconfig = *config;
 
 		if (ast_stream_and_wait(newchan, xfersound, ""))
@@ -1224,8 +1224,8 @@
 			ast_hangup(newchan);
 			return -1;
 		}
-		tobj->chan = xferchan;
-		tobj->peer = newchan;
+		tobj->chan = newchan;
+		tobj->peer = xferchan;
 		tobj->bconfig = *config;
 
 		if (ast_stream_and_wait(newchan, xfersound, ""))




More information about the asterisk-commits mailing list