summaryrefslogtreecommitdiff
path: root/res/res_ari_channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_ari_channels.c')
-rw-r--r--res/res_ari_channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_ari_channels.c b/res/res_ari_channels.c
index 82bb662d2..20128ae02 100644
--- a/res/res_ari_channels.c
+++ b/res/res_ari_channels.c
@@ -233,7 +233,7 @@ static void ast_ari_channels_originate_cb(
goto fin;
}
}
- args.variables = ast_json_ref(body);
+ args.variables = body;
ast_ari_channels_originate(headers, &args, response);
#if defined(AST_DEVMODE)
code = response->response_code;
@@ -456,7 +456,7 @@ static void ast_ari_channels_originate_with_id_cb(
goto fin;
}
}
- args.variables = ast_json_ref(body);
+ args.variables = body;
ast_ari_channels_originate_with_id(headers, &args, response);
#if defined(AST_DEVMODE)
code = response->response_code;