I expect that it's not related, because the documentation is clear that the function relates to requests, not responses.
https://kamailio.org/docs/modules/5.5.x/modules/sanity.html#sanity.f.sanity_... - 4.1. sanity_check([msg_checks [, uri_checks]]) - This function makes a row of sanity checks over the given SIP request...
It seems simple: check the logs from the xlog command and see what you find. If it's not clear enough, add the Call-ID to the log message, and then also capture (tshark/tcpdump) traffic for subsequent analysis.
James
On Mon, 16 Oct 2023 at 16:52, satyaprakash ch via sr-users sr-users@lists.kamailio.org wrote:
Hi,
We possess a code within Kamailio, which specifically handles malformed SIP responses. Below is the code snippet:
reply_route Copy code if(!sanity_check("17604", "6")) { xlog("Malformed SIP response from $si:$sp\n"); drop;
Additionally, we have Kamailio drop request statistics as follows:
Command: kamctl stats | grep core:drop_requests Output of the command: core:drop_requests = 5
My queries are:
- Is the aforementioned "reply_route" related to the drop requests we are experiencing?
- If it is not related, what could be the cause of the drop requests?
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: