summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/call.c b/src/call.c
index c3bea22..5e0b73f 100644
--- a/src/call.c
+++ b/src/call.c
@@ -1028,6 +1028,12 @@ struct ua *call_get_ua(const struct call *call)
}
+struct account *call_account(const struct call *call)
+{
+ return call ? call->acc : NULL;
+}
+
+
static int auth_handler(char **username, char **password,
const char *realm, void *arg)
{