November 13, 2008
View 921ef5c05f

Replaced dprintf for fprintf (dprintf is somewhat gnu-specific and does not compile on Mac). even though it was just used for debugging (not on the module) it prevented compilation

Elias Baixas authored on 13/11/2008 10:18:48
November 12, 2008
View 7985d96ed0

forwardport from 1.4 (r5190): Adding 405 to the list of supported replies for OPTION pings. This is a really bad implementation since the reply codes are hardcoded. The proper fix would be to export all the accepted replies via an avp or a module parameter.

Ovidius Sas authored on 12/11/2008 19:56:44
View 34a6fbda5d

- 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 da2d48ae44

- output table name on errors

Henning Westerholt authored on 12/11/2008 13:32:37
View ab9b09e202

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

Henning Westerholt authored on 12/11/2008 12:30:12
November 11, 2008
View b8146430df

- add a note to fix_nated_register to set the received_avp parameter

Klaus Darilion authored on 11/11/2008 23:52:23
View e9388c9183

- fix wrong modparam statement, closes #2262246 from Sebastian Schumann

Henning Westerholt authored on 11/11/2008 13:02:48
November 10, 2008
View 5e6268743a

Fixed terminate CDR issue caused by reporting original called number.

Di-Shi Sun authored on 10/11/2008 07:12:36
November 7, 2008
View 0cff5c0da9

- fix format of a few error log messages

Henning Westerholt authored on 07/11/2008 14:08:36
View 6d78fc3a40

- use a more meaningful name for a variable in a few places, small cleanups

Henning Westerholt authored on 07/11/2008 11:39:21
View a3addefe6a

Fixed dest CDR issue for partly corrupted cookie.

Di-Shi Sun authored on 07/11/2008 09:08:34
November 5, 2008
View 4b149360ad

- fix compilation for solaris also for presence_xml and presence_dialoginfo - Thanks to Muhammad Akl for access to a debugging machine and the testing

Henning Westerholt authored on 05/11/2008 12:53:02
View 610991eb96

- fix problem in call-id parsing (related to carrierroute)

Henning Westerholt authored on 05/11/2008 10:27:42
View 5e09e1a031

Fixed issues caused by partly corrupted Record-Route/Route header in BYE.

Di-Shi Sun authored on 05/11/2008 08:00:54
November 4, 2008
View 27d2300a46

- 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