Hi Henning,

Thanks for you reply.

For this particular issue, I am more interested in sharing the event that we have received a register request rather then syncing the registrar database.
On a replicated REGISTER the other nodes does not perform any registrar operation.

The registrar nodes are currently using usrloc with db-only mode and using a shared DB cluster, to sync data.

However, I see the point of using DMQ_USRLOC for syncing between nodes instead of sharing a database.
In such setup, do you typically use separate DBs on each node? or can you use a shared db cluster as well?
Will it work good in a primary - primary setup where multiple nodes handles incoming requests?

Best Regards,
Lars


From: Henning Westerholt <hw@skalatan.de>
Sent: Wednesday, June 26, 2019 7:39 PM
To: Kamailio (SER) - Users Mailing List; Lars Olsson
Subject: Re: [SR-Users] DMQ: dmq_t_replicate()
 

Hello Lars,


maybe I did not understood your scenario correctly.


But if your use case is just to replicate all registrations to another Kamailio instance, you just add the dmq_usrloc module and enable the synchronization. It should work right out of the box.


Cheers,


Henning


Am 26.06.19 um 10:39 schrieb Lars Olsson:
Hi,

I am trying to replicate a REGISTER request between several nodes.

When I am using dmq_t_replicate(), it ends the execution of the script. 
It this correct or I have missed anything?  
I can not find anything in the documentation of the DMQ module the says that it will end the script execution.

Is it recommended to use the DMQ module or should I simply forward the request instead as described in https://medium.com/@tumalevich/kamailio-registration-replication-without-dmq-65e225f9a8a7

Best Regards,
Lars




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services