[SR-Users] USRLOC db_mode=4 and server_id

Darren Williams support at directvoip.co.uk
Mon Aug 13 09:22:54 CEST 2018


I am currently using multiple instances of Kamailio with a common database
and using the usrloc module with db_mode=4 and server_id to filter the
contacts that get loaded at startup on each server.

The problem I seem to have is that using the RPC call ul.add, I cannot see
any parameter to send to specify the server_id. The server_id that the
contact is given is 0. If I manually go into the db and modify the
server_id everything works as expected. I think I must be missing something
somewhere as I'm sure you shouldn't need to do this.

Can anyone help please.

Thanks
Daz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180813/a33b69ea/attachment.html>


More information about the sr-users mailing list