sip-router
8 years agopkg: name fixes and cleanups, Patch from Claudio Furrer, elcaio at gmail dot com
Henning Westerholt [Mon, 19 Sep 2011 11:47:22 +0000 (13:47 +0200)]
pkg: name fixes and cleanups, Patch from Claudio Furrer, elcaio at gmail dot com

8 years agoparser: switch pkg_free(tob) to free_to(tob) to free To header structure
Daniel-Constantin Mierla [Mon, 19 Sep 2011 11:29:44 +0000 (13:29 +0200)]
parser: switch pkg_free(tob) to free_to(tob) to free To header structure

- this takes care of freeing parameters in case of paring error of
  To-like headers
- patch by Walter Doekes, closes FS#155

8 years agocfg framework: fix the freeing of the replaced strings
Miklos Tirpak [Thu, 15 Sep 2011 15:05:36 +0000 (17:05 +0200)]
cfg framework: fix the freeing of the replaced strings

The replaced strings and the memory block of the replaced
group instances cannot be freed when the old configuration
block is freed. There might be a child process using an even older
configuration that references to the same string value or to the same
group instance that is beeing replaced. Hence, as long as there
is any child process with an older configuration, the replaced
strings cannot be freed.

The fix is to link the replaced strings to the per-child process
callback list instead of the old cfg block. When the last child process
updates its configuration, it also frees the old string values.

8 years agoFix typo in acc_cdr
Sven Knoblich [Thu, 15 Sep 2011 08:22:07 +0000 (10:22 +0200)]
Fix typo in acc_cdr

- rename dot_adress into dot_address

8 years agotm: proper data type for xavp in tm_xdata_t struct
Daniel-Constantin Mierla [Wed, 14 Sep 2011 18:59:54 +0000 (20:59 +0200)]
tm: proper data type for xavp in tm_xdata_t struct

- reported by Juha Heinanen
- no real effect on branch 3.1 as xavps not enabled, but anyhow safer

8 years agotm: backup X/AVP lists when building new T in t_uac()
Daniel-Constantin Mierla [Wed, 14 Sep 2011 16:39:37 +0000 (18:39 +0200)]
tm: backup X/AVP lists when building new T in t_uac()

- build_cell() is setting core X/AVP lists to new T structure, losing
  the lists that existed in case another T was set already. This is in
  t_uac() which is used for local generated requests, such as
  uac_req_send(), presence notifications, msilo...
- a revious patch was backing up only X/AVPs lists for
  execution of event_route[tm:local-request]
- reported by Vitaliy Aleksandrov

8 years agoFix bug which causes an error during the convertion from string to timeb
Sven Knoblich [Wed, 14 Sep 2011 12:43:32 +0000 (14:43 +0200)]
Fix bug which causes an error during the convertion from string to timeb

- add buffer in time_from_string. copy given string into buffer and finish it with '\0' to use c-string functions correctly.

8 years agorr(k): execute callbacks only for local route uri
Daniel-Constantin Mierla [Wed, 14 Sep 2011 09:19:56 +0000 (11:19 +0200)]
rr(k): execute callbacks only for local route uri

- parameters callback are executed only if there is a list with
  parameters in Route URI and for loose routing the URI has to match
  myself condition
- should fix bogus value of Route URI params in callback function when
  URI of top Route is not myself
- reported by Andreas Granig

8 years agomodules/lcr: added PROTO_OTHER case to which in order to get rid of warning
Juha Heinanen [Wed, 14 Sep 2011 07:16:01 +0000 (10:16 +0300)]
modules/lcr: added PROTO_OTHER case to which in order to get rid of warning

8 years agomodules/utils: updated xcap table version to match schema
Juha Heinanen [Wed, 14 Sep 2011 06:49:30 +0000 (09:49 +0300)]
modules/utils: updated xcap table version to match schema

