June 5, 2008
View d1de0cc544

- adding ds_probing_mode parameter to control which gateways are tested for availability (re-worked patch submitted by Konstantin Bokarius, #1893021)

Daniel-Constantin Mierla authored on 05/06/2008 07:12:44
April 11, 2008
View b14bb7d7c8

- new parameter to set the value of destination list id in a variable when calling ds_is_from_list() with no parameter - helps to identify the source by group id

Daniel-Constantin Mierla authored on 11/04/2008 09:47:51
March 3, 2008
View 05723a0360

- added fixup functions for parameters that can be int or PV

Daniel-Constantin Mierla authored on 03/03/2008 21:46:37
March 2, 2008
View 095ab21d07

- new alg 7 to hash the content of param hash_pvar - hash_pvar parameter can be a PV formatted string, updated at runtime - patch by Carsten Bock (closes #1838758)

Daniel-Constantin Mierla authored on 02/03/2008 11:34:42
February 7, 2008
View c7d5638241

- ability to load destination URI flags from database at startup/reload - it preserves backward compatibility (if the table has old version structure, the module won't load the flags column)

Daniel-Constantin Mierla authored on 07/02/2008 13:00:51
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
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
August 7, 2007
View c503d21db1

- migrated to new process initialization model (credits to Ancuta Onofrei)

Daniel-Constantin Mierla authored on 07/08/2007 09:32:24
July 27, 2007
View 101e9af481

- migrated to new debug functions - some global variables renamed to avoid mistaken overlaping - new random selection algorithm (6) - support for loading destination list from database - ability to reload the destination list from database upon a mi command - documentation updated

Daniel-Constantin Mierla authored on 27/07/2007 11:38:55
May 9, 2007
View 081b5d4e01

- dev version increased - applied patch from Carsten Bock - closes #1689036 - set of enhancement to dispatcher module - hash over the authentication-username - ds_is_from_list() to find if source ip a destination list - set a gateway to a probing mode (after a definable threshhold) by calling ds_mark_dst("p"). If a gateway/proxy fails several times (per default three times), it will be removed from the routing and be probed: The Proxy will send an OPTIONS-Request to the proxy/gateway and if it receives a "successful" reply (200 OK or 501 Not implemented) it will be automatically reactivated. We accept "501 Not implemented" as well, because some Cisco gateways do not support the OPTIONS-Request and reply with a "501 Not implemented".

Daniel-Constantin Mierla authored on 09/05/2007 14:54:25
March 4, 2007
View 8cdef0e87f

- dst_avp_id, grp_avp_id, cnt_avp_id renamed in dst_Avp, grp_avp, cnt_avp - the parameters take now full AVP spec name as value

Daniel-Constantin Mierla authored on 04/03/2007 19:01:59
October 5, 2006
View ba07eb395e

- external functions implemented also for the new Management Interface

Bogdan-Andrei Iancu authored on 05/10/2006 17:07:20
December 18, 2005
View a4ba035982

- dispatcher has failover support - to enable failover, set bit 2 of 'flags' parameter - when failover is enabled, selected destination is added as dst_uri or domain part of r-uri and the rest of addresses in destination set are added in AVP list - ds_next_{dst,domain} can be used in failure_route to get the next address in dst_uri or r-uri domain - dev version increased - doc updated

Daniel-Constantin Mierla authored on 18/12/2005 09:56:28
August 8, 2005
View ee4a9fb26c

- 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) - fixed empty username in uri crash (all thanks to Andrei)

Daniel-Constantin Mierla authored on 08/08/2005 15:44:29
July 4, 2005
View 44f3472f1d

- added ds_select_host() to replace host and port in R-URI with selected destination

Daniel-Constantin Mierla authored on 04/07/2005 09:49:00