[SR-Users] Local cache registration
Mack Hendricks
mack at dopensource.com
Mon Oct 12 15:12:58 CEST 2020
Hey David,
No, the uac module really doesn’t do what you want based on how I understand your request.
You really want to do what I call “Pass-Thru” auth with a cache. This is where your phones register thru Kamailio. But, you want Kamailio to act as a cache and invalidate the cache every hour for a particular extension. Hence, phones register/re-register to Kamailio using the cache, but Kamailio only passes thru the auth every hour.
Kamailio doesn’t have a module like this that I know off. OpenSIP’s has a module that does this. I’ve been thinking about porting it over, but I can’t stay focused enough :-)
> On Oct 12, 2020, at 9:02 AM, David VILLAUME <david.villaume at sewan.fr> 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 <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>> 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 at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201012/4252f145/attachment.htm>
More information about the sr-users
mailing list