Hello,
For details obviously one need to check in the code. But the error code -1 is usually the default error code and used for topics related to the execution of the service (problems in
IO, problems allocating memory and so on). It’s also used as a catch-all error when no more specific error code could be given. The mentioned problems like memory allocation problems should be also logged with an additional error message in the logs.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
From: James Lipski via sr-users <sr-users@lists.kamailio.org>
Sent: Mittwoch, 28. Februar 2024 02:29
To: sr-users@lists.kamailio.org
Cc: James Lipski <jameslipski@protonmail.com>
Subject: [SR-Users] Clarification on pv_www_authenticate
Hello,
I would like get further information on the "pv_www_authenticate" function from auth module. For the response code "-1", which is listed as "generic error", what exactly is covered when this function returns this? Is it just everything
else that isn't listed reason (invalid password, nonce expired, no credentials, etc...). On my production system, I'm seeing this as a response code on some registration requests, and just want to know what is causing this (enabling full verbose logging is
a bit difficult on my production system, and want to try to replicate it on my test environment, however just need clarification on what this covers).
Thank you.