January 20, 2006
View 8737eaf4bc

- accidental commit of local unfinished changes reverted

Jan Janak authored on 20/01/2006 15:24:28
View d246229882

- Added missing ;, reported by Hendrik Scholz

Jan Janak authored on 20/01/2006 10:42:37
January 19, 2006
View 43f88e4ff4

- multiple nested calls allowed - default MAX_NESTED_CALLS set to 4 (select was supposed to be fast :-) - IS_ALIAS renamed to NESTED flag - DIVERSION flag is processed at resolve_select

Michal Matyska authored on 19/01/2006 19:44:40
January 9, 2006
View f141bc93c5

- rewritten module function parsing and call processing (mk_action, struct action, action_u_t) - API to get other fixup params from fixup - full function overloading - optional NUMBER/STRING param in config for module functions - added oveloaded functions to print_stdout (demostrates overloading)

Tomas Mandys authored on 09/01/2006 19:42:35
January 8, 2006
View 6308a4ee50

- set_mod_param uses set_mod_param_regex - set_mod_param_regex str/string type casting - rr_mod ignore_user removed, i_user as str param

Tomas Mandys authored on 08/01/2006 23:51:12
January 7, 2006
View fb851d7e8a

- support for str param type (xxx_PARAM->PARAM_xxx, PARAM_STRING)

Tomas Mandys authored on 07/01/2006 23:24:58
View 145e3fb302

=AVP core extended to be aware of multiple AVPs with the same name exist in the list. There are three possibilities of correct script syntax...

Michal Matyska authored on 07/01/2006 21:28:49
View ec2b7f55d4

PARAM_xxx changed into SEL_PARAM_xxx to avoid conflict with global definitions

Michal Matyska authored on 07/01/2006 16:29:01
January 5, 2006
View 18cf23c0a8

AVP CLASS & TRACK specification in the script changed to following options:

Michal Matyska authored on 05/01/2006 10:59:27
December 21, 2005
View 539283cdd7

- removed implementation of fifo and unixsocket servers from core (it will be implemented in modules instead)

Jan Janak authored on 21/12/2005 17:27:21
December 20, 2005
View a0fb4e8bd5

History rewritten, new files GPLized

Michal Matyska authored on 20/12/2005 01:52:40
View 3fb428edb4

New script element, Jan's select function framework (@xxx), extended for modular use. In the script it can be used as value assigned to AVP and in the string comparision, RE matching, like: $my_avp=@my.function[1]; if (@via.protocol=="UDP")...

Michal Matyska authored on 20/12/2005 00:49:32
December 12, 2005
View 01dea12497

- return [val] support (returns from the current route with value val, by default 1) - exit [val] support (exits the script with code val, where 0 means drop, >0 means do default actions and <0 means error) - drop is now equivalent to exit 0 - drop should be faster when used to exit deep routes - break is now equivalent with return 1 - the return code can be checked with $?, e.g.: if ($?==1) {...} else if ($?==-1){...} else {...}.

Andrei Pelinescu-Onciul authored on 12/12/2005 23:47:56
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 6, 2005
View a7391012c9

- reverted previous accidental commit

Jan Janak authored on 06/12/2005 15:14:26