[SR-Users] consume_credentials not working on PRACK?

Benoit Panizzon benoit.panizzon at imp.ch
Mon Oct 31 15:50:21 CET 2022


Hi Henning

> Maybe the PRACK is not a new request, but an in-dialog request and therefore is not handled from the code quoted below.

It is handled:

                if(!is_method("REGISTER|PUBLISH")) {
                        consume_credentials();
                        xlog("L_INFO", "$cfg(route): $rm creds: Mmmmmmh!\n");
                }

Log:

[...] 3 PRACK]<script>: AUTH: Authentication successful!
[...] 3 PRACK]<script>: AUTH: PRACK creds: Mmmmmmh!

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________



More information about the sr-users mailing list