[SR-Users] dialog sync via dmq

Charles Chance charles.chance at sipcentric.com
Tue Dec 10 11:52:44 CET 2013


Hi,

> In dialog module no functions to create/destroy dialogs, they described
> and used in tm module. Do you plan move dialog creation/destroying
> funcs in dialog module? I think it will more usable for replication:
> use same functions for create dialog in tm module (when real sip
> dispatch) and for create "fake" dialog in dmq(??) for replicate...
>

To which functions are you referring? There is a difference between dialogs
and transactions.

> >Registrations are a different matter. Replication can be achieved
> >already by sharing a database or using function such as t_replicate().
>
> How i may realise it?

Something like:

if (save("location")) {
    t_replicate("slave");
}

>
> Client will register twice in such case?
>

Why? On slave, if register comes from master, use save_noreply("location").
The client only knows of the master.

Regards,
Charles

-- 
www.sipcentric.com

Follow us on twitter @sipcentric <http://twitter.com/sipcentric>

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham 
B7 4EJ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131210/6dac132f/attachment.html>


More information about the sr-users mailing list