If you do not have access to credentials on Kamailio, how do you want to authenticate registrations coming every 5min? If you want to reuse the auth headers from the 1-hour based registration, then you create a big security problem, normally nonce is valid very short time to avoid reply and offline brute force attacks.

Note that Kamailio can connect to other databases+tables to fetch username and password, it doesn't have to be "subscriber" style. You can customize table name and column names. For example, it can connect to asterisk realtime database to fetch the password from "secret" column.

Cheers,
Daniel

On 12.10.20 15:02, David VILLAUME wrote:
I read again the uac doc and didn’t find a way to perform this using the functions that seems to require credentials that I don’t have on the kamailio host.
 
Is the uac module really designed to perform this operation is that way ?
 
Regards,
David
 
 
 
 
El Sun, 11 Oct 2020 20:07:58 +0000
David VILLAUME <david.villaume at sewan.fr> escribió:
 
> Hello,
> 
> I try to perform a registration caching in order to have a short interval
> registration on phone <> Kamailio (5 minutes) and a longest interval on the
> leg Kamailio  <> registrar(1h).
> 
> I’m not so sure about the best way to proceed, does one of you have a working
> sample or some hints about the way to have it working ?
> 
> 
 
 
the uac module does that. You can handle upstream registrations in different
intervals than the ones you receive.
 

 


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla