I don't think you can send a REGISTER immediately, like literally the same moment, with any of the RPC commands.
There's a Kamailio UAC REG timer that processes records at certain intervals like reg_timer_interval() modparam. It also depends on reg_random_delay() and/or per uuid reg_delay values. Regards, Sergiu -- *Teams PBX connector with full MS Direct Routing automation for service providers**Web*: https://teamsphone.net On Thu, Feb 15, 2024 at 11:27 AM Aymeric Moizard via sr-users < [email protected]> wrote: > Hi List, > > I would like to know if it's possible in my kamailio script > to force an immediate REGISTER for an existing entry using l_uuid > > If I'm correct, uac_reg_refresh(luuid)is an API to reload into the database > but doesn't send a REGISTER immediately. > > Is there an existing API available from script in uac module to > achieve this? > > Thanks a lot, > Aymeric > > > Le ven. 19 janv. 2024 à 22:37, Aymeric Moizard <[email protected]> a > écrit : > >> Hi! >> >> I would like to add/remove/update entries in uacreg database. >> >> The easiest way I found is to add data using mysql and then call >> kamcmd uac.reg_reload. I end up reloading too often: >> >> uac_reg_ht_shift(): shifting in-memory table is not possible in less than >> 150 secs >> >> I would like to optimize it and I tried to use >> >> sudo kamcmd uac.reg_add >> >> Unfortunately, the data is not persistent and seems to be only in memory. >> >> Does it means my only choice is to follow this procedure: >> >> Add a user: >> >> 1/ sudo kamcmd uac.reg_add >> 2/ add the equivalent mysql entry >> >> Remove a user >> >> 1/ sudo kamcmd uac.reg_remove >> 2/ remove the equivalent mysql entry >> >> Let me know if an alternative exists! >> Regards >> Aymeric >> >> -- >> Antisip - http://www.antisip.com >> > > > -- > Antisip - http://www.antisip.com > __________________________________________________________ > 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: >
__________________________________________________________ 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:
