<div dir="ltr">Hi,<br><br>I think the approach you are contemplating is unnecessarily complicated. :-) Take a look at this option:<br><br><a href="https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tmp.p.fr_inv_timer">https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tmp.p.fr_inv_timer</a><br><br>If you want to start the timer from the moment of a 183 specifically and not any other non-100 1xx provisional reply, then catch the 183 in an <font face="monospace">onreply_route</font>, and then use <font face="monospace">t_set_fr():</font><br><br><a href="https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tm.f.t_set_fr">https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tm.f.t_set_fr</a><div><br></div><div><span class="gmail_default" style="font-family:arial,sans-serif"></span>to set the <font face="monospace">fr_inv_timer</font> to your desired value from that point. Leave the background value as some other default, and set <font face="monospace">restart_fr_on_each_reply</font> to false.</div><div><br></div><div>-- Alex<br><br>-- <br>Alex Balashov | Principal | Evariste Systems LLC<br><br>Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>Web: <a href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/">http://www.csrpswitch.com/</a></div></div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:monospace;font-size:14px">-- </span><br style="color:rgb(0,0,0);font-family:monospace;font-size:14px"><span style="color:rgb(0,0,0);font-family:monospace;font-size:14px">Alex Balashov | Principal | Evariste Systems LLC</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:14px"><br style="color:rgb(0,0,0);font-family:monospace;font-size:14px"><span style="color:rgb(0,0,0);font-family:monospace;font-size:14px">Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)</span><br style="color:rgb(0,0,0);font-family:monospace;font-size:14px"><span style="color:rgb(0,0,0);font-family:monospace;font-size:14px">Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" target="_blank">http://www.csrpswitch.com/</a></span><br></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 13, 2022 at 6:41 PM Antonio Couto <<a href="mailto:couto.a@gmail.com">couto.a@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I need to hang up a call after some seconds after received 183 provisional response but before any other SIP message.<br>I am using "rtimer" module to set a callback on time, but how can I search for a call on transaction module in order to terminate the call?<br><br><div>I think I am missing something to prepare the transaction data before I can use this data to terminate the call.</div><div><br></div><div>I am thinking of storing the call-Id of all transactions to use on timeout callback, I don't know if it's possible.</div><div><br></div><div>Thanks in advance.</div><div>Antonio<br></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>