December 11, 2005
View 0d88ce78c9

- tm: t_relay will not stop script execution anymore in case of send error - added onsend_route: special route executed before forwarding a message, when the final destination is known. Only a limited number of commands are allowed ( if (expr) {}else{}, drop, flags manipulations, send(), log()). Usefull to catch more easily unauthorized attempts to relay/bounce message to protected destinations (e.g PSTN gateways) - new onsend checks: to_{ip,port}, snd_{ip,port,proto,af}. to= to whom the message will be sent to. snd=how ser will send it (socket ip/port,proto,af). - msg:len in onsend_route will containg the "new" message len - textops: search() onsend_route support (it will use the new, freshly constructed message and not the original one)

Andrei Pelinescu-Onciul authored on 11/12/2005 22:46:38
December 10, 2005
View 57857a94b6

- tm migrated to the new timers (tm timers completely re-written). - tm structures re-ordered & cleaned up for better "packing" on 64 bit machines => size reduction (~800 bytes less per transaction on a 64 bit machine) - params: - retr_timer1p1, retr_timer1p2, retr_timer1p3 removed and replaced by retr_timer1 and retr_timer2 - all timer values are now expressed in milliseconds (they were in seconds before). Affected params: fr_timer, fr_inv_timer, wt_timer, delete_timer, retr_timer1, retr_timer2 - retr_timer1 (first retransmission) changed to 500 ms - delete_timer changed to 200 ms - functions: - new t_set_fr(timeout_fr_inv, timeout_fr) -- allows changing the transaction timer from script, even if the transaction was already created (see tm docs for more). - fr_inv_timer/fr_timer can be changed now without any performance penalty - more precise retransmissions timing - overall improved tm speed an memory footprint (e.g. on a 64 bit 2*Xeon 2.8Ghz + HT, optimized ser, NO_DEBUG => ~ 6370 cps new version, ~6000 cps old version + rel_0_9_0 tm inser_timer fix; memory usage @ 6000cps: 490Mb new version, 616Mb old version). - NEWS updated

Andrei Pelinescu-Onciul authored on 10/12/2005 16:04:53
September 19, 2005
View fe04f09564

- obsolete code removed for the sake of clarity - CANCEL terminates retransmission timers properly

Jan Janak authored on 19/09/2005 16:27:33
August 18, 2005
View 49a20a49bb

- added t_on_branch function

Jan Janak authored on 18/08/2005 15:47:58
August 4, 2005
View 60f7986ce5

- parsed_uri & parsed_uri_ok are saved/restored before & after branches

Andrei Pelinescu-Onciul authored on 04/08/2005 11:37:13
February 28, 2005
View 7d4c7fd3bf

- Use force_send_socket stored in the destination set when doing parallel forking

Jan Janak authored on 28/02/2005 18:59:07
February 26, 2005
View dc4b13e870

- Support for force_send_socket in the destination set. That allows to specify the outbound socket for every branch when doing parallel forking. - Modules aligned to new prototypes of append_branch and next_branch functions.

Jan Janak authored on 26/02/2005 15:29:03
November 9, 2004
View a35ad52c2d

- force_send_socket per message API support => changedinterface to get_send_socket; it takes now also the sip msg as param (updated the calls to it in all the modules)

Andrei Pelinescu-Onciul authored on 09/11/2004 15:15:11
September 1, 2004
View 02333eaa79

The possibility to set independent destination URIs for branches.

Jan Janak authored on 01/09/2004 10:12:41
August 24, 2004
View 84d8e16586

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:58:23
April 25, 2004
View 035f593ca5

Added the possibility to set priorities of URIs in the destination set.

Jan Janak authored on 25/04/2004 15:13:24
February 23, 2004
View 6386c11bcd

- 487 no longer generated localy (hopefuly, UACs are well-behaving and no longer go crazy if it takes time to get the 487 due to another branch which is unresponsive) -> race conditions (200 coming from upstream) eliminated; - messages complaining about UAC status rewrites removed in special cases: a) negative reply retransmission b) receipt of 487 on a branch which was localy 408-ed

Jiri Kuthan authored on 23/02/2004 04:34:34
February 13, 2004
View 0be6158b28

static part of a transaction (struct cell) reduced by 216 bytes (for current MAX_BRANCHES) : - timer_link structer has no more payload field (calculated on the fly) -> 208 bytes less - local, is_invite, noisy_ctimer merged as flags -> 8 bytes less

Bogdan-Andrei Iancu authored on 13/02/2004 18:21:33
February 5, 2004
View 7a60138754

- more simple way of setting on_reply and failure routes; - bug in setting these routes from failure_route

Bogdan-Andrei Iancu authored on 05/02/2004 17:23:19
December 5, 2003
View a70eb29888

- global callbacks replaced by callbacks per transaction - per type callback list merged into a single one - TMCB_ON_FAILURE callback type addded - completion callback used by t_uac merged into transaction callbacks as TMCB_LOCAL_COMPLETED

Bogdan-Andrei Iancu authored on 05/12/2003 14:29:12