__________________________________________________________Hi List,I would like to know if it's possible in my kamailio scriptto force an immediate REGISTER for an existing entry using l_uuidIf I'm correct, uac_reg_refresh(luuid)is an API to reload into the databasebut doesn't send a REGISTER immediately.Is there an existing API available from script in uac module to achieve this?Thanks a lot,AymericLe ven. 19 janv. 2024 à 22:37, Aymeric Moizard <amoizard@gmail.com> 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 callkamcmd uac.reg_reload. I end up reloading too often:uac_reg_ht_shift(): shifting in-memory table is not possible in less than 150 secsI would like to optimize it and I tried to usesudo kamcmd uac.reg_addUnfortunately, 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_add2/ add the equivalent mysql entryRemove a user1/ sudo kamcmd uac.reg_remove2/ remove the equivalent mysql entryLet me know if an alternative exists!RegardsAymeric--Antisip - http://www.antisip.com--Antisip - http://www.antisip.com
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: