[SR-Users] consume_credentials not working on PRACK?

2022-10-31 Thread Benoit Panizzon
Hi List I noticed, that one of our CPE copies the Proxy-Authorization HF in almost all messages sent. As PRACK were not authenticated, those headers were potentially sent on to the destination disclosing the authentication username and realm. So assuming, if credentials are present, the client

[SR-Users] About the Presence service 401 issue

2022-10-31 Thread SparkleZou
Hi Sir/Madam, I'm trying to set up the presence service according to the manual http://kb.asipto.com/kamailio:presence:k31-made-simple Also refer to the doc https://kamailio.org/docs/modules/devel/modules/xcap_server.html Seems the Kamailio cfg fine. but when to get the xcap data, get the

Re: [SR-Users] consume_credentials not working on PRACK?

2022-10-31 Thread Benoit Panizzon
Hi Henning > The issue probably was that the module logs an error if there are no > credentials in the message. Thank you for confirming my observation. It's weird that only 'PRACK' are skipped as causing an error if there are no credentials probably happens to every messages I guess, if you

Re: [SR-Users] consume_credentials not working on PRACK?

2022-10-31 Thread Henning Westerholt
Hello, Maybe the PRACK is not a new request, but an in-dialog request and therefore is not handled from the code quoted below. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com -Original Message- From: sr-users On Behalf Of

Re: [SR-Users] consume_credentials not working on PRACK?

2022-10-31 Thread Henning Westerholt
Hello, this was actually changed some years ago to be like this: commit 2a77ed2bdc9341ecf7d7200e420a1f49e4e9b6ab Author: Daniel-Constantin Mierla Date: Sun Apr 14 10:11:29 2013 +0200 auth: skip processing of PRACK in consume_credentials() The issue probably was that the module logs an

Re: [SR-Users] consume_credentials not working on PRACK?

2022-10-31 Thread Benoit Panizzon
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",

[SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
Hi, Is there a means of appending new branches from config script for a transaction which is already proceeding in the background, without using `tsilo`? That is to say, I have an async transaction which is resumed in an async worker and is t_relay()’d away to some destination. Meanwhile, I

Re: [SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
OpenSIPS seems to have captured well the spirit of this functionality, BTW: https://opensips.org/html/docs/modules/2.3.x/tm.html#t_inject_branches — Alex > On Oct 31, 2022, at 7:44 PM, Alex Balashov wrote: > > And indeed, ts_append_to() almost does what I want, but it still requires > that I

Re: [SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
And indeed, ts_append_to() almost does what I want, but it still requires that I launder my contacts through a registrar ‘domain’. Is there any way to go around this requirement? It seems awfully silly to set up a stub/shadow registrar when I am not a registrar. — Alex > On Oct 31, 2022, at