Add ASCI (advanced speech call items) log sub-system

As we subsequently add ASCI related features to the code, it makes
sense to have a specific log sub-system for it.

Change-Id: I8ea3e61df35175bd74110b2f41994c99da3e2858
Related: OS#4851
This commit is contained in:
Harald Welte
2023-05-11 16:12:27 +02:00
committed by laforge
parent ad15414fd9
commit 3480a2ab4c
2 changed files with 8 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ enum {
DABIS,
DRTP,
DOSMUX,
DASCI,
};
extern const struct log_info bts_log_info;

View File

@@ -125,6 +125,13 @@ static struct log_info_cat bts_log_info_cat[] = {
.loglevel = LOGL_NOTICE,
.enabled = 1,
},
[DASCI] = {
.name = "DASCI",
.description = "ASCI (Advanced Speech Call Items: VGCS/VBS)",
.loglevel = LOGL_NOTICE,
.enabled = 1,
},
};
static int osmo_bts_filter_fn(const struct log_context *ctx, struct log_target *tgt)