Hello Guys,
Has anyone used dmq_t_replicate function to replicate INVITE? Documenation says it is useful for REGISTER , but does not mention anything about INVITE.
I am trying to do something like this
Box 1 ) Runs kamailio stateless ( no dialog module ) and calls dmq_t_replicate to box 2.
Box 2 ) Runs kamailio with dialog module , This box generates CDR and tracks call count
Goal is to restart kamailio on Box 1 without loosing CDR.
Any input is appreciated.!!
Regards, Jay
Hello,
I think for accounting you would need to replicate all messages in the dialog, not just the INVITE - and dmq_t_replicate() can only be used in REQUEST_ROUTE, so this is perhaps not the right solution to your requirement.
I'm also not sure if the dialog module will work without relaying - perhaps others can confirm and/or suggest an alternative.
Cheers, Charles
On 16 May 2017 at 22:57, Jay Patel clecny@gmail.com wrote:
Hello Guys,
Has anyone used dmq_t_replicate function to replicate INVITE? Documenation says it is useful for REGISTER , but does not mention anything about INVITE.
I am trying to do something like this
Box 1 ) Runs kamailio stateless ( no dialog module ) and calls dmq_t_replicate to box 2.
Box 2 ) Runs kamailio with dialog module , This box generates CDR and tracks call count
Goal is to restart kamailio on Box 1 without loosing CDR.
Any input is appreciated.!!
Regards, Jay
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
On 16.05.17 23:57, Jay Patel wrote:
Hello Guys,
Has anyone used dmq_t_replicate function to replicate INVITE? Documenation says it is useful for REGISTER , but does not mention anything about INVITE.
I am trying to do something like this
Box 1 ) Runs kamailio stateless ( no dialog module ) and calls dmq_t_replicate to box 2.
Box 2 ) Runs kamailio with dialog module , This box generates CDR and tracks call count
Goal is to restart kamailio on Box 1 without loosing CDR.
by using an appropriate db_mode for dialog module, you are not going to lose anything, because the dialogs are saved in database and restored if you do a restart.
Cheers, Daniel