[svn-commits] trunk r34458 - /trunk/apps/app_dial.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jun 16 05:18:19 MST 2006
Author: bweschke
Date: Fri Jun 16 07:18:18 2006
New Revision: 34458
URL: http://svn.digium.com/view/asterisk?rev=34458&view=rev
Log:
Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)
Modified:
trunk/apps/app_dial.c
Modified: trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dial.c?rev=34458&r1=34457&r2=34458&view=diff
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Fri Jun 16 07:18:18 2006
@@ -481,8 +481,6 @@
if (o->forwards < AST_MAX_FORWARDS) {
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Now forwarding %s to '%s/%s' (thanks to %s)\n", in->name, tech, stuff, c->name);
- /* Setup parameters */
- c = o->chan = ast_request(tech, in->nativeformats, stuff, &cause);
/* If we have been told to ignore forwards, just set this channel to null and continue processing extensions normally */
if (ast_test_flag(peerflags, OPT_IGNORE_FORWARDING)) {
if (option_verbose > 2)
More information about the svn-commits
mailing list