> On Aug 27, 2024, at 6:58 AM, Sergio Charrua via sr-users 
> <[email protected]> wrote:
> 
> My question is: 
> - how to save the token for use during 24h, on all calls/sessions, without 
> the need to authenticate on every call?
> - how to detect the token has expired and re-authenticate?

The `htable` module can potentially assist with both tasks. You can use it to 
save the token, and also set an expiration time of 24 hours. It's kind of like 
Redis, but inside Kamailio.

Of course, expiring the token after 24 hours is not the same thing as detecting 
that it has expired. 

-- Alex

-- 
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to