diff --git a/src/sip_call.c b/src/sip_call.c index 515280b..bea879a 100644 --- a/src/sip_call.c +++ b/src/sip_call.c @@ -197,14 +197,10 @@ void call_update_state(sip_call_t *call, sip_msg_t *msg) { int reqresp; - sip_msg_t *first; if (!call_is_invite(call)) return; - // Get the first message in the call - first = vector_first(call->msgs); - // Get current message Method / Response Code reqresp = msg->reqresp;