8 years ago[core] Bug fixed in Via parser when \r or \n after Via transport.
Iñaki Baz Castillo [Tue, 13 Sep 2011 22:03:24 +0000 (00:03 +0200)]
[core] Bug fixed in Via parser when \r or \n after Via transport.

8 years agocore: Via parser now allows any token as Via transport field.
Iñaki Baz Castillo [Tue, 13 Sep 2011 21:59:25 +0000 (23:59 +0200)]
core: Via parser now allows any token as Via transport field.

8 years agoxcap_server: check xml document validity for db interaction
Daniel-Constantin Mierla [Tue, 13 Sep 2011 16:56:54 +0000 (18:56 +0200)]
xcap_server: check xml document validity for db interaction

- check if xcap doc is xml valid before inserting in db as well as when
  retrieving from db
- better safety check for retrieval of etag value from database record
- reported and intial patch by Laura Testi

8 years agokamctl: added mtrees tables for dbtext and berkeley db
Daniel-Constantin Mierla [Tue, 13 Sep 2011 09:54:28 +0000 (11:54 +0200)]
kamctl: added mtrees tables for dbtext and berkeley db

8 years agoutils: removed invalid lib path from Makefile
Daniel-Constantin Mierla [Tue, 13 Sep 2011 09:53:44 +0000 (11:53 +0200)]
utils: removed invalid lib path from Makefile

8 years agoutils: is_int() function moved to pv module
Daniel-Constantin Mierla [Tue, 13 Sep 2011 09:52:57 +0000 (11:52 +0200)]
utils: is_int() function moved to pv module

8 years agopv: moved in is_int() from utils module
Daniel-Constantin Mierla [Tue, 13 Sep 2011 09:48:49 +0000 (11:48 +0200)]
pv: moved in is_int() from utils module

- function added by Juha Heinanen in utils module but works on
  pseudo-variables, thus is here is a more appropriate place

8 years agotextops(k): cleanup of route types for exported functions
Daniel-Constantin Mierla [Tue, 13 Sep 2011 09:02:21 +0000 (11:02 +0200)]
textops(k): cleanup of route types for exported functions

- convert to ANY_ROUTE the long list of all route types
- removed non-existing anymore route types

8 years agodoxygen: fix a bunch of errors in parser, db_mysql and xmlrpc modules
Henning Westerholt [Mon, 12 Sep 2011 19:29:26 +0000 (21:29 +0200)]
doxygen: fix a bunch of errors in parser, db_mysql and xmlrpc modules

8 years agomodules/auth: mark credentials after verifying realm, not only after authentication...
Alex Hermann [Mon, 12 Sep 2011 09:25:26 +0000 (11:25 +0200)]
modules/auth: mark credentials after verifying realm, not only after authentication succeeded

Make $Au backwards compatible with 1.x. In 1.x $Au would be set to the credentials
username@domain for matching realm, not only for successfull authentication.

8 years agolib/srdb1: eleminate string copy in db_val2pv_spec()
Alex Hermann [Tue, 6 Sep 2011 08:18:10 +0000 (10:18 +0200)]
lib/srdb1: eleminate string copy in db_val2pv_spec()

After fixing a memory leak, i now realize pv_set_spec_value() always makes
a string copy too, so this one can be removed safely.

8 years agomodules_k/nathelper: fix add_contact_alias() for contacts without angle brackets <>
Alex Hermann [Tue, 6 Sep 2011 12:44:25 +0000 (14:44 +0200)]
modules_k/nathelper: fix add_contact_alias() for contacts without angle brackets <>

When adding the brackets and the alias, the function suffered from the
infamous problem that the same part of a message can only be changed once.
Inserting 3 lumps created an offset problem resulting in the alias
parameter being added outside the brackets. This patch converts it to
adding just 2 non-overlapping lumps by combining the closing > with the
alias parameter.

8 years agodispatcher(k): typo in ds_next_dst() dstid avp handling
Daniel-Constantin Mierla [Mon, 12 Sep 2011 10:52:33 +0000 (12:52 +0200)]
dispatcher(k): typo in ds_next_dst() dstid avp handling

