|
|
|
@ -2689,7 +2689,6 @@ void ng_call_stats(ng_command_ctx_t *ctx, call_t *call, const str *fromtag, cons |
|
|
|
struct call_monologue *ml; |
|
|
|
struct call_stats t_b; |
|
|
|
parser_arg ssrc = {0}; |
|
|
|
const ng_parser_t *parser = ctx->parser_ctx.parser; |
|
|
|
|
|
|
|
if (!totals) |
|
|
|
totals = &t_b; |
|
|
|
@ -2700,6 +2699,8 @@ void ng_call_stats(ng_command_ctx_t *ctx, call_t *call, const str *fromtag, cons |
|
|
|
|
|
|
|
call_ngb_hold_ref(call, ctx->ngbuf); |
|
|
|
|
|
|
|
const ng_parser_t *parser = ctx->parser_ctx.parser; |
|
|
|
|
|
|
|
parser->dict_add_int(ctx->resp, "created", call->created.tv_sec); |
|
|
|
parser->dict_add_int(ctx->resp, "created_us", call->created.tv_usec); |
|
|
|
parser->dict_add_int(ctx->resp, "last signal", call->last_signal); |
|
|
|
|