On Wed, Sep 05, 2018 at 06:36:20PM -0400, Alex Balashov wrote:
> Just grab it right before the consume_credentials() block, after all the
> challenge stuff.
consume_credentials() doesn't reset/clear $au, so anywhere after the
first if or after the route(that authenticates) will do.
signature.
Just grab it right before the consume_credentials() block, after all the
challenge stuff.
--
Sent from mobile. Apologies for brevity and errors.
-Original Message-
From: David Villasmil
To: "Kamailio (SER) - Users Mailing List"
Sent: Wed, 05 Sep 2018 6:27 PM
Subject: [SR-U
Hello,
in the block:
if (is_method("REGISTER") || from_uri==myself) {
# authenticate requests
if (!auth_check("$fd", "subscriber", "1")) {
auth_challenge("$fd", "0");
exit;
}
# user authenticated - remove auth header
if(!is_metho