Hi Igor,
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?
yes. You don't necessarily need the dispatcher for your case.
But then, I'm not sure to understand what is reading the 302 responses and the URI include.
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. https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forkin... https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forking
Best Gerry
On 16 Feb 2021, at 09:52, Igor Potjevlesh igor.potjevlesch@gmail.com wrote:
Hi Gerry
Thank you for highlighting this thread. It's useful to start! 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? But then, I'm not sure to understand what is reading the 302 responses and the URI include.
Regards,
Igor.
De : sr-users <sr-users-bounces@lists.kamailio.org mailto:sr-users-bounces@lists.kamailio.org> De la part de Gerry | Rigatta Envoyé : vendredi 12 février 2021 12:51 À : Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org> Objet : Re: [SR-Users] Connection between Kamailio and redirect server
Hi Igor,
The following might help
https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html
Cheers Gerry
On 12 Feb 2021, at 11:09, Igor Potjevlesh <igor.potjevlesch@gmail.com mailto:igor.potjevlesch@gmail.com> wrote:
Hello !
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.
I'm wondering what would be the best approach to handle with Kamalio those 302 and then proceed with the routing? 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.
Thank you for your inputs/experience.
Regards,
Igor.
https://www.avast.com/antivirus L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. www.avast.com https://www.avast.com/antivirus
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users