aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-01 21:12:49 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-01 21:12:49 +0000
commitc8b64290b516220434ca6aa4996372f8155294f3 (patch)
treee8c235a0821d3cc6b70f4162e7b6a8cfb0a6534b /apps
parenta6ec9128f6455778fd8e83d3561db38c75639efb (diff)
Set app and appdata fields when a Dial is redirected
(closes issue #17204) Reported by: one47 Tested by: twilson, one47 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266786 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index fc0b67b4d..1422a4e02 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -881,6 +881,8 @@ static void do_forward(struct chanlist *o,
ast_string_field_set(c, accountcode, in->accountcode);
}
ast_party_connected_line_copy(&c->connected, &original->connected);
+ c->appl = "AppDial";
+ c->data = "(Outgoing Line)";
/*
* We must unlock c before calling ast_channel_redirecting_macro, because
* we put c into autoservice there. That is pretty much a guaranteed