Re: Best approach for 2-node active-active Kamailio setup

Asma BOUDDYACH via sr-users <[email protected]> Wed, 8 Jul 2026 17:06:06 +0200
Newsgroups gmane.comp.voip.ser
Message-ID <CAFZyeg6XAJCkbpmeu_ec054CWRJ-cUAMRc_j0mvz8ZafB1me1g@mail.gmail.com>
--===============0561884621==
Content-Type: multipart/alternative; boundary="00000000000074d14f06561ad92c"

--00000000000074d14f06561ad92c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Henning


Thank you for your  reply

I am deploying a 2-node Kamailio SBC infrastructure with the following
setup:

- Node 1 : Datacenter 1
- Node 2 : Datacenter 2
- Maximum simultaneous calls : 54
- Use case : SBC in front of a 3CX IPBX

Given the current state of DMQ dialog fixes (active-active still having
issues PR #4774 pointer.), I am considering an active-passive setup with
DMQ synchronization, so that in-progress calls are maintained when Node 1
fails and Node 2 takes over.

My questions are:

1. Is active-passive with DMQ dialog synchronization stable enough today
for production use?

2. Which Kamailio version would you recommend for this setup?

3. Are there any specific DMQ configuration recommendations for an
active-passive setup between 2 datacenters?

Thank you very much for your guidance.



Le mer. 8 juil. 2026 =C3=A0 16:41, Henning Westerholt <[email protected]> a =C3=
=A9crit :

> Hello,
>
>
>
> It=E2=80=99s a bit hard to give a conclusive answer to this, as it=E2=80=
=99s a matter of
> taste and also of course depends on the requirements.
>
>
>
> Have a look to the past year KamailioWorld conferences talk, which you ca=
n
> find e.g. on youtube. You will get many inspirations for these topics.
>
>
>
> You can also find older discussions of these topics in our mailing list
> archives, or with search engines.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
>
>
> --
>
> Henning Westerholt
>
> Kamailio services =E2=80=93 https://gilawa.com
>
>
>
> *From:* Asma BOUDDYACH via sr-users <[email protected]>
> *Sent:* Mittwoch, 8. Juli 2026 15:44
> *To:* asma.bouddyach--- via sr-users <[email protected]>
> *Cc:* Asma BOUDDYACH <[email protected]>
> *Subject:* [SR-Users] Best approach for 2-node active-active Kamailio
> setup
>
>
>
> Hi ,
>
> I am currently deploying a Kamailio SBC infrastructure with 2 nodes, one
> per datacenter, and I would like to set them up in active-active mode.
>
> I have no experience yet with multi-node Kamailio setups and I would like
> to ask:
>
> 1. What is the recommended approach for a 2-node active-active Kamailio
> deployment today?
>
> 2. What modules or mechanisms should I use to synchronize state between
> the two nodes (calls, registrations, etc.)?
>
> 3. Are there any known issues or limitations I should be aware of before
> starting the configuration?
>
> Any guidance or documentation pointers would be greatly appreciated.
>
> Best regards,
>
>
>
> This message and any of its attachments is intended solely for the
> addresses and is confidential. If you receive this message in error, plea=
se
> delete it and immediately notify the sender. Any use not in accord with i=
ts
> purpose, any dissemination or disclosure, either whole or partial, is
> prohibited except formal approval. The internet cannot guarantee the
> integrity of this message. The INTELCIA Group shall (will) not therefore =
be
> liable for the message if modified.
>
> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94
>
> Ce message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =C3=A0 l'i=
ntention
> exclusive de ses destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le d=C3=A9truire et d=E2=80=99en avertir imm=
=C3=A9diatement
> l=E2=80=99exp=C3=A9diteur. Toute utilisation de ce message non conforme =
=C3=A0 sa
> destination, toute diffusion ou toute publication, m=C3=AAme partielle, e=
st
> interdite, sauf autorisation expresse. L=E2=80=99internet ne permettant p=
as
> d=E2=80=99assurer l=E2=80=99int=C3=A9grit=C3=A9 de ce message, le groupe =
INTELCIA d=C3=A9cline toute
> responsabilit=C3=A9 au titre de ce message, dans l=E2=80=99hypoth=C3=A8se=
 o=C3=B9 il aurait =C3=A9t=C3=A9
> modifi=C3=A9.
>

--=20





















This message and any of its attachments is intended
solely for the addresses and is confidential. If you receive this message=
=20
in
error, please delete it and immediately notify the sender. Any use not=20
in
accord with its purpose, any dissemination or disclosure, either whole=20
or
partial, is prohibited except formal approval. The internet cannot=20
guarantee
the integrity of this message. The INTELCIA Group shall (will)=20
not therefore be
liable for the message if modified.



=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94



Ce
message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =C3=A0 l'intent=
ion=20
exclusive de
ses destinataires et sont confidentiels. Si vous recevez ce=20
message par erreur,
merci de le d=C3=A9truire et d=E2=80=99en avertir imm=C3=A9diatement=20
l=E2=80=99exp=C3=A9diteur. Toute
utilisation de ce message non conforme =C3=A0 sa=20
destination, toute diffusion ou
toute publication, m=C3=AAme partielle, est=20
interdite, sauf autorisation expresse.
L=E2=80=99internet ne permettant pas=20
d=E2=80=99assurer l=E2=80=99int=C3=A9grit=C3=A9 de ce message, le groupe
INTELCIA d=C3=A9cline toute=20
responsabilit=C3=A9 au titre de ce message, dans l=E2=80=99hypoth=C3=A8se
o=C3=B9 il aurait =C3=A9t=C3=A9=20
modifi=C3=A9.






--00000000000074d14f06561ad92c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi=C2=A0Henning<div><br></div><div><br>Thank you for your=
=C2=A0 reply=C2=A0<br><br>I am deploying a 2-node Kamailio SBC infrastructu=
re with the following setup:</div><div><br>- Node 1 : Datacenter 1<br>- Nod=
e 2 : Datacenter 2<br>- Maximum simultaneous calls : 54<br>- Use case : SBC=
 in front of a 3CX IPBX<br><br>Given the current state of DMQ dialog fixes =
(active-active still having issues PR #4774 pointer.), I am considering an =
active-passive setup with DMQ synchronization, so that in-progress calls ar=
e maintained when Node 1 fails and Node 2 takes over.<br><br>My questions a=
re:<br><br>1. Is active-passive with DMQ dialog synchronization stable enou=
gh today for production use?<br><br>2. Which Kamailio version would you rec=
ommend for this setup?<br><br>3. Are there any specific DMQ configuration r=
ecommendations for an active-passive setup between 2 datacenters?<br><br>Th=
ank you very much for your guidance.<br><br><br></div></div><br><div class=
=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr=
">Le=C2=A0mer. 8 juil. 2026 =C3=A0=C2=A016:41, Henning Westerholt &lt;<a hr=
ef=3D"mailto:[email protected]">[email protected]</a>&gt; a =C3=A9crit=C2=A0:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"msg-766=
5048275118778951">





<div lang=3D"EN-GB" style=3D"overflow-wrap: break-word;">
<div class=3D"m_-7665048275118778951WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Hello,<u></u><u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">It=E2=80=99s a bit ha=
rd to give a conclusive answer to this, as it=E2=80=99s a matter of taste a=
nd also of course depends on the requirements.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Have a look to the pa=
st year KamailioWorld conferences talk, which you can find e.g. on youtube.=
 You will get many inspirations for these topics.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">You can also find old=
er discussions of these topics in our mailing list archives, or with search=
 engines.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Cheers,<u></u><u></u>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Henning<u></u><u></u>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">--
</span><span style=3D"font-size:11pt"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Henning Westerholt<u>=
</u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt">Kamailio services =E2=
=80=93
</span><span lang=3D"DE" style=3D"font-size:11pt"><a href=3D"https://gilawa=
.com/" target=3D"_blank"><span lang=3D"EN-GB" style=3D"color:rgb(5,99,193)"=
>https://gilawa.com</span></a></span><span style=3D"font-size:11pt"><u></u>=
<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt"><u></u>=C2=A0<u></u><=
/span></p>
<div style=3D"border-width:medium medium medium 1.5pt;border-style:none non=
e none solid;border-color:currentcolor currentcolor currentcolor blue;paddi=
ng:0cm 0cm 0cm 4pt">
<div>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;b=
order-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0cm 0cm"=
>
<p class=3D"MsoNormal"><b><span style=3D"font-family:Calibri,sans-serif">Fr=
om:</span></b><span style=3D"font-family:Calibri,sans-serif"> Asma BOUDDYAC=
H via sr-users &lt;<a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a>&gt;
<br>
<b>Sent:</b> Mittwoch, 8. Juli 2026 15:44<br>
<b>To:</b> asma.bouddyach--- via sr-users &lt;<a href=3D"mailto:sr-users@li=
sts.kamailio.org" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Cc:</b> Asma BOUDDYACH &lt;<a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a>&gt;<br>
<b>Subject:</b> [SR-Users] Best approach for 2-node active-active Kamailio =
setup<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">Hi ,<br>
<br>
I am currently deploying a Kamailio SBC infrastructure with 2 nodes, one pe=
r datacenter, and I would like to set them up in active-active mode.<br>
<br>
I have no experience yet with multi-node Kamailio setups and I would like t=
o ask:<br>
<br>
1. What is the recommended approach for a 2-node active-active Kamailio dep=
loyment today?<br>
<br>
2. What modules or mechanisms should I use to synchronize state between the=
 two nodes (calls, registrations, etc.)?<br>
<br>
3. Are there any known issues or limitations I should be aware of before st=
arting the configuration?<br>
<br>
Any guidance or documentation pointers would be greatly appreciated.<br>
<br>
Best regards,<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p><span lang=3D"EN-US" style=3D"font-size:11pt;font-family:Calibri,sans-se=
rif;color:rgb(31,73,125)">This message and any of its attachments is intend=
ed solely for the addresses and is confidential. If you receive this messag=
e in error, please delete it and immediately
 notify the sender. Any use not in accord with its purpose, any disseminati=
on or disclosure, either whole or partial, is prohibited except formal appr=
oval. The internet cannot guarantee the integrity of this message. The INTE=
LCIA Group shall (will) not therefore
 be liable for the message if modified.</span><u></u><u></u></p>
<p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3=
1,73,125)">=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94</s=
pan><u></u><u></u></p>
<p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3=
1,73,125)">Ce message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =
=C3=A0 l&#39;intention exclusive de ses destinataires et sont confidentiels=
. Si vous recevez ce message par erreur, merci de le d=C3=A9truire
 et d=E2=80=99en avertir imm=C3=A9diatement l=E2=80=99exp=C3=A9diteur. Tout=
