November 16, 2015
View 6a738a9123

carrierroute: addind db_load_description parameter

Lucian Balaceanu authored on 16/11/2015 16:59:05
July 4, 2014
View 9e1ff4488a

all: updated FSF address in GPL text

Anthony Messina authored on 04/07/2014 09:36:37
March 9, 2010
View 1c327b736b

modules/carrierroute Ser cfg framework for some carrierroute parameters (fetch_rows, use_domain and fallback_default)

Marius Zbihlei authored on 09/03/2010 12:54:49
October 10, 2009
View e89cea154c

Updating license plate

oej authored on 10/10/2009 12:14:58
March 3, 2009
View d1930021c4

integrate sip-router compatiblity patches from Jan Janak

Henning Westerholt authored on 03/03/2009 11:56:29
January 21, 2009
View c441ef000f

- log a better error message if carrier or domain table is empty at start

Henning Westerholt authored on 21/01/2009 15:33:51
December 4, 2008
View a103c1a10a

- fix a bunch of doxygen errors (mostly in modules, some in the core) - credits belongs to Frederick Bullik, frederick dot bullik at 1und1 dot de

Henning Westerholt authored on 04/12/2008 18:12:33
November 12, 2008
View 8efd99bc89

- finish refactoring of carrierroute module - replace O(n) matching logic for carrier and domain names with a efficient binary search implementation - use qsort and bsearch of glibc in most of the cases, where its possible (basically all carrier/domain searches are O(log n) now, only when dynamic strings for are used in the cfg, it needs to search the whole list) - change carrier and domain names from string to integer, to allow the lookup - instead of storing the carrier/domain name string in the memory structure, a pointer to the name is used to save space - get rid of this internal ID vs. external ID stuff, we use now only one - rename the route_tree table to carrier_name - add a new table domain_name, to hold the domain names (like route_tree tbl) - adapt tests for the new or changed functionality - extend documentation with a paragraph about the used matching logic - Credits for this work belongs to Hardy Kahl, hardy dot kahl at 1und1 dot de - fix a few errors in the postgres cr test, fix a few doxygen statements - move some parts of log messages to DBG log level - update documentation and database schemes

Henning Westerholt authored on 12/11/2008 15:53:01
View c3c32a634a

- bug fix: return '-1' if use_table failed in load_user_carrier

Henning Westerholt authored on 12/11/2008 12:30:12
November 4, 2008
View 9bf7f78e8b

- fix bug in cr_user_rewrite_uri: the load_user_carrier function fails to free a DB result when the query returned NULL, this was introduced in a bugfix, rev4249

Henning Westerholt authored on 04/11/2008 22:51:39
November 3, 2008
View a083345f11

- use log helper from mem.h for memory allocation failure logging

Henning Westerholt authored on 03/11/2008 09:45:28
October 24, 2008
View 5e92049ede

- refactor carrierroute module (preparations for later performance improvements and some functional additions) - use core trie structure instead of the own copy of the digit trie - use a iterative approach instead of the recursive digit matching - move belonging functionality to one file, reduce dependencies between different files, change interfaces to use more appropriate structures - get rid of this API pointer to differ between config and DB mode

Henning Westerholt authored on 24/10/2008 08:28:01