summaryrefslogtreecommitdiff
path: root/src/baresip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/baresip.c')
-rw-r--r--src/baresip.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/baresip.c b/src/baresip.c
index ae715ce..501fbe1 100644
--- a/src/baresip.c
+++ b/src/baresip.c
@@ -21,6 +21,8 @@ static struct baresip {
struct list mnatl;
struct list mencl;
struct list aucodecl;
+ struct list ausrcl;
+ struct list auplayl;
} baresip;
@@ -36,6 +38,8 @@ int baresip_init(struct config *cfg, bool prefer_ipv6)
list_init(&baresip.mnatl);
list_init(&baresip.mencl);
list_init(&baresip.aucodecl);
+ list_init(&baresip.ausrcl);
+ list_init(&baresip.auplayl);
/* Initialise Network */
err = net_alloc(&baresip.net, &cfg->net,
@@ -129,3 +133,15 @@ struct list *baresip_aucodecl(void)
{
return &baresip.aucodecl;
}
+
+
+struct list *baresip_ausrcl(void)
+{
+ return &baresip.ausrcl;
+}
+
+
+struct list *baresip_auplayl(void)
+{
+ return &baresip.auplayl;
+}