e utilisation de ce message non conforme =C3=A0 sa destination, toute diffu=
sion ou toute publication, m=C3=AAme partielle, est interdite, sauf autoris=
ation expresse. L=E2=80=99internet ne permettant pas d=E2=80=99assurer l=E2=
=80=99int=C3=A9grit=C3=A9 de
 ce message, le groupe INTELCIA d=C3=A9cline toute responsabilit=C3=A9 au t=
itre de ce message, dans l=E2=80=99hypoth=C3=A8se o=C3=B9 il aurait =C3=A9t=
=C3=A9 modifi=C3=A9.</span><u></u><u></u></p>
</div>
</div>
</div>

</div></blockquote></div>

<br>



















<p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3=
1,73,125)" lang=3D"EN-US">This message and any of its attachments is intend=
ed
solely for the addresses and is confidential. If you receive this message i=
n
error, please delete it and immediately notify the sender. Any use not in
accord with its purpose, any dissemination or disclosure, either whole or
partial, is prohibited except formal approval. The internet cannot guarante=
e
the integrity of this message. The INTELCIA Group shall (will) not therefor=
e be
liable for the message if modified.</span><span></span></p>

<p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3=
1,73,125)">=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94</s=
pan><span></span></p>

<p><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(3=
1,73,125)">Ce
message et toutes les pi=C3=A8ces jointes sont =C3=A9tablis =C3=A0 l&#39;in=
tention exclusive de
ses destinataires et sont confidentiels. Si vous recevez ce message par err=
eur,
merci de le d=C3=A9truire et d=E2=80=99en avertir imm=C3=A9diatement l=E2=
=80=99exp=C3=A9diteur. Toute
utilisation de ce message non conforme =C3=A0 sa destination, toute diffusi=
on ou
toute publication, m=C3=AAme partielle, est interdite, sauf autorisation ex=
presse.
L=E2=80=99internet ne permettant pas d=E2=80=99assurer l=E2=80=99int=C3=A9g=
rit=C3=A9 de ce message, le groupe
INTELCIA d=C3=A9cline toute responsabilit=C3=A9 au titre de ce message, dan=
s l=E2=80=99hypoth=C3=A8se
o=C3=B9 il aurait =C3=A9t=C3=A9 modifi=C3=A9.</span><span></span></p>






--00000000000074d14f06561ad92c--

--===============0561884621==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!

--===============0561884621==--