dbg: log MGCP retransmission

Change-Id: I3920364a7573411c8d6a1d64721064f720ae1280
This commit is contained in:
Neels Hofmeyr
2023-12-23 05:06:39 +01:00
parent ca3d664d08
commit 7f158600ce

View File

@@ -429,6 +429,7 @@ struct msgb *mgcp_handle_message(struct mgcp_config *cfg, struct msgb *msg)
/* Check if we have to retransmit a response from a previous transaction */
if (pdata.trans && rq.endp->last_trans && strcmp(rq.endp->last_trans, pdata.trans) == 0) {
rate_ctr_inc(rate_ctr_group_get_ctr(rate_ctrs, MGCP_GENERAL_RX_MSGS_RETRANSMITTED));
LOGP(DLMGCP, LOGL_DEBUG, "%s: retransmission\n", rq.name);
return create_retransmission_response(rq.endp);
}
}