From c8b64290b516220434ca6aa4996372f8155294f3 Mon Sep 17 00:00:00 2001 From: twilson Date: Tue, 1 Jun 2010 21:12:49 +0000 Subject: 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 --- apps/app_dial.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') 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 -- cgit v1.2.3