Hello,
I just pushed a patch to set server_id inside ul.add rpc command:
-
https://github.com/kamailio/kamailio/commit/c681adedc7284b9e681d37ad87a3025…
Can you give it a try? If works as expected, then I am going to backport it.
Cheers,
Daniel
On 13.08.18 09:22, Darren Williams wrote:
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
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com