<div dir="ltr">I set fr_timeout parameter of tm module to 5, so after 5 seconds opensips generates a 408 response, but keeps retransmitting the INVITE even after that.<div>Apart from that the handling of INVITE is pretty straight forward:</div><div>Do lookup to find the destination (callee), and if found call t_relay().</div><div>Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 4, 2018 at 11:40 AM Pasan Meemaduma <<a href="mailto:pasandev@ymail.com">pasandev@ymail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div>Hi Yuval,<br><div><div>SIP Timers related functions can be found in TM (transaction) module <a href="http://www.opensips.org/html/docs/modules/2.4.x/tm.html#param_T1_timer" rel="nofollow" target="_blank">http://www.opensips.org/html/docs/modules/2.4.x/tm.html</a><br>hard to say whats causing retransmission after a final reply without knowing your config.<br></div><div><br></div></div><div><br></div><div id="m_-7986311300302632770ydp6c811c37enhancr_card_1371934821" class="m_-7986311300302632770ydp6c811c37yahoo-link-enhancr-card m_-7986311300302632770ydp6c811c37yahoo-link-enhancr-not-allow-cover m_-7986311300302632770ydp6c811c37ymail-preserve-class m_-7986311300302632770ydp6c811c37ymail-preserve-style" style="max-width:400px;font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif"><a href="http://www.opensips.org/html/docs/modules/2.4.x/tm.html#param_T1_timer" style="text-decoration:none!important;color:#000!important" class="m_-7986311300302632770ydp6c811c37yahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table class="m_-7986311300302632770ydp6c811c37card-wrapper m_-7986311300302632770ydp6c811c37yahoo-ignore-table" style="max-width:400px" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="400"><table class="m_-7986311300302632770ydp6c811c37card m_-7986311300302632770ydp6c811c37yahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224,228,233);border-radius:2px" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody><tr><td><br></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div><br></div></div><div></div>
        <div><br></div><div><br></div>
        
        </div></div><div id="m_-7986311300302632770yahoo_quoted_0737046765" class="m_-7986311300302632770yahoo_quoted">
            <div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a">
                
                <div>
                    On Wednesday, 4 July 2018, 1:17:41 PM GMT+5:30, Yuval Dinari via Users <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="m_-7986311300302632770yiv0943299692"><div dir="ltr">Hi,<div>1. How can I control the amount/time window of retransmissions?</div><div>2. I see a behavior in which opensips sends an INVITE to a non responsive client. After a few retransmissions it sends a 408 to the originator of the INVITE, and then sends some more retransmissions of the INVITE. I don't understand why it send INVITE-s after the 408.</div><div><br></div><div>Thanks</div></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div>
            </div>
        </div></div></div></blockquote></div>