<div dir="ltr"><div>Hi Duarte, you can find an example in the default config.<br><br></div>Mainly t_check_trans() is taking care of retransmissions, <span style="font-family:monospace,monospace">t_precheck_trans is handling more edge cases.<br><br><br># handle retransmissions<br>if (!is_method("ACK")) { <br> if(t_precheck_trans()) {<br> t_check_trans();<br> exit;<br> }<br> t_check_trans();<br>}</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 10, 2018 at 2:40 AM, Duarte Rocha <span dir="ltr"><<a href="mailto:duarterocha91@gmail.com" target="_blank">duarterocha91@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings, <div><br></div><div>How can i identify the first Invite received by Kamailio in a dialog. I'm checking for the To-Tag in order to identify the first one. However, if the UA retries the same INVITE (because of a timeout for example), it won't have To Tag and it won't be the first INVITE that i'm receiving in that dialog. </div><div><br></div><div>Is there any flag or variable that i can use to identify the first Invite received?</div><div><br></div><div>Thanks in advance </div></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>