[SR-Users] DMQ and DIALOG

Phillman25 Kyriacou phillman25 at gmail.com
Wed Oct 24 10:55:14 CEST 2018


Hi List!

I currently have 3 Kamailio's (Version 5.1) in an ACTIVE-ACTIVE-ACTIVE
scenario behind a load balancer all 3 nodes are listening and advertising
the same virtual ip of the load balancer. Im using dmq module together with
dialogue module to sync the state of the dialog to all 3 nodes. Is there a
way or module that i can use to also sync every transaction?

Problem that im facing right now is that an INVITE will come to Kamailio1
and the 100 TRYING or 183 RINGING or  200OK will go to Kamailio2 and since
Kamailio1 hasn't received a response will retransmit the INVITE. Or is
there a way with dmq to also update the other nodes for responses like 100
,183 or 200 OK so that Kamailio1 knows not to retransmit?

Maybe im going down the wrong path? :)

Any assistance would be greatly appreciated

My config for dmq and dialog:

#=====================DIALOG====================================
modparam("dialog", "enable_dmq", 1)

#=====================DMQ=======================================
modparam("dmq", "server_address", "sip:x.x.x.x:5080")
modparam("dmq", "notification_address", "sip:y.y.y.y:5080")
modparam("dmq", "multi_notify", 1)
modparam("dmq", "num_workers", 4)
modparam("dmq", "ping_interval", 30)

request_route {

    # MANAGE ALL DIALOGS
       dlg_manage();

if(is_method("KDMQ"))
        {
                dmq_handle_message();
        }

Thanks!
Phillip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181024/0301e67c/attachment.html>


More information about the sr-users mailing list