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 10, 2005
View 3ba4048bcc

- tsend_* functions changed to obey the timeout more accurately and in all cases - unix_tx_timeout changed to milliseconds and its default value to 500 ms.

Andrei Pelinescu-Onciul authored on 10/12/2005 23:44:06
View 57857a94b6

- tm migrated to the new timers (tm timers completely re-written). - tm structures re-ordered & cleaned up for better "packing" on 64 bit machines => size reduction (~800 bytes less per transaction on a 64 bit machine) - params: - retr_timer1p1, retr_timer1p2, retr_timer1p3 removed and replaced by retr_timer1 and retr_timer2 - all timer values are now expressed in milliseconds (they were in seconds before). Affected params: fr_timer, fr_inv_timer, wt_timer, delete_timer, retr_timer1, retr_timer2 - retr_timer1 (first retransmission) changed to 500 ms - delete_timer changed to 200 ms - functions: - new t_set_fr(timeout_fr_inv, timeout_fr) -- allows changing the transaction timer from script, even if the transaction was already created (see tm docs for more). - fr_inv_timer/fr_timer can be changed now without any performance penalty - more precise retransmissions timing - overall improved tm speed an memory footprint (e.g. on a 64 bit 2*Xeon 2.8Ghz + HT, optimized ser, NO_DEBUG => ~ 6370 cps new version, ~6000 cps old version + rel_0_9_0 tm inser_timer fix; memory usage @ 6000cps: 490Mb new version, 616Mb old version). - NEWS updated

Andrei Pelinescu-Onciul authored on 10/12/2005 16:04:53
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
September 13, 2005
View 9d24a2622f

- 0.9.4 changes forward ported (docs, radius Makefile *bsd update, postgress Makefile *bsd update a.s.o)

Andrei Pelinescu-Onciul authored on 13/09/2005 13:53:11
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 51edaa6efc

- added a new flag parameter which can be used (for now) to select only the username or the username, host and port when hashing after an uri - improved uri hashing (password is ignored, port is used only if sip and port != 5060 or sips and port!=5061)

Andrei Pelinescu-Onciul authored on 08/07/2005 15:49:27
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
May 25, 2005
View 871a6a07a2

- experimental ppc locking tweaks (not tested) - ppc64 enabled (the same ppc code should work)

Andrei Pelinescu-Onciul authored on 25/05/2005 10:53:44
December 16, 2004
View 245b8b9351

- various pre-release updates - use_domain set to 0 by default in all the modules - experimental sparc32 non-SMP support (thanks to Michael Grigoni)

Andrei Pelinescu-Onciul authored on 16/12/2004 17:39:46
December 13, 2004
View 2d15016dff

- list of new and removed modules - changes in old modules and core

Daniel-Constantin Mierla authored on 13/12/2004 13:52:35
December 2, 2004
View 943a9d0075

- removed -p port && extended -l to support the same syntax as listen= : -l [proto:]addr[:port] where proto=udp|tcp (default all), and addr=ip_addr|host|interface_name. E.g.: -l localhost, -l tcp:127.0.0.1 -l udp:[::1]:5062, -l eth0, -l tcp:xl1:5090 - mysql: fixed minor warning

Andrei Pelinescu-Onciul authored on 02/12/2004 15:55:25
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