[asterisk-commits] twilson: branch group/srtp r167977 - /team/group/srtp/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 8 19:20:24 CST 2009


Author: twilson
Date: Thu Jan  8 19:20:23 2009
New Revision: 167977

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167977
Log:
Remove duplicate copy that got automereged in...somehow

Modified:
    team/group/srtp/apps/app_dial.c

Modified: team/group/srtp/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/group/srtp/apps/app_dial.c?view=diff&rev=167977&r1=167976&r2=167977
==============================================================================
--- team/group/srtp/apps/app_dial.c (original)
+++ team/group/srtp/apps/app_dial.c Thu Jan  8 19:20:23 2009
@@ -2035,10 +2035,6 @@
 				ast_copy_string(peer->context, chan->context, sizeof(peer->context));
 				ast_copy_string(peer->exten, chan->exten, sizeof(peer->exten));
 
-				/* Set peer->exten and peer->context so that MACRO_EXTEN and MACRO_CONTEXT get set */
-				ast_copy_string(peer->context, chan->context, sizeof(peer->context));
-				ast_copy_string(peer->exten, chan->exten, sizeof(peer->exten));
-
 				replace_macro_delimiter(opt_args[OPT_ARG_CALLEE_MACRO]);
 				res = pbx_exec(peer, theapp, opt_args[OPT_ARG_CALLEE_MACRO]);
 				ast_debug(1, "Macro exited with status %d\n", res);




More information about the asterisk-commits mailing list