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 0b4cc6b670

Various db api changes needed after migration to libsrdb1

Jan Janak authored on 03/03/2009 14:41:41
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
March 4, 2008
View b5263e8ce2

- added fixup function for PV-formatted string - speeddial updated to use it

Daniel-Constantin Mierla authored on 04/03/2008 12:13:23
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 19, 2007
View de7fe5e941

- changed LOG with LM_*

Anca Vamanu authored on 19/10/2007 15:15:01
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 9, 2007
View b0a7f212ca

- internal redesign of pseudo-variable (PV) model - more compact and clear format for name and index - naming format of structures and functions are prefixed with pv_ instead of xl_ - types of PV are prefixed with PVT_ instead of XL_ - PV spec formats: - $class_name - $class_name(inner_name) - $(class_name[index]) - $(class_name(inner_name)[index]) - $(class_name{transformation}) - $(class_name(inner_name){transformation}) - $(class_name[index]{transformation}) - $(class_name(inner_name)[index]{transformation}) - NOTE: the index for avp and hdr has to be specified after the pharantesis enclosing the name ( $avp(name[index]) => $(avp(name)[index]) ) - there are three classes that accept inner name: avp, hdr and var - there are two classes that accept index: avp and hdr - NOTE: color printing PV not yet migrated -- they will be introduced as a new PV class exported by xlog module - modules migrated to new PV model - NOTE: avpsops need special attention -- it was prety much affected - PV exporting by modules is done via a new simpler structure that allows to add PV with inner name and index - NEW FEATURE: inner_name and index for avp and hdr can be PV ( example: $(avp($var(avp_name))[$var(index)]) - name of avp is taken from $var(avp_name) and the index from $var(index)) - dev version increased

Daniel-Constantin Mierla authored on 09/09/2007 20:55:56
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
February 19, 2007
View ceff22848d

- parameter of m_store() redesined to be more meaningful. Instead of using integer values, the parameter can be given via pseudo-variables - same parameter can be used for m_dump() and in speedial module to have coherence

Daniel-Constantin Mierla authored on 19/02/2007 13:31:48
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