[OpenSIPS-Users] What is the role of t_check_trans at line 253 of opensips.cfg in SVN trunk

Stanisław Pitucha viraptor at gmail.com
Tue Jul 14 13:42:50 CEST 2009


2009/7/14 Alex Balashov <abalashov at evaristesys.com>:
> http://www.opensips.org/html/docs/modules/1.5.x/tm.html#id272150

A bit related question. Since the docs mention:
"If the processing of requests may take long time (e.g. DB lookups)
and the retransmission arrives before t_relay() is called, you can use
the t_newtran() function to manually create a transaction."

Is there any situation where:

t_check_trans();
t_new_trans();

after all cancel / ack checks is a bad thing to do? Or maybe even:

t_check_trans();
if (is_method('INVITE|UPDATE|REFER')) t_new_trans();

since everything else can be safely duplicated / is rather light in processing.



More information about the Users mailing list