June 14, 2007
View 20fded1

- 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 e813851

- 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 bc5be34

- 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 8f0e1af

- 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 93349b4

- 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 0d88ce7

- 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 7662b2e

- Suppor for branch_route sections in the configuration file.

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

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
April 7, 2003
View 8740542

s/reply_route/failure_route, onreply_route introduced

Jiri Kuthan authored on 07/04/2003 06:36:56
September 19, 2002
View 7dd0b34

GPLization banner introduced to *.[hc] files

Jiri Kuthan authored on 19/09/2002 12:23:52
August 15, 2002
View caf80ae

bignag change -- lot of things primarily added in relationship with refurbushing TM; see [sr] archive (2002-08-14) -- "ser update" and "TM update" for a long list of details

Jiri Kuthan authored on 15/08/2002 08:13:29
May 13, 2002
View 3881f12

TM callbacks, acc, flags

Jiri Kuthan authored on 13/05/2002 01:15:40
October 11, 2001
View f20a56a

- new config style: if expr cmd else cmd; - expr can now contain commands (e.g: forward("proxy") && src_ip==1.2.3.4) - introduced boolean values in expr. (yes/no; true/false; on/off; 1/0) e.g.: if ( true ) log("..."); - changed name to ser, ser.cfg - bumped ver. no (0.7)

Andrei Pelinescu-Onciul authored on 11/10/2001 23:03:42
September 20, 2001
View a15c363

- still to do action,c

Andrei Pelinescu-Onciul authored on 20/09/2001 17:17:26
September 4, 2001
View e60a972

First working release

Andrei Pelinescu-Onciul authored on 04/09/2001 20:55:41