<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:ArialMT;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Gerry<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>Thank you for highlighting this thread. It's useful to start!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>I'm not sure to understand, and even after reading the dispatcher module documentation, if my understanding is correct: in the use-case described, the module is used to load-balance the INVITE towards multiple route servers, right?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>But then, I'm not sure to understand what is reading the 302 responses and the URI include.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'>Igor.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>De :</b> sr-users <sr-users-bounces@lists.kamailio.org> <b>De la part de</b> Gerry | Rigatta<br><b>Envoyé :</b> vendredi 12 février 2021 12:51<br><b>À :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br><b>Objet :</b> Re: [SR-Users] Connection between Kamailio and redirect server<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Igor,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The following might help<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><a href="https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html">https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html</a><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers Gerry<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On 12 Feb 2021, at 11:09, Igor Potjevlesh <<a href="mailto:igor.potjevlesch@gmail.com">igor.potjevlesch@gmail.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hello !<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>I will have to connect my Kamailio proxies to a routing server which will receive INVITE and replies with 302 and a list of a SIP Contact where (gateways, IP, prefixes or whatever we want) the call must be routed to.</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>I'm wondering what would be the best approach to handle with Kamalio those 302 and then proceed with the routing?</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>For the moment, we use to work with carrierroute. But, since the redirect server will take the routing decision, I believe that carrierroute will no be useful anymore.</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Thank you for your inputs/experience.<br><br>Regards,</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Igor.</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div id=DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.5pt;font-family:"ArialMT",serif'><o:p> </o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:11.5pt;font-family:"ArialMT",serif'><hr size=1 width=760 style='width:570.25pt' noshade style='color:#909090' align=center></span></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td style='padding:0cm 11.25pt 0cm 6.0pt'><p class=MsoNormal><a href="https://www.avast.com/antivirus"><span style='text-decoration:none'><img border=0 width=90 height=33 style='width:.9375in;height:.3437in' id="_x0000_i1026" src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo"></span></a><o:p></o:p></p></td><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#3D4D5A'>L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.<span class=apple-converted-space> </span><br><a href="https://www.avast.com/antivirus">www.avast.com</a><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:11.5pt;font-family:"ArialMT",serif'><br><br><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.5pt;font-family:"ArialMT",serif'>_______________________________________________<br>Kamailio (SER) - Users Mailing List<br></span><a href="mailto:sr-users@lists.kamailio.org"><span style='font-size:11.5pt;font-family:"ArialMT",serif'>sr-users@lists.kamailio.org</span></a><span style='font-size:11.5pt;font-family:"ArialMT",serif'><br></span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"><span style='font-size:11.5pt;font-family:"ArialMT",serif'>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span></a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>