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)) {
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);
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);
if (!tmp) {
p->outgoing = 0;
}
- /* Note if the call is a call waiting call */
- if (tmp && callwait)
- tmp->cdrflags |= AST_CDR_CALLWAIT;
break;
}
#ifdef HAVE_OPENR2
ast_string_field_set(p->chan, accountcode, p->owner->accountcode);
ast_string_field_set(p->chan, musicclass, p->owner->musicclass);
ast_cdr_update(p->chan);
- p->chan->cdrflags = p->owner->cdrflags;
if (!ast_exists_extension(NULL, p->chan->context, p->chan->exten, 1, p->owner->cid.cid_num)) {
ast_log(LOG_NOTICE, "No such extension/context %s@%s while calling Local channel\n", p->chan->exten, p->chan->context);
int fds[AST_MAX_FDS]; /*!< File descriptors for channel -- Drivers will poll on
* these file descriptors, so at least one must be non -1.
* See \arg \ref AstFileDesc */
- int cdrflags; /*!< Call Detail Record Flags */
int _softhangup; /*!< Whether or not we have been hung up... Do not set this value
* directly, use ast_softhangup() */
int fdno; /*!< Which fd had an event detected on */
struct ast_channel *parent_channel;
};
-enum {
- AST_CDR_TRANSFER = (1 << 0),
- AST_CDR_FORWARD = (1 << 1),
- AST_CDR_CALLWAIT = (1 << 2),
- AST_CDR_CONFERENCE = (1 << 3),
-};
-
enum {
/*! Soft hangup by device */
AST_SOFTHANGUP_DEV = (1 << 0),
ast_string_field_set(channel->owner, language, chan->language);
ast_string_field_set(channel->owner, accountcode, chan->accountcode);
- channel->owner->cdrflags = chan->cdrflags;
if (ast_strlen_zero(channel->owner->musicclass))
ast_string_field_set(channel->owner, musicclass, chan->musicclass);