diff --git a/daemon/call.c b/daemon/call.c index cb54b5696..e9526a07a 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -3835,6 +3835,9 @@ void call_destroy(call_t *c) { (unsigned int) (rtpe_now.tv_sec - ml->created) % 60, STR_FMT_M(&ml->viabranch)); + for (__auto_type alias = ml->tag_aliases.head; alias; alias = alias->next) + ilog(LOG_DEBUG, "--- Alias: '" STR_FORMAT "'", STR_FMT(alias->data)); + for (unsigned int i = 0; i < ml->medias->len; i++) { struct call_media *media = ml->medias->pdata[i]; diff --git a/daemon/cli.c b/daemon/cli.c index be1e7b80e..9094ee06a 100644 --- a/daemon/cli.c +++ b/daemon/cli.c @@ -622,6 +622,14 @@ static void cli_list_tag_info(struct cli_writer *cw, struct call_monologue *ml) tim_result_duration.tv_sec, tim_result_duration.tv_usec); + if (ml->tag_aliases.length) { + __auto_type alias = ml->tag_aliases.head; + cw->cw_printf(cw, "--- Aliases: '" STR_FORMAT "'", STR_FMT(alias->data)); + for (; alias; alias = alias->next) + cw->cw_printf(cw, ", '" STR_FORMAT "'", STR_FMT(alias->data)); + cw->cw_printf(cw, "\n"); + } + for (int i = 0; i < ml->medias->len; i++) { struct call_media * media = ml->medias->pdata[i];