June 10, 2009
View 82a5ef65ff

db: Fixing problem with incorrect initialization of db connections

Jan Janak authored on 10/06/2009 20:41:27
April 15, 2009
View 0963418bf7

Various db api changes needed after migration to libsrdb1

Jan Janak authored on 03/03/2009 14:41:21
August 10, 2008
View 61b6dd640b

- cleanup in modules, instead of logging module initialization in each mod_init (with different messages, levels..) do this in the core

Henning Westerholt authored on 10/08/2008 22:51:44
August 6, 2008
View 9b64b9f378

- renaming: openser -> kamailio

Klaus Darilion authored on 06/08/2008 08:20:30
July 28, 2008
View 27642a08ce

- change name in copyright headers

Henning Westerholt authored on 28/07/2008 15:39:28
May 19, 2008
View bce2caabdb

- allow one alias to many destinations (first replaces the r-uri, next are added as branches) - new param: append_branches to control addition of branches (default is 0, don't add branches -- preserves old behavior)

Elena-Ramona Modroiu authored on 19/05/2008 07:55:24
March 24, 2008
View 24df147e82

- support for dynamic table name

Elena-Ramona Modroiu authored on 24/03/2008 19:58:50
February 5, 2008
View 5a90885cce

- Fix typo in alias_domain table, Reported from IƱaki Baz, closes #1886933

Henning Westerholt authored on 05/02/2008 11:28:53
January 22, 2008
View e2cf634310

- port database interface (almost) complete from 'const char*' to 'str' for more safety (e.g. not null terminated strings) and performance (save strlen calls in core and library code) - adapt existing modules to use the new interface - change bind_dbmod and use_table function to the naming scheme of the other functions of the API - port existing module to use 'str' values for database related parameters - if modules uses already 'str' functions internally, remove the unnecessary temporary variables - make functions and parameter that needs only locally be used static - introduce new column variables needed for the keys for modules that don't have them already, this could be used to make them configurable later on - add 'const' to more db related functions - fix postgres driver, async queries must be finished, otherwise the next one will not complete - smaller whitespace and formatting changes and cleanups all over the place - reviewed and tested with testcases, but probably not error free because of the change size

Henning Westerholt authored on 22/01/2008 13:55:43
December 19, 2007
View c4d2e802b7

- add missing cast for cmd_function after module interface extension

Henning Westerholt authored on 19/12/2007 12:23:10
October 4, 2007
View 80998a7f2e

- cmd_export_t has a new field: free_fixup - it is the function to be called if you want to free the structure resulted after calling the fixup function - to be used in dynamic environments, like perl scripts, where you have to call fixup function every time you call a function exported by modules - for future, a better cleanup of used memory can be achived by freeing fixed strucutred in config file - fixup functions in core got the free_fixup pair if is the case - textops has some free_fixup functions set - dev version increased

Daniel-Constantin Mierla authored on 04/10/2007 11:21:22
September 20, 2007
View 789504a627

-more modules migrated to LM_* logging format

Bogdan-Andrei Iancu authored on 20/09/2007 07:47:17
July 31, 2007
View 3eee3a4e13

- added new field in the module interface - list of the additional processes to be created (work on progress)

Bogdan-Andrei Iancu authored on 31/07/2007 13:01:04
January 9, 2007
View 45b91eae16

- new route type: error_route - to be automatically executed when an error occured while sip request processing - now it is triggered by parsing errors of r-uri, header structure, From, To, CSeq, Call-ID, Content-Length - new pseudo variables available in error_route - $err.class - the class of error - $err.level - the severity level - $err.info - text describing the error - $err.rcode - recommended reply code - $err.rreason - recommended reply reason - you have to call exit in error_route to stop the execution - sl_reply(code,reason) is similar to sl_send_reply(), but can take pseudo-variables in parameters (sl_send_reply() is kept by now because it is used internally by other modules) - both sl_reply() and sl_send_reply() can be used in error_route - append_to_reply() can be used in error_route

Daniel-Constantin Mierla authored on 09/01/2007 15:30:28
November 28, 2006
View 5171642234

- dynamic library loading flags can be specific per module - new modules under development requires such features - by default RTLD_NOW is used, see 'man dlopen' for more options - thanks to Bastian Friedrich <bastian.friedrich@collax.com>

Daniel-Constantin Mierla authored on 28/11/2006 15:49:10