April 7, 2006
View 58d0d1b5b6

- separate memdbg log level which controls the memory/malloc related debug messages (to see them ser must be compiled with malloc debuging: -DDBG_QM_MALLOC or -DDBG_FM_MALLOC and memdbg must be <= debug ). By default is set to L_DBG. E.g.: setting memdbg=100 in ser.cfg will make sure that you'll never see a malloc debug message. Note: memdbg is different from memlog, memlog is the log level used for malloc statistics (printed on exit or on SIGUSR1).

Andrei Pelinescu-Onciul authored on 07/04/2006 14:55:27
February 23, 2006
View 45b6a746bc

- new command line tool which communicates with the ctl module (using the new binary protocol) - supports various connection methods: udp, tcp, unix sockets (datagram and stream) - can do basic reply formatting (see -f ) - supports both command line and interactive modes - if compiled with libreadline supports command completion in the interactive mode - depends only on libreadline/libedit if compiled with command completion support Example: sercmd -s unixd:/tmp/unix_dgram -f 'pid:%v desc:"%v"\n' core.ps sercmd # enters interactive mode, uses default unix:/tmp/ser_ctl socket sercmd ps sercmd who (see also sercmd -h and utils/sercmd/EXAMPLES)

Andrei Pelinescu-Onciul authored on 23/02/2006 20:07:45
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 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