diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c index c54427fb59feae7a5816d33d57137a98fcce5cb1..de6ebec1c1a868c4ae338520b29e93316d687153 100644 --- a/res/res_pjsip_session.c +++ b/res/res_pjsip_session.c @@ -5081,23 +5081,14 @@ static int check_request_status(pjsip_inv_session *inv, pjsip_event *e) // Try if the endpoint has transport2 if (!sip_inv_transport2(inv, e)) { // no transport2 - // TODO send registration to another address if (session->endpoint) { - ast_log(LOG_NOTICE, "INVITE sent to '%s' failed, schedule re-registrations\n", ast_sorcery_object_get_id(session->endpoint)); - queue_registration_recovery_flow(ast_sorcery_object_get_id(session->endpoint)); + ast_log(LOG_NOTICE, "INVITE sent to '%s' failed, schedule re-registrations\n", ast_sorcery_object_get_id(session->endpoint)); + queue_registration_recovery_flow(ast_sorcery_object_get_id(session->endpoint)); } return 0; } return 1; // transport2 ongoing -// pjsip_inv_uac_restart(inv, PJ_FALSE); - /* - * Bump the ref since it will be on a new transaction and - * we don't want it to go away along with the old transaction. - */ -// pjsip_tx_data_add_ref(tsx->last_tx); -// ast_sip_session_send_request(session, tsx->last_tx); -// return 1; } static void handle_incoming_before_media(pjsip_inv_session *inv,