<div dir="ltr"><div><div><div><div><div>Hi Bogdan,<br><br></div>Thank you for your reply.<br></div>Unlike kamailio, Opensips has timer value in seconds which is enough for the reply back. Just recalled the tm timer values for opensips.<br></div>I didn't test it with Opensips but i think you are right. <br><br></div>Since origin of both projects is same and the sample config was identical, I thought it should applicable to opensips as well. <br>As soon as i will have time i will give a try to msilo with opensips. <br><br></div>Thank your for correction. <br><div><div><div> <br></div></div></div></div><div class="gmail_extra"><br clear="all"><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">On 13 April 2018 at 18:19, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Abdul,<br>
<br>
Not sure if this is applicable for us. According to the script
sample, the fr_timer (in seconds) is 10....Is this value too low
for a server to properly reply back ??<br>
<br>
I guess that bug is Kamailio specific. We are on the safe side ;)<br>
<br>
Regards,<br>
</tt>
<pre class="m_-7370217738165422082moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-7370217738165422082moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
<a class="m_-7370217738165422082moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre><div><div class="h5">
<div class="m_-7370217738165422082moz-cite-prefix">On 04/13/2018 12:42 AM, Abdul Basit
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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" target="_blank">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="m_-7370217738165422082gmail_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" target="_blank">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" target="_blank">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/modu<wbr>les/5.1.x/modules/msilo.html#<wbr>idp45433660</a><br>
<br>
</div>
Who will be doing that?<br>
<div><br>
</div>
</div>
<div class="gmail_extra"><span><br clear="all">
<div>
<div class="m_-7370217738165422082m_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="m_-7370217738165422082h5">
<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>
<br>
<fieldset class="m_-7370217738165422082mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-7370217738165422082moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-7370217738165422082moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>