aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UPGRADE.txt3
-rw-r--r--apps/app_dial.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt
index f603caab4..7a002daba 100644
--- a/UPGRADE.txt
+++ b/UPGRADE.txt
@@ -85,6 +85,9 @@ From 1.6.2 to 1.8:
* Environment variables that start with "AST_" are reserved to the system and
may no longer be set from the dialplan.
+* When a call is redirected inside of a Dial, the app and appdata fields of the
+ CDR will now be set to "AppDial" and "(Outgoing Line)" instead of being blank.
+
From 1.6.1 to 1.6.2:
* SIP no longer sends the 183 progress message for early media by
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