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

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 4EJ.