diff options
author | Terry Wilson <twilson@digium.com> | 2010-06-01 21:12:49 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2010-06-01 21:12:49 +0000 |
commit | ffbb85bb4d5065cefc2bda52f6eda4841ba99ab1 (patch) | |
tree | e8c235a0821d3cc6b70f4162e7b6a8cfb0a6534b /apps | |
parent | 464e44e325f1d14cdac0cd5440018455103aec0a (diff) |
Set app and appdata fields when a Dial is redirected
(closes issue #17204)
Reported by: one47
Tested by: twilson, one47
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 2 |
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 |