September 19, 2006
View 37209e1421

- applied patch from Dragos Vingarzan <vingarzan@fokus.fraunhofer.de> which moves all the forking part into 2 functions in pt.c (fork_process and fork_tcp_process). - added PROC_NOCHLDINIT rank value for Dragos's fork_process (if this value is used as child_id/rank_value the mod_child functions will not be called) - added register_procs(processes_no), used from mod_init when a module knows that it will fork some children (replaces the old process_count++ / the patch's estimated_process_count++) - added get_max_procs(): returns the maximum (estimated) number of processes

Andrei Pelinescu-Onciul authored on 19/09/2006 16:13:27
July 18, 2006
View d0ce0ebdf7

- clean-up of common fixup functions

Jan Janak authored on 18/07/2006 11:54:44
July 4, 2006
View c16e9887cf

- Support for selects in fparam_t - get_str_fparam function which will return the value of fparam as string

Jan Janak authored on 04/07/2006 12:48:13
April 11, 2006
View 2c51118951

- cosmetic change, FPARAM_ASCIIZ renamed to FPARAM_STRING Closes SER-102

Jan Janak authored on 11/04/2006 13:02:03
March 8, 2006
View d68d7f72e2

- make gcc happy when compiling with a c++ module (str str -> struct _str str)

Tomas Mandys authored on 08/03/2006 15:31:04
March 1, 2006
View b91364c6ce

- generic fix_param fixup function, the function produces fparam_t structure, which can contain parsed integer, str string, AVP, regex, or asciiz character. The function gets the original string parameter as input

Jan Janak authored on 01/03/2006 12:00:48
February 7, 2006
View 6d35d70ed4

- modules named flag support in modparams (registrar, acc_*) E.g.:

Andrei Pelinescu-Onciul authored on 07/02/2006 19:17:38
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 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
December 20, 2005
View bd52d9b93c

- PROC_MIN macro

Jan Janak authored on 20/12/2005 21:47:36
December 13, 2005
View 300b0f5011

- Module interface extended, each module can specify list of management functions in a common fashion - added rpc lookup function

Jan Janak authored on 13/12/2005 00:02:03
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
October 11, 2005
View f671296776

- fixup_regex added

Jan Janak authored on 11/10/2005 16:50:15
View bb6575cde0

- common fixup functions shared across modules

Jan Janak authored on 11/10/2005 14:54:21
August 18, 2005
View 7662b2e7cf

- Suppor for branch_route sections in the configuration file.

Jan Janak authored on 18/08/2005 15:46:46