mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Removed cdrflags from ast_channel structure.
Only chan_dahdi set a value in cdrflags. Everyone else just copied it around the system. Noone cared about any value it may have contained. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@250565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -823,8 +823,6 @@ static void do_forward(struct chanlist *o,
|
||||
ast_rtp_instance_early_bridge_make_compatible(c, in);
|
||||
}
|
||||
|
||||
c->cdrflags = in->cdrflags;
|
||||
|
||||
ast_channel_set_redirecting(c, apr);
|
||||
ast_channel_lock(c);
|
||||
while (ast_channel_trylock(in)) {
|
||||
@@ -1921,7 +1919,6 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
|
||||
if (!ast_strlen_zero(chan->accountcode)) {
|
||||
ast_string_field_set(tc, peeraccount, chan->accountcode);
|
||||
}
|
||||
tc->cdrflags = chan->cdrflags;
|
||||
if (ast_strlen_zero(tc->musicclass))
|
||||
ast_string_field_set(tc, musicclass, chan->musicclass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user