diff --git a/res/res_pjsip_outbound_registration.c b/res/res_pjsip_outbound_registration.c index 2085b82fc99eaa3c150f8b4d34e6728a09032321..594f42e7079de539ca8bf18274c0cc09f04bf9ea 100644 --- a/res/res_pjsip_outbound_registration.c +++ b/res/res_pjsip_outbound_registration.c @@ -1680,7 +1680,7 @@ static ast_sched_cb registration_resend(struct registration_response *response) pjsip_tx_data *tdata = response->old_request; pjsip_via_hdr *via; - if (!client_state || client_state->registration_resend_timer_id == -1 || !tdata) { + if (!client_state || !tdata) { ast_debug(2, "Expired registration request, skipping\n"); return 0; }