February 7, 2006
View 2034e4cb43

- various warning fixes

Andrei Pelinescu-Onciul authored on 07/02/2006 19:52:38
January 27, 2006
View ec76200fbb

- cancel before invite fix attempt (experimental, treat with care) This fix should handle delayed INVITEs (due to network or script), that arrive after the CANCEL. The INV transaction will be created (it's needed for the reply) but immediately canceled.

Andrei Pelinescu-Onciul authored on 27/01/2006 18:47:21
January 8, 2006
View ad1e3e5c3c

- support for apart modules taken from svn, fixed bug for dependency files *.d - new config param INCLUDES (all includes -I goes here, CFLAGS was not good for MAKDEP)

Tomas Mandys authored on 08/01/2006 12:54:41
December 19, 2005
View 21a3adb310

- added a SER_VER define which contains the numerical ser version (0.10.99 = 0*1000000 + 10*1000 +99 = 10099). It can be used to compile code conditionally (#if SER_VER > x...). If SER_VER is not defined => older ser version (0.9.x).

Andrei Pelinescu-Onciul authored on 19/12/2005 12:58:10
December 16, 2005
View bb050b70e2

- fixed t_uac 0 fr_timer (reported by Stefan Sayer) : all the fifo created transaction will have the default tm timer (fr_inv_timer, fr_timer). They will not be affected by t_set_fr or the fr_timer avps.

Andrei Pelinescu-Onciul authored on 16/12/2005 13:09:06
December 12, 2005
View f37434f09a

- ver. no ++

Andrei Pelinescu-Onciul authored on 12/12/2005 23:48:31
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
December 5, 2005
View af93cbdf37

New timer interface: - allows adding timers dynamically - supports one shot and periodic timers - precise - allows timeouts < 0.5 s (depends on the config., by default min. timeout = 62.5 ms) - based on a 3 level hierarchical timing wheel - very fast - low overhead for timer functions (most of the time, the excetion is timer_del which take can take quite a long time in special situations) - supports "slow" timers (compile option, by default on), "slow" timer = a timer handler which is declared as possible taking a long timer to execute. - backward compatible: old timer functions are preserverd => no changes needed for the existing code (although migration to the new interface is recommended) For more information read doc/timers.txt. tm timer update will follow shortly (this week).

Andrei Pelinescu-Onciul authored on 05/12/2005 18:29:30
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 17, 2005
View a73806997d

o Include <sys/types.h> before any other <sys/foo> and network-related headers;

Maxim Sobolev authored on 17/11/2005 01:24:03
View 7564dcaba5

- fixed F_CONN_REMOVED flag reset to 0 - struct tcp_connection re-arrangement + sign/unsigned fixes

Andrei Pelinescu-Onciul authored on 17/11/2005 01:22:03
November 16, 2005
View efa97d66cb

- set HAVE_TIMEGM only on linux, *bsd and darwin (not on solaris)

Andrei Pelinescu-Onciul authored on 16/11/2005 21:56:21
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