Re: [SR-Users] Connection between Kamailio and redirect server

2021-02-18 Thread Igor Potjevlesh
Hi Gerry,



Thank you. It's clear!



Regards,



Igor.



De : sr-users  De la part de Gerrit 
Jacobsen
Envoyé : mardi 16 février 2021 11:39
À : Kamailio (SER) - Users Mailing List 
Objet : Re: [SR-Users] Connection between Kamailio and redirect server



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_forking



Best Gerry





On 16 Feb 2021, at 09:52, Igor Potjevlesh mailto:igor.potjevle...@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 mailto:sr-users-boun...@lists.kamailio.org> > De la part de Gerry | Rigatta
Envoyé : vendredi 12 février 2021 12:51
À : Kamailio (SER) - Users Mailing List 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



Cheers Gerry



On 12 Feb 2021, at 11:09, Igor Potjevlesh mailto:igor.potjevle...@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
 <mailto:sr-users@lists.kamailio.org> 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
 <mailto:sr-users@lists.kamailio.org> 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





--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Connection between Kamailio and redirect server

2021-02-16 Thread Gerrit Jacobsen
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_forking 
<https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.serial_forking>

Best Gerry


> On 16 Feb 2021, at 09:52, Igor Potjevlesh  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  <mailto:sr-users-boun...@lists.kamailio.org>> De la part de Gerry | Rigatta
> Envoyé : vendredi 12 février 2021 12:51
> À : Kamailio (SER) - Users Mailing List  <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 > <mailto:igor.potjevle...@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>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Connection between Kamailio and redirect server

2021-02-16 Thread Igor Potjevlesh
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  De la part de Gerry | 
Rigatta
Envoyé : vendredi 12 février 2021 12:51
À : Kamailio (SER) - Users Mailing List 
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



Cheers Gerry



On 12 Feb 2021, at 11:09, Igor Potjevlesh mailto:igor.potjevle...@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
 <mailto:sr-users@lists.kamailio.org> 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





--
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel 
antivirus Avast.
https://www.avast.com/antivirus
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Connection between Kamailio and redirect server

2021-02-12 Thread Gerry | Rigatta
Hi Igor,

The following might help

https://lists.kamailio.org/pipermail/sr-users/2015-August/089388.html 


Cheers Gerry

> On 12 Feb 2021, at 11:09, Igor Potjevlesh  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.
>  
> 
> 
>  
> L'absence de virus dans ce courrier électronique a été vérifiée par le 
> logiciel antivirus Avast. 
> www.avast.com 
>  
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org 
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users 
> 
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users