[svn-commits] rmudgett: trunk r390612 - /trunk/main/core_local.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 5 18:29:45 CDT 2013


Author: rmudgett
Date: Wed Jun  5 18:29:43 2013
New Revision: 390612

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=390612
Log:
Make local channels use ast_channel_move() instead of the inlined version.

Modified:
    trunk/main/core_local.c

Modified: trunk/main/core_local.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/core_local.c?view=diff&rev=390612&r1=390611&r2=390612
==============================================================================
--- trunk/main/core_local.c (original)
+++ trunk/main/core_local.c Wed Jun  5 18:29:43 2013
@@ -445,9 +445,8 @@
 	case LOCAL_CALL_ACTION_MASQUERADE:
 		local_bridge_event(p);
 		ast_answer(chan);
-		res = ast_channel_masquerade(p->action.masq, chan);
+		res = ast_channel_move(p->action.masq, chan);
 		if (!res) {
-			ast_do_masquerade(p->action.masq);
 			/* Chan is now an orphaned zombie.  Destroy it. */
 			ast_hangup(chan);
 		}




More information about the svn-commits mailing list