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
View 26a8a73ee0

- fixed gcc warning

Jan Janak authored on 06/12/2005 15:09:45
View 8126b42565

- bsd fixes (ADD already defined)

Andrei Pelinescu-Onciul authored on 06/12/2005 13:15:11
December 5, 2005
View a86d53b012

- rls excluded from the compile by default list (depends on external libs) - added DEBUG(), ERR(), WARN(), INFO(), BUG() which can be used instead of LOG(L_*, ). The new macros will add "DEBUG:", "ERROR:" a.s.o in front of the message and also the filename and line number from where they were called ( DEBUG("x") in foo.c:23 is equiv. with DBG("DEBUG: foo.c:23: x"))

Andrei Pelinescu-Onciul authored on 05/12/2005 17:01:08
November 30, 2005
View 74ce7043b5

- AVPs can be used in place of strings and integers in expressions (if (method == %method)) - Support for AVP assign statements ( %var1 = "value"; %var1 += "value2"; ) - Support for binary operators & and | in expressions - AVPs can be tested in expressions (if (%var1 == 4)) - fixed a bug in string comparisons in expressions - extended parameters of expression evaluation functions - fixed possible buffer overflow vulnerability in log("dfd") script function - default memory buffers enlarged - length of string is calculated in expression fixup - fixed bug in function printing route statements (traversed the list recursively several times)

Jan Janak authored on 30/11/2005 16:26:50