<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Igor,<div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; font-family: ArialMT;"><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" class="">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 class=""></o:p></span></div></div></blockquote></div><div class=""><div class="WordSection1" style="page: WordSection1; font-family: ArialMT;"><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" class=""><br class=""></span></div><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" class="">yes. You don't necessarily need the dispatcher for your case.</span></div><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" class=""><br class=""></span></div><blockquote type="cite" style="font-family: Arial;" class=""><div class="WordSection1" style="page: WordSection1; font-family: ArialMT;"><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB" class="">But then, I'm not sure to understand what is reading the 302 responses and the URI include.<o:p class=""></o:p></span></div></div></blockquote><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><br class=""></div><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">The 302 responses are processed in the failure route by the TM module. You have to set the failure route before you send the invite to the redirect server. </div><div class="" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forking" style="font-size: 11pt;" class="">https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forking</a></div></div></div><div class=""><br class=""></div><div class="">Best Gerry</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 16 Feb 2021, at 09:52, Igor Potjevlesh <<a href="mailto:igor.potjevlesch@gmail.com" class="">igor.potjevlesch@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Hi Gerry<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Thank you for highlighting this thread. It's useful to start!<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">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 class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">But then, I'm not sure to understand what is reading the 302 responses and the URI include.<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Regards,<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Igor.<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class="">De :</b><span class="Apple-converted-space"> </span>sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" style="color: blue; text-decoration: underline;" class="">sr-users-bounces@lists.kamailio.org</a>><span class="Apple-converted-space"> </span><b class="">De la part de</b><span class="Apple-converted-space"> </span>Gerry | Rigatta<br class=""><b class="">Envoyé :</b><span class="Apple-converted-space"> </span>vendredi 12 février 2021 12:51<br class=""><b class="">À :</b><span class="Apple-converted-space"> </span>Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" style="color: blue; text-decoration: underline;" class="">sr-users@lists.kamailio.org</a>><br class=""><b class="">Objet :</b><span class="Apple-converted-space"> </span>Re: [SR-Users] Connection between Kamailio and redirect server<o:p class=""></o:p></div></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi Igor,<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">The following might help<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><a href="https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html" style="color: blue; text-decoration: underline;" class="">https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html</a><o:p class=""></o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Cheers Gerry<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class="" type="cite"><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On 12 Feb 2021, at 11:09, Igor Potjevlesh <<a href="mailto:igor.potjevlesch@gmail.com" style="color: blue; text-decoration: underline;" class="">igor.potjevlesch@gmail.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello !<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">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 class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">I'm wondering what would be the best approach to handle with Kamalio those 302 and then proceed with the routing?</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">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 class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Thank you for your inputs/experience.<br class=""><br class="">Regards,</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class="">Igor.</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span lang="EN-GB" class=""> </span><o:p class=""></o:p></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class=""><o:p class=""> </o:p></span></p><div class="MsoNormal" align="center" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; text-align: center;"><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class=""><hr size="1" width="760" noshade="" align="center" style="width: 570.25pt;" class=""></span></div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"><tbody class=""><tr class=""><td style="padding: 0cm 11.25pt 0cm 6pt;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><a href="https://www.avast.com/antivirus" style="color: blue; text-decoration: underline;" class=""><span style="text-decoration: none;" class=""><img border="0" width="90" height="33" id="_x0000_i1026" src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" style="width: 0.9375in; height: 0.3437in;" class=""></span></a><o:p class=""></o:p></div></td><td style="padding: 0.75pt;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 12pt; color: rgb(61, 77, 90);" class="">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 class=""><a href="https://www.avast.com/antivirus" style="color: blue; text-decoration: underline;" class="">www.avast.com</a><o:p class=""></o:p></span></div></td></tr></tbody></table><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class=""><br class=""><br class=""><o:p class=""></o:p></span></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class="">_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""></span><a href="mailto:sr-users@lists.kamailio.org" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class="">sr-users@lists.kamailio.org</span></a><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class=""><br class=""></span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 11.5pt; font-family: ArialMT, serif;" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</span></a><o:p class=""></o:p></div></div></blockquote></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Kamailio (SER) - Users Mailing List</span><br style="caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:sr-users@lists.kamailio.org" style="color: blue; text-decoration: underline; font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">sr-users@lists.kamailio.org</a><br style="caret-color: rgb(0, 0, 0); font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" style="color: blue; text-decoration: underline; font-family: ArialMT; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></div></blockquote></div><br class=""></div></body></html>