Hi Duarte, you can find an example in the default config.

Mainly t_check_trans() is taking care of retransmissions, t_precheck_trans
is handling more edge cases.


# handle retransmissions
if (!is_method("ACK")) {
        if(t_precheck_trans()) {
                t_check_trans();
                exit;
        }
        t_check_trans();
}

On Tue, Apr 10, 2018 at 2:40 AM, Duarte Rocha <duarteroch...@gmail.com>
wrote:

> Greetings,
>
> 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.
>
> Is there any flag or variable that i can use to identify the first Invite
> received?
>
> Thanks in advance
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to