- fixes wrong condition in finding dstid avp
- patch by Bogdan Pintea

8 years agomodules_k/dialog: Do not log an ERROR level message when
Timo Reimann [Mon, 12 Sep 2011 09:20:55 +0000 (11:20 +0200)]
modules_k/dialog: Do not log an ERROR level message when
attempting to delete a non-existing dialog variable, thereby
bringing dialog variable behavior more in line with AVP behavior.

Credits to Anca Vamanu (anca.vamanu@1and1.ro).

8 years agomodules_k/dialog: Remove unused parameter "new" from prototype and
Timo Reimann [Fri, 9 Sep 2011 11:34:10 +0000 (13:34 +0200)]
modules_k/dialog: Remove unused parameter "new" from prototype and
calls to set_dlg_variable_unsafe().

Credits to Anca Vamanu (anca.vamanu@1und1.ro).

8 years agoMakefile: version set to 3.2.0-pre2
Daniel-Constantin Mierla [Fri, 9 Sep 2011 08:25:31 +0000 (10:25 +0200)]
Makefile: version set to 3.2.0-pre2

8 years agoxcap_client: use curl-config to get include and lib compile flags
Daniel-Constantin Mierla [Fri, 9 Sep 2011 08:25:02 +0000 (10:25 +0200)]
xcap_client: use curl-config to get include and lib compile flags

8 years agoxcap_server: use xml2-config to get include and libs compile flags
Daniel-Constantin Mierla [Fri, 9 Sep 2011 08:08:33 +0000 (10:08 +0200)]
xcap_server: use xml2-config to get include and libs compile flags

8 years agokamctl: regenerated sql scripts from latest db schema
Daniel-Constantin Mierla [Thu, 8 Sep 2011 14:05:42 +0000 (16:05 +0200)]
kamctl: regenerated sql scripts from latest db schema

8 years agoxcap_server: ability to insert new nodes in xcap docs
Daniel-Constantin Mierla [Thu, 8 Sep 2011 14:02:49 +0000 (16:02 +0200)]
xcap_server: ability to insert new nodes in xcap docs

- xpath cannot do it alone when the selected node is missing
- reported by Laura Testi - credits for testing and further patching

