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 99bec4b..67b3c22 100644
--- a/src/call.c
+++ b/src/call.c
@@ -901,6 +901,12 @@ int call_sdp_get(const struct call *call, struct mbuf **descp, bool offer)
}
+const char *call_id(const struct call *call)
+{
+ return call ? sip_dialog_callid(sipsess_dialog(call->sess)) : NULL;
+}
+
+
const char *call_peeruri(const struct call *call)
{
return call ? call->peer_uri : NULL;