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 <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 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

--


--