Re: [SR-Users] null $au

2018-09-06 Thread Daniel Tryba
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.

Re: [SR-Users] null $au

2018-09-05 Thread Alex Balashov
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

[SR-Users] null $au

2018-09-05 Thread David Villasmil
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