summaryrefslogtreecommitdiff
path: root/src/ua.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-18 10:31:24 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-18 10:31:24 +0200
commit8ef4c56ae0a0d18ceb77a3e62629ac216cab8ebd (patch)
treedd77d9c7e1774ea5ff4ede3838b6170f81bbb989 /src/ua.c
parent60d015f04980aafcfbbb2f4a436c848ea0c1d0fa (diff)
added some extra logging
Diffstat (limited to 'src/ua.c')
-rw-r--r--src/ua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ua.c b/src/ua.c
index 46b63b7..d87f11d 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -448,6 +448,9 @@ static void handle_options(struct ua *ua, const struct sip_msg *msg)
struct mbuf *desc = NULL;
int err;
+ debug("ua: incoming OPTIONS message from %r (%J)\n",
+ &msg->from.auri, &msg->src);
+
err = ua_call_alloc(&call, ua, VIDMODE_ON, NULL, NULL, NULL);
if (err) {
(void)sip_treply(NULL, uag.sip, msg, 500, "Call Error");