summaryrefslogtreecommitdiff
path: root/res/res_features.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-11-06 21:00:35 +0000
committerRussell Bryant <russell@russellbryant.com>2005-11-06 21:00:35 +0000
commit7d4a5abb1df3aefd47d3da34d4b7bd3f29f9ee96 (patch)
treedec10ba9652c7082ab81e355b1d477f1aa753d09 /res/res_features.c
parentbb7eb69c0944b5204fb53b3990c4db3a9ff13dec (diff)
Convert some built-in applications to use new args parsing macros.
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-xres/res_features.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 50a71fde1..8e3be8d01 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -216,20 +216,20 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
static void *ast_bridge_call_thread(void *data)
{
struct ast_bridge_thread_obj *tobj = data;
+
tobj->chan->appl = "Transferred Call";
tobj->chan->data = tobj->peer->name;
tobj->peer->appl = "Transferred Call";
tobj->peer->data = tobj->chan->name;
if (tobj->chan->cdr) {
- ast_cdr_reset(tobj->chan->cdr,0);
+ ast_cdr_reset(tobj->chan->cdr, NULL);
ast_cdr_setdestchan(tobj->chan->cdr, tobj->peer->name);
}
if (tobj->peer->cdr) {
- ast_cdr_reset(tobj->peer->cdr,0);
+ ast_cdr_reset(tobj->peer->cdr, NULL);
ast_cdr_setdestchan(tobj->peer->cdr, tobj->chan->name);
}
-
ast_bridge_call(tobj->peer, tobj->chan, &tobj->bconfig);
ast_hangup(tobj->chan);
ast_hangup(tobj->peer);