Re: [SR-Users] dialog sync via dmq

2013-12-10 Thread Victor V. Kustov
Hi, >To which functions are you referring? new_dlg_* >Something like: > >if (save("location")) { >t_replicate("slave"); >} Heh, I hoped something like dmq_send('slave','save_noreply("location")'); dmq_send('slave','new_dlg_uac("param","param","pamparam")'); >Why? On slave, if register co

Re: [SR-Users] dialog sync via dmq

2013-12-10 Thread Charles Chance
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) a

Re: [SR-Users] dialog sync via dmq

2013-12-10 Thread Victor V. Kustov
Hi, Charles! >Not yet, but it is work in progress and will be possible soon. 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 fun

Re: [SR-Users] dialog sync via dmq

2013-12-09 Thread Charles Chance
Hi, On 9 Dec 2013 07:45, "Victor V. Kustov" wrote: > > Hi all! > > Can I create dialog structures via dmq? > Not yet, but it is work in progress and will be possible soon. > for example, two K. share IP via carp. Active K. (carp master) process > calls, create dialogs and send it to slave. When

[SR-Users] dialog sync via dmq

2013-12-08 Thread Victor V. Kustov
Hi all! Can I create dialog structures via dmq? for example, two K. share IP via carp. Active K. (carp master) process calls, create dialogs and send it to slave. When master die, slave became master and has complete info 'bout registered clients and dialogs. -- WBR, Victor JID: coy...@bks.t