Hello,

 

not sure if I understand it correctly, If you are t_relay() the INVITE to the new destination Kamailio should take care of the re-transmits of the INVITE automatically until it receives a provisional reply or fr_timer.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Allan Kristensen
Sent: Monday, October 19, 2020 2:02 PM
To: miconda@gmail.com
Cc: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] No retry on INVITE

 

Hello Daniel,

Okay, so I had a look at the config and we do use the t_relay() for customer facing proxy, so I was mistaken.

 

So I guess it's okay to reply 100 and then let kamailio handle the retry. Question is, how do I get it to resend INVITE when there is no response to the INVITE after a few seconds?

Is it a TM parameter or should I do it in the config script?

 

Thank you...

/Allan

 

On Mon, Oct 19, 2020 at 1:28 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

if kamailio is stateless (ie., you do not use tm module, but forward() for sending out requests), then it will not do any retransmission and it is not sending 408 itself (likely received from downstream).

With a stateless Kamailio, you should not send out 100 trying, but let upstream do retransmission if it is the case.

Cheers,
Daniel

On 19.10.20 11:34, Allan Kristensen wrote:

Hello,

 

I'm trying to get Kamailio to retry INVITE. 


We have a Freeswitch which is sending INVITE to a sip user via Kamailio proxy using static ip/location.

All is well, calls are flowing, but sometimes INVITE from kamailio to user is lost and no attempt to retry is occurring and so after 30 sec kamailio just returns 408 Request timeout.

 

Call flow is like this:

 

FS       Kamailio      User

--- INVITE --> 

<-- 100 Trying

            --- INVITE --->

      (Waiting 30 secs)

<-- 408 Timeout

--- ACK --->

 

So assume we have failed in handling retries somehow. Kamailio is running stateless, but other retries are working, so I assume this is not a problem?

 

Can someone perhaps point us in the right direction on where to solve this?

 

Kamailio is version 5.2.4

Thank you...

/Allan

 

 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla