aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-03 19:38:06 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-03 19:38:06 +0000
commit869624a523e2aa0a81e93593ded4b1b81990d9e3 (patch)
tree371cf1d28a79ecab4a3313b6f3e86736e23977bb /apps
parentde908247c7bc23609c3020a71c4733d1192299d9 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@250565 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dial.c3
-rw-r--r--apps/app_queue.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 2ca2c4a95..cff55aff5 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -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);
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 7cd8ed0df..86a20da4f 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3312,7 +3312,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
ast_channel_datastore_inherit(in, o->chan);
ast_string_field_set(o->chan, accountcode, in->accountcode);
- o->chan->cdrflags = in->cdrflags;
ast_channel_set_redirecting(o->chan, apr);