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
November 12, 2007
View 89f03bcf44

- expreimental e2eack retransmission callback (called each time a retrans. of an ACK to a 2xx is received, however like TMCB_E2EACK_IN it will work only as long as the transaction still exists)

Andrei Pelinescu-Onciul authored on 12/11/2007 15:58:49
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
June 28, 2007
View 0dcc9a65e0

- fix: reset_static_buffer() before running failure, reply or branch routes from tm (needed for select) closes SER-288.

Andrei Pelinescu-Onciul authored on 28/06/2007 12:47:03
June 14, 2007
View 9f2eed8b56

- updated all the users of run_actions() or do_action() to the new interface

Andrei Pelinescu-Onciul authored on 14/06/2007 23:14:29
June 7, 2007
View 44ab621c72

- attempt to fix the replied_locally statistics

Andrei Pelinescu-Onciul authored on 07/06/2007 21:04:32
June 6, 2007
View ffd41e87fb

- paste error fixed ig TMCB_ONSEND is defined (default off)

Andrei Pelinescu-Onciul authored on 06/06/2007 14:54:04
June 5, 2007
View 3357dbdf88

- fix: relay_reply/local_reply on error cancel/cancel_bitmap: avoid attempts to cancel twice - fix: wrong silent discarding condition - noisy_ctimer is now 1 (on) by default (due to the above fix you'll really see silent discards without it which is not probably what you want/expect) - cancel updates: - cancel not sent on timeout, for branches on which no reply was received (closes SER-254). - cancels for silently canceled branches (no replies ever received) are automatically generated if later a provisional reply arrives on such a branch (close SER-232) - if branch canceled (non-silently) and provis. reply on it => immediately retransmit cancel - should_cancel_branch() can now be called w/o any lock held

Andrei Pelinescu-Onciul authored on 05/06/2007 14:35:17
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
View 91791c591b

- added membar_depends() for run_callbacks and unmatched_totag - callbacks ids are no longer set: nobody uses them and when doing a lockeless insert they cause extra expensive writes

Andrei Pelinescu-Onciul authored on 29/05/2007 13:44:19
View 66298eb439

- more callback fixes (TMCB_E2E_CANCEL_IN never called after the latest changes) - some minor optimizations attempts (predict all the callback branches/ifs as not taken since in the normal case we don't have any callbacks)

Andrei Pelinescu-Onciul authored on 29/05/2007 09:36:51
May 25, 2007
View 6776abcd5a

- fixed TMCB_E2ECANCEL_IN wrong value - fixed wrong buffer length in some TMCB_RESPONSE_SENT callback calls - switched TMCB_E2ECANCEL to path the cancel transaction as param. and not the invite one (bugs reported by Gergely Kovacs <>)

Andrei Pelinescu-Onciul authored on 25/05/2007 16:15:11
May 24, 2007
View 6aa46ec4aa

- tmcb onsend callbacks update (they get also the request or the reply if they are known when the callback is called) - added unlikely() when checking if an onsend callback has to be called (so that the branch will be predicted as untaken)

Andrei Pelinescu-Onciul authored on 24/05/2007 18:01:19