[asterisk-commits] twilson: branch 1.4 r99032 - /branches/1.4/res/res_features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 18 11:13:00 CST 2008


Author: twilson
Date: Fri Jan 18 11:13:00 2008
New Revision: 99032

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99032
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-b14-r97657.diff uploaded by sergee (license 138)
Tested by: sergee, otherwiseguy

Modified:
    branches/1.4/res/res_features.c

Modified: branches/1.4/res/res_features.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_features.c?view=diff&rev=99032&r1=99031&r2=99032
==============================================================================
--- branches/1.4/res/res_features.c (original)
+++ branches/1.4/res/res_features.c Fri Jan 18 11:13:00 2008
@@ -882,8 +882,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, newchan->language, ""))




More information about the asterisk-commits mailing list