November 14, 2007
View e9ae889126

Fixing improper blacklisting of destinations because of non-INVITE timeouts. Two new module parameters are introduced:

Miklos Tirpak authored on 14/11/2007 15:30:21
July 30, 2007
View 7a8ec58627

- by default do not blacklist 503 replies with no Retry-After, to be rfc conformant (blst_503_def_timeout is now 0 by default) (thanks to Miklos Tirpak <> for the hint)

Andrei Pelinescu-Onciul authored on 30/07/2007 20:38:44
View 0f599f9c1b

- added support for automatically blacklist 503 replies sources in tm, using the Retry-After header value if present (off by default) - new tm params: blst_503 - turns 503 source blacklisting support on/off blst_503_def_timeout - default timeout used when now Retry-After header is found blst_503_min_timeout - minimum allowed timeout blst_503_max_timeout - maximum allowed timeout (see tm docs for more info)

Andrei Pelinescu-Onciul authored on 30/07/2007 19:57:39
July 24, 2007
View 0f0ae45dcb

- call regfree to free regexps compiled on the fly

Jan Janak authored on 24/07/2007 14:15:02
View 908d72f2eb

- support for selects and attributes in t_check_status if the parameter contains a select or an attribute then the value of the parameter will be compiled as regular expression on the fly

Jan Janak authored on 24/07/2007 14:11:23
June 27, 2007
View d061b2f949

- hash statistics rpc for hash algo. debugging (only if tm compiled with -DTM_HASH_STATS)

Andrei Pelinescu-Onciul authored on 27/06/2007 21:11:33
June 7, 2007
View 6c269c8bd4

- tm stats changes: cleaner & faster - updated to the new PROC_INIT stuff (fixes a tm bug)

Andrei Pelinescu-Onciul authored on 07/06/2007 21:45:56
June 5, 2007
View 8ba678f25f

- fix: kr was not properly reset (set_kr(0) doesn't have the desired effect) - new statistics support

Andrei Pelinescu-Onciul authored on 05/06/2007 21:24:12
View b4a4494d15

- e2ecancel is sent hop by hop (closes SER-68) - delayed err reply: delay error replies from t_relay() until end of script: if script hasn't replied or dropped the trans., send reply(tm_errno). - automatic 100 reply generation for invites can be turned on/off via a tm global parameter or on a per transaction basis (auto_inv_100, t_set_auto_inv_100()) (closes SER-199) - different error replies for too many branches, resolve or send error - if error adding branches, reply with the lowest error - membar_write before increasing nr_of_outgoings (branches) and membar_depends in which_cancel (should allow lockless which_cancel, with the possible race of not canceling a branch that is being created in the same time, OTOH this happens even if locks are used)

Andrei Pelinescu-Onciul authored on 05/06/2007 15:16:44
View c0ff60b688

- tm per transaction retr timers: support for changing the retransmission intervals on the fly, from the script, on a per transaction basis (it is enabled if tm is compiled with -DTM_DIFF_RT_TIMEOUT -- default): t_set_retr(t1, t2) - tm transaction lifetime for inv/noninv (config. per transaction): added maximum transaction lifetime - a transaction is not allowed to be active longer then this interval. See t_set_max_lifetime() or the new script params. max_inv_lifetime and max_noninv_lifetime. - fix: retr_interval was not disabled on error in retr_buf_hanlder

Andrei Pelinescu-Onciul authored on 05/06/2007 14:12:36
May 29, 2007
View 344c31a9ea

CANCELs and negative ACKs are constructed from the INVITE which was sent out instead of building them from the received one. The disadvantage is that the outgoing INVITE has to be partially reparsed, the advantage is that the CANCEL/ACK is always RFC-compliant, it always contains the same route-set as the INVITE message. (closes SER-212)

Miklos Tirpak authored on 29/05/2007 15:52:37
May 2, 2007
View fe26a2705f

- new tm param. unmatched_cancel that selects how a cancel for which no matching invite is found will be treated: forward it in stateful mode and thus remember it (for some time) so that if the invite arrives out of order tm will know it's already canceled (0 - default), forward it in stateless mode (1) or just drop it (2).

Andrei Pelinescu-Onciul authored on 02/05/2007 16:57:07
February 18, 2007
View 7e381ae08c

- added (uint|int|str)_to_static_buffer functions to select_buffer - fixed minor bug in struct msg_start where is not known start of first line when empty lines preceed (sip_msg.buff points before them), so added line field holding correct position of first_line, fixed usage in textops and xmlrpc modules - added new select_core selects to resolve SER-158 - added new tm module select to resolve SER-158

Tomas Mandys authored on 18/02/2007 14:05:44
December 6, 2006
View f3315fc88c

- tm: fr_timer and fr_inv_timer avps are by default not set (no default value). This speeds up transaction creation (since no avp lists need to be searched). To revert to the old bevaviour just set them (modparam("tm"...)) or use t_set_fr("$avp") (recommended)

Andrei Pelinescu-Onciul authored on 06/12/2006 16:07:15
November 14, 2006
View 04436036cf

- patch from Miklos Tirpak <>: - tm minor fixes - tm dialog improvements - tm_binds extended (more function exported)

Andrei Pelinescu-Onciul authored on 14/11/2006 18:11:06