February 22, 2010
View 5e0e999ad3

core: distinct core and tm onreply route tests

Andrei Pelinescu-Onciul authored on 22/02/2010 13:49:37
June 3, 2009
View 593513f8e0

route_type: branch and onsend route bugs corrected

Miklos Tirpak authored on 03/06/2009 08:38:42
May 19, 2009
View 31b5e3d0e7

core: support for event_route

Daniel-Constantin Mierla authored on 19/05/2009 16:55:12
April 27, 2009
View 16b47a9a88

define ANY_ROUTE

Daniel-Constantin Mierla authored on 27/04/2009 11:00:44
March 7, 2009
View 1dfe92cbe2

New global variable route_type with the type of route being executed

Jan Janak authored on 07/03/2009 00:42:04
December 10, 2008
View 10bb5547fc

script engine: expression optimizations

Andrei Pelinescu-Onciul authored on 10/12/2008 13:43:58
December 4, 2008
View ab7f82d262

script engine: lvalue/rvalue assignment and fixups

Andrei Pelinescu-Onciul authored on 04/12/2008 00:12:46
June 14, 2007
View 20fded1fe8

- fix: run_actions() & friends used some static variables to save some internal state (run_flags, last_ret a.s.o). Problems would appear when different routes (e.g. main route and an onsend route) would execute in the same process (e.g. an onsend route return would exit also the main route). Now run_actions(), do_action() and eval_expr() take an extra "context" parameter (which must be initialized before use).

Andrei Pelinescu-Onciul authored on 14/06/2007 23:12:26
December 13, 2006
View e8138515fe

- hash cleanup/cosmetics: - use the "raw" hash functions from hashes.h as base for the other hashes (e.g. tm hash). This doesn't change the hash functions, just removes some extra copies. - split old hashes.h into hashes.h (more generic stuff) and str_hash.h - new_hash() is safer now (nobody uses it, but just in case...)

Andrei Pelinescu-Onciul authored on 13/12/2006 22:50:46
May 30, 2006
View bc5be3498c

- added route_lookup (like route_get(), but doesn't create a new route if not found) -- patch from Miklos Tirpak <miklos@iptel.org>

Andrei Pelinescu-Onciul authored on 30/05/2006 19:20:51
February 24, 2006
View 8f0e1af302

- tcp accounting: connections_no decreased on error - parse_uri: missing break for r2 - tm: enabled tm stats

Andrei Pelinescu-Onciul authored on 24/02/2006 18:35:35
February 7, 2006
View 93349b4eca

- named routes support in core and tm (t_on_*). e.g.: route{ route(bar); t_on_reply("reply_route"); route(1); # == route("1") ... } route[foo]{ ... } route["bar"]{ ... } route[1]{ ... } onreply_route[reply_route]{ ... }

Andrei Pelinescu-Onciul authored on 07/02/2006 01:14:57
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
August 18, 2005
View 7662b2e7cf

- Suppor for branch_route sections in the configuration file.

Jan Janak authored on 18/08/2005 15:46:46
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09