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 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
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 5, 2005
View 3d942590eb

- fixed some warnings - fixed typo in action.c - fixed dynamic regex not regfreed and backup char not restored on error in route.c

Andrei Pelinescu-Onciul authored on 05/12/2005 17:32:17
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
February 26, 2005
View dc4b13e870

- Support for force_send_socket in the destination set. That allows to specify the outbound socket for every branch when doing parallel forking. - Modules aligned to new prototypes of append_branch and next_branch functions.

Jan Janak authored on 26/02/2005 15:29:03
February 25, 2005
View 2518c90022

- basic tel uri support (it's parsed, SIP_URI_T, SIPS_URI_T and TEL_URI_T added)

Andrei Pelinescu-Onciul authored on 25/02/2005 14:19:57
November 30, 2004
View 6cd4883577

- added the missing force_send_socket script command

Andrei Pelinescu-Onciul authored on 30/11/2004 16:28:23
November 9, 2004
View a35ad52c2d

- force_send_socket per message API support => changedinterface to get_send_socket; it takes now also the sip msg as param (updated the calls to it in all the modules)

Andrei Pelinescu-Onciul authored on 09/11/2004 15:15:11
September 1, 2004
View 02333eaa79

The possibility to set independent destination URIs for branches.

Jan Janak authored on 01/09/2004 10:12:41
August 31, 2004
View 87deb93ff8

- forward_{udp,tcp,tls} fix: if one of them is used (instead of simple forward) force the corresponding protocol and don't use the uri one

Andrei Pelinescu-Onciul authored on 31/08/2004 16:50:34
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

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