<div dir="ltr"><div><div><div><div>Hi Opensips team,<br><br></div>I faced instant message timeout issues with MSILO module while setting SIP IM server using kamailio.<br></div>It turned out that fr_timer values was too low to wait for MESSAGE delivery to the destination (online/offline both cases) that server was replying with 408.<br></div>Which result in message sending failed on sending side where as IM was reaching to the destination.<br><br></div>The same issue is true for <a href="http://www.opensips.org/html/docs/modules/2.3.x/msilo.html#idp5682352">msilo sample configuration</a> for opensips. <br>Kindly update it at your end as well. This will save lot of time for the ones who want to use opensips as IM server.<br><div><div><div><br clear="all"><div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Abdul Basit</b> <span dir="ltr"><<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>></span><br>Date: 13 April 2018 at 02:28<br>Subject: Re: [SR-Users] MSILO: SIP stored offline MESSAGE repetitive delivery<br>To: Henning Westerholt <<a href="mailto:hw@kamailio.org">hw@kamailio.org</a>><br><br><br><div dir="ltr"><div><div>Thanks Henning.<br><br></div>Good move. You removed the timers so that they use their default values :)<br><br>Same need to be done in sample msilo script<br><a href="https://kamailio.org/docs/modules/5.1.x/modules/msilo.html#idp45433660" target="_blank">https://kamailio.org/docs/<wbr>modules/5.1.x/modules/msilo.<wbr>html#idp45433660</a><br><br></div>Who will be doing that?<br><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_2675964066065543634gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On 13 April 2018 at 00:37, Henning Westerholt <span dir="ltr"><<a href="mailto:hw@kamailio.org" target="_blank">hw@kamailio.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thursday, 12 April 2018 10:15:19 CEST Abdul Basit wrote:<br>
> My issue for IM handling has been resolved.<br>
><br>
> @MS helped to look into the matter. From to the example<br>
</span>> [..]<br>
<span>><br>
> I replaced it as below<br>
><br>
> # -- tm params --<br>
><br>
> modparam("tm", "fr_timer", 10000 )<br>
> modparam("tm", "fr_inv_timer", 15 )<br>
> modparam("tm", "wt_timer", 10 )<br>
><br>
><br>
> Lower fr_timer was initiating 408 without waiting for 200 OK from<br>
> destination because 10ms is too low. This was confusing msilo module and<br>
> the sender device that MESSAGE sent was failed.<br>
> Increasing the fr_timer value resolved the issue.<br>
> This also resolved a ripple effect. i.e, kamailio delivery of offline<br>
> messages from DB store to the destination party.<br>
> Since kamailio was get message delivery error, it was<br>
> executing failure_route[1] that was storing the message again in DB store<br>
> as offline message and so on.<br>
><br>
> lower fr_timer values are also exits in 3.x, 4.x, 5x and dev branches<br>
> documentation.<br>
</span>> [..]<br>
<br>
Hello Abdul,<br>
<br>
great that you found the issue. I have fixed this issue in git master and also<br>
5.1 and 5.0 branch.<br>
<br>
Best regards,<br>
<br>
Henning<br>
</blockquote></div><br></div></div></div>
</div><br></div></div></div></div></div></div>