mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
@@ -85,6 +85,9 @@ From 1.6.2 to 1.8:
|
|||||||
* Environment variables that start with "AST_" are reserved to the system and
|
* Environment variables that start with "AST_" are reserved to the system and
|
||||||
may no longer be set from the dialplan.
|
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:
|
From 1.6.1 to 1.6.2:
|
||||||
|
|
||||||
* SIP no longer sends the 183 progress message for early media by
|
* SIP no longer sends the 183 progress message for early media by
|
||||||
|
@@ -881,6 +881,8 @@ static void do_forward(struct chanlist *o,
|
|||||||
ast_string_field_set(c, accountcode, in->accountcode);
|
ast_string_field_set(c, accountcode, in->accountcode);
|
||||||
}
|
}
|
||||||
ast_party_connected_line_copy(&c->connected, &original->connected);
|
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 must unlock c before calling ast_channel_redirecting_macro, because
|
||||||
* we put c into autoservice there. That is pretty much a guaranteed
|
* we put c into autoservice there. That is pretty much a guaranteed
|
||||||
|
Reference in New Issue
Block a user