8 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Daniel-Constantin Mierla [Thu, 8 Sep 2011 13:58:37 +0000 (15:58 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  lib/srdb1/schema/pr_xcap.xml: made doc_uri size match XCAP_MAX_URI_SIZE

8 years agolib/srdb1/schema/pr_xcap.xml: made doc_uri size match XCAP_MAX_URI_SIZE
Juha Heinanen [Thu, 8 Sep 2011 06:36:34 +0000 (09:36 +0300)]
lib/srdb1/schema/pr_xcap.xml: made doc_uri size match XCAP_MAX_URI_SIZE

8 years agoxcap_server: remove invalid lib dir from Makefile
Daniel-Constantin Mierla [Wed, 7 Sep 2011 19:57:03 +0000 (21:57 +0200)]
xcap_server: remove invalid lib dir from Makefile

8 years agodispatcher(k): fix segfault if dispatcher cannot resolve hostnames
Daniel-Constantin Mierla [Wed, 7 Sep 2011 11:23:07 +0000 (13:23 +0200)]
dispatcher(k): fix segfault if dispatcher cannot resolve hostnames

- applies if the dispatcher module cannot resolve hostnames during
  startup (and tries to shutdown)
- patch by Hugh Waite

8 years agoapp_lua: use pv spec cache
Daniel-Constantin Mierla [Tue, 6 Sep 2011 19:47:45 +0000 (21:47 +0200)]
app_lua: use pv spec cache

- avoid memory leaks when working with PVs that have dynamic name

8 years agocore: caching support for pv spec parsing
Daniel-Constantin Mierla [Tue, 6 Sep 2011 19:44:12 +0000 (21:44 +0200)]
core: caching support for pv spec parsing

- can be used to reduce pkg memory usage by PVs
- solves memory leak of using PVs with dynamic names from embedded
  languages

8 years agodispatcher: just some 80 char long line alignaments
Daniel-Constantin Mierla [Tue, 6 Sep 2011 12:14:01 +0000 (14:14 +0200)]
dispatcher: just some 80 char long line alignaments

8 years agotm: update T msg flags after {branch/failure}_route
Daniel-Constantin Mierla [Tue, 6 Sep 2011 12:12:00 +0000 (14:12 +0200)]
tm: update T msg flags after {branch/failure}_route

- after execution of branch_route or failure_route, set the message
  flags of the temporary request back to transaction request
- 1.x behaviour
- reported and partial patch by Alex Hermann

8 years agopgk: add symlink to kamailio directory for new gentoo ebuild
Henning Westerholt [Mon, 5 Sep 2011 19:50:23 +0000 (21:50 +0200)]
pgk: add symlink to kamailio directory for new gentoo ebuild

8 years agopkg: also remove Makefile.defs.diff from calling files
Henning Westerholt [Mon, 5 Sep 2011 19:46:12 +0000 (21:46 +0200)]
pkg: also remove Makefile.defs.diff from calling files

8 years agopkg: remove Makefile.defs.diff file, which set special daemon name - use the default
Henning Westerholt [Mon, 5 Sep 2011 19:42:03 +0000 (21:42 +0200)]
pkg: remove Makefile.defs.diff file, which set special daemon name - use the default

8 years agopkg: move gentoo ebuild to ser directory, remove obselete 0.8.X ebuild
Henning Westerholt [Mon, 5 Sep 2011 19:33:21 +0000 (21:33 +0200)]
pkg: move gentoo ebuild to ser directory, remove obselete 0.8.X ebuild

8 years agopkg: remove obselete gentoo ebuild, add new generic ebuild from Claudio Furrer (FS...
Henning Westerholt [Mon, 5 Sep 2011 16:17:40 +0000 (18:17 +0200)]
pkg: remove obselete gentoo ebuild, add new generic ebuild from Claudio Furrer (FS#134)

8 years agopkg: fix wrong package name, closes FS#148, reported from Andrew Pogrebennyk
Henning Westerholt [Mon, 5 Sep 2011 16:10:39 +0000 (18:10 +0200)]
pkg: fix wrong package name, closes FS#148, reported from Andrew Pogrebennyk

8 years agolib/srdb1: remove comments on db_val2pv_spec() that resulted from merge error
Alex Hermann [Mon, 5 Sep 2011 15:24:47 +0000 (17:24 +0200)]
lib/srdb1: remove comments on db_val2pv_spec() that resulted from merge error

8 years agomodules_k/sqlops: fix memory leak with string memory in sql_xquery()
Alex Hermann [Mon, 5 Sep 2011 15:08:18 +0000 (17:08 +0200)]
modules_k/sqlops: fix memory leak with string memory in sql_xquery()

8 years agolib/srdb1: Fix memory leak with string memory in db_val2pv_spec()
Alex Hermann [Mon, 5 Sep 2011 14:41:55 +0000 (16:41 +0200)]
lib/srdb1: Fix memory leak with string memory in db_val2pv_spec()

8 years agosrdb1: fix for undeclared INADDR_LOOPBACK on darwin os
Daniel-Constantin Mierla [Mon, 5 Sep 2011 12:14:54 +0000 (14:14 +0200)]
srdb1: fix for undeclared INADDR_LOOPBACK on darwin os

8 years agocore: fix typo in parser.
Sven Knoblich [Mon, 5 Sep 2011 11:35:50 +0000 (13:35 +0200)]
core: fix typo in parser.

- use correct function-name in log message of parse_param.c:parse_contact_class.
  (fixes flyspray-issue 147)

8 years agosrdb1: fix compile warning related to strptime on linux
Daniel-Constantin Mierla [Mon, 5 Sep 2011 11:44:06 +0000 (13:44 +0200)]
srdb1: fix compile warning related to strptime on linux

8 years agorr: remove out commented is_2rr function, not compiled since more than two years
Henning Westerholt [Sun, 4 Sep 2011 20:14:09 +0000 (22:14 +0200)]
rr: remove out commented is_2rr function, not compiled since more than two years

8 years agomodules: several small doxygen bug fixes
Henning Westerholt [Sun, 4 Sep 2011 20:13:23 +0000 (22:13 +0200)]
modules: several small doxygen bug fixes

8 years agosctp: update the cfg before handling notifications
Andrei Pelinescu-Onciul [Fri, 2 Sep 2011 08:22:35 +0000 (10:22 +0200)]
sctp: update the cfg before handling notifications

Update the local config immediately after successfully reading
a message (before processing notifications, since some of the
notifications processing makes use of cfg values).

8 years agomodules_k/sqlops: small bug fix to sqlops_get_value
pd [Thu, 1 Sep 2011 09:26:05 +0000 (10:26 +0100)]
modules_k/sqlops: small bug fix to sqlops_get_value

8 years ago- fixed throttling (do not override values when adjust_timeout())
Tomas Mandys [Wed, 31 Aug 2011 20:02:45 +0000 (22:02 +0200)]
- fixed throttling (do not override values when adjust_timeout())

8 years agoapp_lua: fixed copy-and-paste error in loadin registrar API
Daniel-Constantin Mierla [Wed, 31 Aug 2011 21:49:14 +0000 (23:49 +0200)]
app_lua: fixed copy-and-paste error in loadin registrar API

- patch by Hugh Waite

8 years agousrloc(k): request a db connection per child
Daniel-Constantin Mierla [Wed, 31 Aug 2011 07:38:28 +0000 (09:38 +0200)]
usrloc(k): request a db connection per child

- avoid sharing the connection between processes
- reported by MÉSZÁROS Mihály

8 years agomodules_k/dialog: Show error message and return from function
Timo Reimann [Mon, 29 Aug 2011 16:09:51 +0000 (18:09 +0200)]
modules_k/dialog: Show error message and return from function
prematurely if trying to remove a non-existing dialog variable.

- Fixes a segfaulting bug.

8 years agomodules/mtree: removed unused variable.
Juha Heinanen [Sun, 28 Aug 2011 12:36:56 +0000 (15:36 +0300)]
modules/mtree: removed unused variable.

8 years agomodules_k/dialog: Remove old parameter "del" from interface
Timo Reimann [Sat, 27 Aug 2011 00:41:51 +0000 (02:41 +0200)]
modules_k/dialog: Remove old parameter "del" from interface
description.

8 years agomodules_k/dialog: Improve error handling during dialog creation.
Timo Reimann [Fri, 26 Aug 2011 23:32:49 +0000 (01:32 +0200)]
modules_k/dialog: Improve error handling during dialog creation.

- Set current dialog only after all other setup work succeeded.
  (Eliminates call to profile_cleanup() and guarantees that dialog
  profiling does not yield to segfault if dialog creation fails
  for certain reasons.)
- During error handling, refrain from decrementing the reference
  counter for dialog linking if this is a spiraled request
  (because positive spiral detection skips the linkage code path).

8 years agomodules_k/dialog: Simplify and refactor parts of reference counter
Timo Reimann [Thu, 25 Aug 2011 13:17:48 +0000 (15:17 +0200)]
modules_k/dialog: Simplify and refactor parts of reference counter
handling.

- Remove special handling for dialogs in the "deleted" state to
  allow accessing such dialogs (e.g., from the configuration
  script).
  Besides making the code easier to understand, this also fixes a
  bug where the reference counter would be decremented after
  detecting a spiral (dlg_handlers.c) even though get_dlg() does
  not increment it for "deleted" dialogs.
- Adapt interfaces for lookup_dlg() and get_dlg() accordingly,
  i.e., remove "del" parameter and update in-code documentation.
- Replace direct increments on a dialog structure's ref variable
  by calls to ref_dlg_unsafe().
- Move {un}ref_dlg_unsafe() definitions towards the head of the
  file to make declaration available earlier.
- Improve store_dlg_in_tm():
    * Return and evaluate result code.
    * Replace second register call by passing unreference_dialog()
      as release function to the first register call.
- Document various places in the code dealing with reference
  counting.

8 years agomodule: sipcapture: Changed SQL schema for partitioning table.
Alexandr Dubovikov [Fri, 26 Aug 2011 15:18:21 +0000 (17:18 +0200)]
module: sipcapture: Changed SQL schema for partitioning table.

     Bug fix: mySQL doesn't support DAYOFWEEK rushing. Changed to
     RANGE condition: TO_DAYS and UNIX_TIMESTAMP. The last one, only for mySQL => 5.1.58
     The two crontab scripts are in example directory.

8 years agocore:mem: short status dumping
Daniel-Constantin Mierla [Fri, 26 Aug 2011 07:32:51 +0000 (09:32 +0200)]
core:mem: short status dumping

- patch by Andrade Ricardo, on Aug 1, 2011

8 years agomodules_k/dialog: Provide in-code documentation for tricky part in
Timo Reimann [Thu, 25 Aug 2011 11:19:13 +0000 (13:19 +0200)]
modules_k/dialog: Provide in-code documentation for tricky part in
dlg_new_dialog().

8 years agomodules_k/dialog: Add reference count to list of items returned
Timo Reimann [Tue, 23 Aug 2011 13:36:45 +0000 (15:36 +0200)]
modules_k/dialog: Add reference count to list of items returned
via RPC.

8 years agoMakefile: version set to pre-release
Daniel-Constantin Mierla [Tue, 23 Aug 2011 12:15:38 +0000 (14:15 +0200)]
Makefile: version set to pre-release

- development cycle for 3.2.0 ended

8 years agomodules_k/auth_db: Fix error in docs.
Timo Reimann [Tue, 23 Aug 2011 09:05:59 +0000 (11:05 +0200)]
modules_k/auth_db: Fix error in docs.

8 years agojson, jsonrpc-c: use pkg-config to locate the libs
Daniel-Constantin Mierla [Mon, 22 Aug 2011 22:27:33 +0000 (00:27 +0200)]
json, jsonrpc-c: use pkg-config to locate the libs

- if available, use pkg-config tool to locate json and event libs

8 years agoapp_lua: fixed assignments for Makefile vars
Daniel-Constantin Mierla [Mon, 22 Aug 2011 22:27:10 +0000 (00:27 +0200)]
app_lua: fixed assignments for Makefile vars

8 years agoMakefile: devel version increased
Daniel-Constantin Mierla [Mon, 22 Aug 2011 21:56:01 +0000 (23:56 +0200)]
Makefile: devel version increased

8 years agoMakefile: json modules added to excluded list
Daniel-Constantin Mierla [Mon, 22 Aug 2011 21:55:14 +0000 (23:55 +0200)]
Makefile: json modules added to excluded list

- they depend on json-c library

8 years agosipcapture: fixed compilation on mac os x
Daniel-Constantin Mierla [Mon, 22 Aug 2011 21:45:44 +0000 (23:45 +0200)]
sipcapture: fixed compilation on mac os x

- added missing include files
- wrapped label error around linux os defines since it is used only
  there and throws warning on other systems

8 years agosiptrace: wrap SCTP values within USE_SCTP
Daniel-Constantin Mierla [Mon, 22 Aug 2011 21:36:53 +0000 (23:36 +0200)]
siptrace: wrap SCTP values within USE_SCTP

- make the module compile on no SCTP support OS
- fixed some compile warnings

8 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Matthew Williams [Mon, 22 Aug 2011 21:11:39 +0000 (16:11 -0500)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

8 years agoAdded json module, providing a simple json parser.
Matthew Williams [Mon, 22 Aug 2011 21:10:29 +0000 (16:10 -0500)]
Added json module, providing a simple json parser.

8 years agoAdded jsonrpc-c module, providing a client interface to json-rpc services
Matthew Williams [Mon, 22 Aug 2011 21:09:01 +0000 (16:09 -0500)]
Added jsonrpc-c module, providing a client interface to json-rpc services
over netstrings.

8 years agotm: fix retransmission disabled case
Andrei Pelinescu-Onciul [Mon, 22 Aug 2011 18:02:02 +0000 (20:02 +0200)]
tm: fix retransmission disabled case

Commit a92001 broke the magic value (-1) used when retransmissions
were supposed to be disabled.

Reported-by: Peter Dunkley peter.dunkley crocodile-rcs com
8 years agosiptrace: added support for HEP encapuslation. Disabled DB's check in the duplicate...
Alexandr Dubovikov [Mon, 22 Aug 2011 11:28:56 +0000 (13:28 +0200)]
siptrace: added support for HEP encapuslation. Disabled DB's check in the duplicate mode.

8 years agosipcapture: sip capture module. Homer Project. The module has support for: 1) HEP...
Alexandr Dubovikov [Mon, 22 Aug 2011 11:23:05 +0000 (13:23 +0200)]
sipcapture: sip capture module. Homer Project. The module has support for: 1) HEP encapsulation 2) IPIP encapsulation 3) Mirroring port.

8 years agocore: new raw_ipip flag, indicate to cut off the extra IP header in IPIP encapsulation.
Alexandr Dubovikov [Mon, 22 Aug 2011 11:11:01 +0000 (13:11 +0200)]
core: new raw_ipip flag, indicate to cut off the extra IP header in IPIP encapsulation.

8 years agoauth_radius(s): use the update pre_auth
Andrei Pelinescu-Onciul [Mon, 22 Aug 2011 09:45:38 +0000 (11:45 +0200)]
auth_radius(s): use the update pre_auth

Handle the new pre_auth returns.

8 years agoMerge remote branch 'remotes/origin/tma0/iptrtpproxy-v2'
Andrei Pelinescu-Onciul [Mon, 22 Aug 2011 09:18:49 +0000 (11:18 +0200)]
Merge remote branch 'remotes/origin/tma0/iptrtpproxy-v2'

* remotes/origin/tma0/iptrtpproxy-v2:
  - fix of recent commit
  - added xtablesmoduledir macro
  - do not apply NAT contact fix of UAS when not usrloc forwarded
  - removed revision history
  oob script fixes
  Log missed calls fix
  Fix for iptables 1.4.8
  - added ser module for new version of iptrtpproxy-v2 - modified oob script to simplify patching with RTPPROXY stuff - rtpproxy control rewritten in script - re-INVITE won't proactively create new RTP session, it's not fully RFC3264 compliant but enable working with non-compliant clients (phones)
  - taken changes from modules_k (missing pre_auth enums handled in switch)

8 years agomodules_k/presence_xml: Adding file missed out on previous commit
pd [Sat, 20 Aug 2011 12:01:42 +0000 (13:01 +0100)]
modules_k/presence_xml: Adding file missed out on previous commit

8 years agosrdb1: fixed compilation on Mac OS X
Daniel-Constantin Mierla [Sat, 20 Aug 2011 11:37:27 +0000 (13:37 +0200)]
srdb1: fixed compilation on Mac OS X

- pvar.h included before changing OS compile flags for time functions

8 years agolib/srdb1: fix typos in db_val2pv_spec comments
Alex Hermann [Sat, 20 Aug 2011 08:30:07 +0000 (10:30 +0200)]
lib/srdb1: fix typos in db_val2pv_spec comments

8 years agomodules_k/auth_db: allow arbitrary PV's in load_credentials
Alex Hermann [Fri, 19 Aug 2011 15:53:23 +0000 (17:53 +0200)]
modules_k/auth_db: allow arbitrary PV's in load_credentials

Instead of just avp's, now every writable PV can be used.

8 years agomodules_k/sqlops: add sql_pvquery(). Query function that stores results in arbitrary...
Alex Hermann [Fri, 19 Aug 2011 11:33:32 +0000 (13:33 +0200)]
modules_k/sqlops: add sql_pvquery(). Query function that stores results in arbitrary PV's

8 years agolib/srdb1: introduce helper to convert db_val to pv_spec
Alex Hermann [Sat, 20 Aug 2011 07:48:00 +0000 (09:48 +0200)]
lib/srdb1: introduce helper to convert db_val to pv_spec

8 years agomodules_k/sqlops: fix typo in sql_parse_param()
Alex Hermann [Fri, 19 Aug 2011 11:10:12 +0000 (13:10 +0200)]
modules_k/sqlops: fix typo in sql_parse_param()

8 years agocore/pvapi: more verbose error logging in parse_pvname_list()
Alex Hermann [Fri, 19 Aug 2011 11:08:54 +0000 (13:08 +0200)]
core/pvapi: more verbose error logging in parse_pvname_list()

8 years agocore/pvapi: allow newline in parse_pvname_list()
Alex Hermann [Fri, 19 Aug 2011 11:07:47 +0000 (13:07 +0200)]
core/pvapi: allow newline in parse_pvname_list()

8 years agocore: add is_in_str macro to ut.h and remove all local definitions
Alex Hermann [Fri, 19 Aug 2011 09:40:57 +0000 (11:40 +0200)]
core: add is_in_str macro to ut.h and remove all local definitions

8 years agosdpops: fixes in some debug messages
Daniel-Constantin Mierla [Sat, 20 Aug 2011 07:23:24 +0000 (09:23 +0200)]
sdpops: fixes in some debug messages

8 years agosdpops: documented the functions for keeping only a set of codecs
Daniel-Constantin Mierla [Sat, 20 Aug 2011 06:33:38 +0000 (08:33 +0200)]
sdpops: documented the functions for keeping only a set of codecs

8 years agosdpops: make delim char a parameter for function to search codec
Daniel-Constantin Mierla [Fri, 19 Aug 2011 12:46:48 +0000 (14:46 +0200)]
sdpops: make delim char a parameter for function to search codec

8 years agosdpops: added functions to keep in SDP only a set of codecs
Daniel-Constantin Mierla [Fri, 19 Aug 2011 12:41:43 +0000 (14:41 +0200)]
sdpops: added functions to keep in SDP only a set of codecs

- sdp_keep_codecs_by_id(idlist) - keep in SDP only the codecs that are
  also in idlist, parameter being a list of codec integer IDs
- sdp_keep_codecs_by_name(list) - keep in SDP only the codecs that are
  also in list, parameter being a list of codec names

8 years agolib/srdb1/schema/mtrees.xml: fixed c&p error reported by Daniel
Juha Heinanen [Sat, 20 Aug 2011 06:48:28 +0000 (09:48 +0300)]
lib/srdb1/schema/mtrees.xml: fixed c&p error reported by Daniel

8 years agolib/srdb1/schema: added schema for mtrees table.
Juha Heinanen [Sat, 20 Aug 2011 05:21:39 +0000 (08:21 +0300)]
lib/srdb1/schema: added schema for mtrees table.

8 years agomodules/app_lua, modules_k/presence_xml: Added support for pres_check_basic() and...
pd [Fri, 19 Aug 2011 14:30:26 +0000 (15:30 +0100)]
modules/app_lua, modules_k/presence_xml: Added support for pres_check_basic() and pres_check_available() to app_lua