[SR-Users] T_precheck_trans
Daniel-Constantin Mierla
miconda at gmail.com
Fri Jan 12 16:34:06 CET 2018
Hello,
given that this question was asked few times in the past, I put it in
the FAQ:
-
https://www.kamailio.org/wiki/tutorials/faq/main#how_is_the_sip_request_retrans
Hope the explanation there is clear enough, if not ask more here and I
will complete with further details.
Cheers,
Daniel
On 12.01.18 07:39, Abdelmuhaimen Seaudi wrote:
> Hi.
>
> In the below part from kamailio.cfg, why didn't we just exit if
> t_precheck_trans returns true ?
>
> Why did we run t_check_trans, although there might be another process
> already running the other t_check_trans ?
>
>
> # handle retransmissions
>
> if (!is_method("ACK")) {
>
> if(t_precheck_trans()) {
>
> t_check_trans();
>
> exit;
>
> }
>
> t_check_trans();
>
> }
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180112/5c2a30c8/attachment.html>
More information about the sr-users
mailing list