diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-16 12:18:18 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-16 12:18:18 +0000 |
commit | 8028f4d846250a3e459847533774101582b480dc (patch) | |
tree | a9579e43da9ad6e491b6e1e8bb0185597f62d7e2 /apps | |
parent | ac241207a517b21b6ce60bfecce9e174c30f1d0c (diff) |
Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34458 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index a5afc5127..25fa15aba 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -481,8 +481,6 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct dial_l 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) |