Merged revisions 285371 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 7 Sep 2010 21:12:58 +0000 (21:12 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 7 Sep 2010 21:12:58 +0000 (21:12 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r285371 | rmudgett | 2010-09-07 16:08:35 -0500 (Tue, 07 Sep 2010) | 1 line

  Fix cut-n-paste error.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@285372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index 02ae763..99cde8b 100644 (file)
@@ -2802,7 +2802,7 @@ static struct ast_channel *feature_request_and_dial(struct ast_channel *caller,
                                        }
                                } else if (f->subclass.integer == AST_CONTROL_REDIRECTING) {
                                        if (ast_channel_redirecting_macro(chan, caller, f, 1, 1)) {
-                                               ast_indicate_data(caller, AST_CONTROL_CONNECTED_LINE, f->data.ptr, f->datalen);
+                                               ast_indicate_data(caller, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
                                        }
                                } else if (f->subclass.integer != -1 && f->subclass.integer != AST_CONTROL_PROGRESS) {
                                        ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass.integer);