[asterisk-commits] jrose: branch 12 r403957 - /branches/12/main/bridge.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 16 12:22:18 CST 2013


Author: jrose
Date: Mon Dec 16 12:22:14 2013
New Revision: 403957

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=403957
Log:
transfers: Fix bug setting both BLINDTRANSFER and ATTENDEDTRANSFER

The ast_bridge_set_transfer_variables function is supposed to wipe whichever
variable isn't being set. Instead it was setting both to the new value.  Oops.

(issue AFS-24)

Modified:
    branches/12/main/bridge.c

Modified: branches/12/main/bridge.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/bridge.c?view=diff&rev=403957&r1=403956&r2=403957
==============================================================================
--- branches/12/main/bridge.c (original)
+++ branches/12/main/bridge.c Mon Dec 16 12:22:14 2013
@@ -3969,7 +3969,7 @@
 	}
 
 	pbx_builtin_setvar_helper(chan, writevar, value);
-	pbx_builtin_setvar_helper(chan, erasevar, value);
+	pbx_builtin_setvar_helper(chan, erasevar, NULL);
 }
 
 /*!




More information about the asterisk-commits mailing list