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
November 16, 2005
View 646aef6d3c

- fixed parse error for if (cond) a(); else b(); - fixed dbg. config dumping

Andrei Pelinescu-Onciul authored on 16/11/2005 21:37:20
November 2, 2005
View fe09f3158f

- ip TOS can now be set from ser cfg (thanks to Andreas Granig)

Andrei Pelinescu-Onciul authored on 02/11/2005 18:14:12
October 11, 2005
View b839c55727

- onreply_route fix

Andrei Pelinescu-Onciul authored on 11/10/2005 11:16:18
September 8, 2005
View c5eea708b6

- missing space added (cosmetic change)

Jan Janak authored on 08/09/2005 13:58:56
August 18, 2005
View 7662b2e7cf

- Suppor for branch_route sections in the configuration file.

Jan Janak authored on 18/08/2005 15:46:46
July 12, 2005
View 6b6642f470

- default onreply_router {} added (this will be executed for any reply, it adds the possibility of executing scripts on replies without using tm)

Andrei Pelinescu-Onciul authored on 12/07/2005 15:22:19
July 11, 2005
View 878fc1940b

- various resolver/dns related options can now be set from ser.cfg: dns_try-ipv6=yes|no dns_retr_time= time(in s) dns_retr_no = no. dns_use_search_list=yes|no dns_server_no= no. (for more info look in NEWS)

Andrei Pelinescu-Onciul authored on 11/07/2005 17:30:43
July 8, 2005
View 55d8155eb4

- added new config vars: - tcp_connection_lifetime ( tcp connection timeout) - tcp_max_connections (default 2048) - tcp_poll_method (by default the best method for your OS is selected, if you don't like it/have problems you can force another using this var) - removed some too verbose debuging info - updated NEWS (seems everyone else forgot about it :-()

Andrei Pelinescu-Onciul authored on 08/07/2005 15:39:06
January 9, 2005
View a8af804e89

force_rport() works even without TCP support compiled in.

Maxim Sobolev authored on 09/01/2005 14:37:20