Hello,
Just need a bit of clarification on the usrloc parameter "timer_interval". Let's say this is configured with a value of 60 seconds; every 60 seconds, will this delete all expired contacts in the location table between runs -- as in between runs it will queue up a list of expired contacts, remove them all after the 60 seconds has elapsed, then execute the event route "event_route[usrloc:contact-expired]"?
Or does the event route execute as soon as the contact expires, independent from "timer_interval" timer?
Thank you.
Hi James,
This all happens on the tick of the 'timer_interval'.
As the point of the timer interval is to batch these sync/expiration operations, it would defeat the aims of the concept if contacts' expiration were continuously polled for in real time by other means.
-- Alex
On 11 Jan 2024, at 18:29, James Lipski via sr-users sr-users@lists.kamailio.org wrote:
Hello,
Just need a bit of clarification on the usrloc parameter "timer_interval". Let's say this is configured with a value of 60 seconds; every 60 seconds, will this delete all expired contacts in the location table between runs -- as in between runs it will queue up a list of expired contacts, remove them all after the 60 seconds has elapsed, then execute the event route "event_route[usrloc:contact-expired]"?
Or does the event route execute as soon as the contact expires, independent from "timer_interval" timer?
Thank you. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: