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 9, 2005
View 24c9352297

Let tm module be relatively independent on the route action internal structure (resp. its data size). When accessing param #1 while fixing param #2 in the fixup_hostport2proxy function use correct type for pointer arithemtics.

Michal Matyska authored on 09/12/2005 18:33:58
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
November 30, 2004
View 6cd4883577

- added the missing force_send_socket script command

Andrei Pelinescu-Onciul authored on 30/11/2004 16:28:23
October 19, 2004
View 6b7de230aa

- from_uri & to_uri script support (exaclty like uri, from_uri==myself or from_uri=~'^sip:[0-9]{7}@' a.s.o)

Andrei Pelinescu-Onciul authored on 19/10/2004 13:40:05
August 24, 2004
View 53c7e0f19a

- Spelling checked - READMEs updated

Jan Janak authored on 24/08/2004 08:45:09
February 24, 2004
View 1bee75ad6a

t_attr_to_uri() moved from tm into core as avp_to_uri() (Jiri's wish)

Bogdan-Andrei Iancu authored on 24/02/2004 16:59:33
February 6, 2004
View 1580c8214e

- basics for users preferences: - script param. "avp_db_url" added - scrit function "load_avp" with 2 or 3 params added - do_action updated - init. of bd connection from core on startup per each proccess - reseting avp list after main route and reply/failure_route execution

Bogdan-Andrei Iancu authored on 06/02/2004 18:56:49
October 29, 2003
View 59653eb856

- changed tcp to support port aliases (major changes) - added via alias parameter parsing - added script var. tcp_accept_aliases= yes|no (honour or not via alias param) - added script. cmd. force_tcp_alias( <void>|port_no) [for more info read the NEWS file]

Andrei Pelinescu-Onciul authored on 29/10/2003 17:41:27
October 12, 2003
View dda578bae9

- if () {} do not have to be followed by ';' anymore - added switch to check the config file (-c) and display aliases and listen interface list if the config is ok. - changes: removed len_gt() and replaced with if (msg:len op number|max_len) - more operators supported: != for special operations (e.g. myself or ip comparisons), != for strings (==, !=, ~=), !=, >, <, >=, <= for numbers (e.g msg:len >= max_len). - updated NEWS

Andrei Pelinescu-Onciul authored on 12/10/2003 15:09:08
October 3, 2003
View 6bfaa042d6

- added suuport for setting the source address and port in the sip requests (adevertised_address= ip|string, advertised_port= no, set_advertised_address(ip|string), set_advertised_port(no) )

Andrei Pelinescu-Onciul authored on 03/10/2003 07:19:41
July 1, 2003
View e9b02e8ee8

- more tls hooks

Andrei Pelinescu-Onciul authored on 01/07/2003 20:23:51
June 26, 2003
View b667b2782a

- 64-bit cleanup; action->{p1,p2,p3}.number changed from int to long

Jan Janak authored on 26/06/2003 14:45:15
April 22, 2003
View 1d9f91d66c

strip_tail added (on Bill's request)

Jiri Kuthan authored on 22/04/2003 21:15:46
April 12, 2003
View 3e8c3475a5

- added force rport (force_rport command in script, FL_FORCE_RPORT flags, msg->msg_flags) - added chroot and wdir in script (to bring it in line with the cmd. line options)

Andrei Pelinescu-Onciul authored on 12/04/2003 19:26:15