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
December 1, 2005
View 0aacee4993

- typo fixed

Jan Janak authored on 01/12/2005 10:18:27
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
August 18, 2005
View 7662b2e7cf

- Suppor for branch_route sections in the configuration file.

Jan Janak authored on 18/08/2005 15:46:46
February 23, 2005
View 5c28a534d5

- changed parse_headers api, HDR_xxx split into HDR_xxx_F (hdr_flags_t) and HDR_xxx_T (hdr_types_t), for more info read doc/parse_headers.txt. The header flags were extended top 64 bits. Be carefull not to mix types with flags, they won't work!

Andrei Pelinescu-Onciul authored on 23/02/2005 17:16:01
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
October 21, 2003
View 50d5fa87f9

- aliases proto support

Andrei Pelinescu-Onciul authored on 21/10/2003 23:28:46
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
July 6, 2003
View 9c01c86051

- added fm_realloc (now only vm_ misses realloc) - cosmetic fixes in ip_addr (print_ip changed)

Andrei Pelinescu-Onciul authored on 06/07/2003 18:43:16
July 2, 2003
View 8e807134f6

- more tls add-ons (via parser, srv lookup, forward_tls a.s.o) - fixed inivite1.sip content-length

Andrei Pelinescu-Onciul authored on 02/07/2003 20:26:49
May 23, 2003
View 04f302c64f

- fixed {dst,src}_ip{==,~=}"foo" (now if foo is an ip address it will work as expected else it will resolve foo and try all the addresses else it will reverse resolve {dst,src}_ip and compare foo with all the aliases.

Andrei Pelinescu-Onciul authored on 23/05/2003 15:03:38
April 7, 2003
View 87405423a6

s/reply_route/failure_route, onreply_route introduced

Jiri Kuthan authored on 07/04/2003 06:36:56