diff --git a/src/call.c b/src/call.c index 7ae8a9234..ff7139f87 100644 --- a/src/call.c +++ b/src/call.c @@ -2299,7 +2299,7 @@ bool call_sess_cmp(const struct call *call, const struct sip_msg *msg) if (!call || !msg) return false; - return sipsess_msg_equal(call->sess, msg); + return sipsess_msg(call->sess) == msg; }