May be you need this. 

https://www.kamailio.org/docs/modules/devel/modules/auth.html#auth.f.consume_credentials

Br, Aqs

On Sat, 18 May 2019, 7:26 pm Juha Heinanen, <jh@tutpro.com> wrote:
Sergiu Pojoga writes:
>
> Noticed BYE requests relayed from caller to callee have the
> *Proxy-Authorization* header including *Digest*, *nonce* and *response*.
>
> Is that by SIP definition or am I doing something wrong? My concern is the
> callee gets to see caller's authentication credentials.

You can remove all unwanted headers from in-dialog requests using
remove_hf function.

-- Juha

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users