December 9, 2007
View e922039020

- fix for script numeric compares on 64 bit big endian systems

Andrei Pelinescu-Onciul authored on 09/12/2007 13:15:24
September 11, 2007
View 12663fc64d

- warning fix

Michal Matyska authored on 11/09/2007 15:20:02
September 10, 2007
View a1f3d3fe75

Allow to compare the snd_ip and to_ip with the AVP value. (Was allowed for ports, not ips.) For performance purist: I did not measure which code is faster; whether finding the AVP in the list or using DNS name resolution. Using AVP (track and) domain prefix makes the search faster, when AVP is in fallback domains, e.g. for global AVP.

Michal Matyska authored on 10/09/2007 19:29:44
July 27, 2007
View 0be2fc378f

- revert partly fix which broke test of @select in route script. - leave the correction for seg. fault on @select match against regexp.

Michal Matyska authored on 27/07/2007 14:21:04
June 14, 2007
View 20fded1fe8

- fix: run_actions() & friends used some static variables to save some internal state (run_flags, last_ret a.s.o). Problems would appear when different routes (e.g. main route and an onsend route) would execute in the same process (e.g. an onsend route return would exit also the main route). Now run_actions(), do_action() and eval_expr() take an extra "context" parameter (which must be initialized before use).

Andrei Pelinescu-Onciul authored on 14/06/2007 23:12:26
April 19, 2007
View ec0d25f54d

fixes SER-263

Michal Matyska authored on 19/04/2007 08:56:13
December 13, 2006
View e8138515fe

- hash cleanup/cosmetics: - use the "raw" hash functions from hashes.h as base for the other hashes (e.g. tm hash). This doesn't change the hash functions, just removes some extra copies. - split old hashes.h into hashes.h (more generic stuff) and str_hash.h - new_hash() is safer now (nobody uses it, but just in case...)

Andrei Pelinescu-Onciul authored on 13/12/2006 22:50:46
June 12, 2006
View 270757bb54

Fix test if select result is not empty for select function returning empty string with result=0, res.len=0.

Michal Matyska authored on 12/06/2006 21:14:24
June 7, 2006
View 80d2811c92

- numeric avp compared with string value fix: the value will be converted to int on-the-fly if possible (unfortunately we don't have enough information to do it on fixup).

Andrei Pelinescu-Onciul authored on 07/06/2006 21:55:25
May 30, 2006
View bc5be3498c

- added route_lookup (like route_get(), but doesn't create a new route if not found) -- patch from Miklos Tirpak <>

Andrei Pelinescu-Onciul authored on 30/05/2006 19:20:51
March 18, 2006
View 49e2c7c511

Comparing string results of @select or $avp expression with numeric value. Test like "123" > 100 is not allowed by cfg.y rules, but $test > 10 is.

Michal Matyska authored on 18/03/2006 23:40:15
February 15, 2006
View fd6d4dc97a

AVP track searching resolution ------------------------------ new AVP prefixes registered fu - FROM USER and tu - TO USER $avp and $f.avp now searches in from track $t.avp searches in to track

Michal Matyska authored on 15/02/2006 17:29:18
February 7, 2006
View 93349b4eca

- named routes support in core and tm (t_on_*). e.g.: route{ route(bar); t_on_reply("reply_route"); route(1); # == route("1") ... } route[foo]{ ... } route["bar"]{ ... } route[1]{ ... } onreply_route[reply_route]{ ... }

Andrei Pelinescu-Onciul authored on 07/02/2006 01:14:57
January 30, 2006
View d2f9352e81

- eval_expr too many expressions bug (reported by Michal), fixed by removing the expr. recursions checks (they were a parser debugging remainder, you can't have expr. loops without having actions loops and the actions loops are already handled). Closes SER-91.

Andrei Pelinescu-Onciul authored on 30/01/2006 13:09:40
January 27, 2006
View 186908e8f6

- fixed comp_avp returning values != 0 , 1 or -1 (error)

Andrei Pelinescu-Onciul authored on 27/01/2006 18:33:11