<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Henning,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I agree that it shouldn't be a problem to a downstream server however I was hoping to have a cleaner solution.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
we are deploying Kamailio in containers and have total of 4 so far for high availability, so don't want to fire pings at the downstream and also would generate unwanted logs.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Adarsh Chauhan</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Henning Westerholt <hw@gilawa.com><br>
<b>Sent:</b> Wednesday, January 12, 2022 8:58 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Cc:</b> Adarsh Chauhan <adarshchauhan@hotmail.com><br>
<b>Subject:</b> RE: Reverse Kamailio Dispatcher order</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
span.x_E-MailFormatvorlage20
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">Hello,</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">what are your concerns regarding the other set with reverse order? This would be surely the simplest solution.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">The few pings every minute or so should not be an issue to any server.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Cheers,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Henning</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<div>
<p class="x_MsoNormal"><span lang="EN-GB" style="">-- </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Henning Westerholt – </span><span style=""><a href="https://skalatan.de/blog/"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a></span><span lang="EN-GB" style=""></span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Kamailio services – </span><span style=""><a href="https://gilawa.com/"><span lang="EN-GB" style="color:#0563C1">https://gilawa.com</span></a></span><span lang="EN-GB" style=""></span></p>
</div>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org>
<b>On Behalf Of </b>Adarsh Chauhan<br>
<b>Sent:</b> Wednesday, January 12, 2022 1:53 AM<br>
<b>To:</b> sr-users@lists.kamailio.org<br>
<b>Subject:</b> [SR-Users] Reverse Kamailio Dispatcher order</p>
</div>
</div>
<p class="x_MsoNormal" style="margin-left:35.4pt"> </p>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">Hi All,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">I was looking for a way where i could reverse the order of priority set on destinations in dispatcher file.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">for eg:</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">if i have the following file:</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">1
<a href="sip:10.252.168.41:5060;transport=tcp">sip:10.252.168.41:5060;transport=tcp</a> 0 5 # <span style="background:white">(US)</span>
</span></p>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">1
<a href="sip:10.252.168.42:5060;transport=tcp">sip:<span style="background:white">10.252.168.42</span>:5060;transport=tcp</a> 0 4 # (US)</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">1
<a href="sip:10.252.168.43:5060;transport=tcp">sip:<span style="background:white">10.252.168.43</span>:5060;transport=tcp</a> 0 3 # (EU)</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">1
<a href="sip:10.252.168.44:5060;transport=tcp">sip:<span style="background:white">10.252.168.44</span>:5060;transport=tcp</a> 0 2 # (EU)</span></p>
</div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">I wanted to use top to bottom when in US region and bottom to top when in EU region.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">One option is to make another set, however that will force Kamailio to send ping (OPTIONS) twice when probing.</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">Regards,</span></p>
</div>
<div>
<p class="x_MsoNormal" style="margin-left:35.4pt; background:white"><span style="font-size:12.0pt; color:black">Adarsh Chauhan</span></p>
</div>
</div>
</div>
</body>
</html>