sip-router
8 years agousrloc(k): better safety check for null record access
Daniel-Constantin Mierla [Wed, 13 Jun 2012 15:29:51 +0000 (17:29 +0200)]
usrloc(k): better safety check for null record access

8 years agousrloc(k): safety check for first record in udomain slot
Daniel-Constantin Mierla [Wed, 13 Jun 2012 14:33:17 +0000 (16:33 +0200)]
usrloc(k): safety check for first record in udomain slot

- reported by David Kovarik, FS#234

8 years agoMakefile: Add db_cluster
Jon Bonilla [Wed, 13 Jun 2012 13:38:20 +0000 (15:38 +0200)]
Makefile: Add db_cluster

Added to standard group as it has no dependencies

8 years agomodules_k/presence_[dialoginfo|mwi|reginfo]: fixed test of wrong variable
Juha Heinanen [Wed, 13 Jun 2012 13:25:12 +0000 (16:25 +0300)]
modules_k/presence_[dialoginfo|mwi|reginfo]: fixed test of wrong variable

8 years agomodules_k/usrloc: Only run timer when timer_interval > 0
Peter Dunkley [Wed, 13 Jun 2012 10:47:07 +0000 (11:47 +0100)]
modules_k/usrloc: Only run timer when timer_interval > 0

- This is useful on DB only multi-server systems when the database is
  cleaned up outside of Kamailio.
- This is a re-instatement of something that worked before the
  addition of GRUU.

8 years agodrouting: reset the content of routing tree if root pointer is not freed
Daniel-Constantin Mierla [Wed, 13 Jun 2012 09:51:57 +0000 (11:51 +0200)]
drouting: reset the content of routing tree if root pointer is not freed

- reported by Yufei Tao

8 years agopkg/deb Update debian version to 3.4.0~dev0
Jon Bonilla [Wed, 13 Jun 2012 01:16:37 +0000 (03:16 +0200)]
pkg/deb Update debian version to 3.4.0~dev0

8 years agomodules_k/registrar: Fixed merge error in api.c
Peter Dunkley [Tue, 12 Jun 2012 13:24:48 +0000 (14:24 +0100)]
modules_k/registrar: Fixed merge error in api.c

- Issue found and fixed by Hugh Waite @ Crocodile RCS Ltd

8 years agomodules/ipops: Added new exported function is_in_subnet()
Peter Dunkley [Tue, 12 Jun 2012 01:25:24 +0000 (02:25 +0100)]
modules/ipops: Added new exported function is_in_subnet()

- Feature added by Hugh Waite @ Crocodile RCS Ltd

8 years agomodules/app_lua: Added registrar:save_uri support
Peter Dunkley [Tue, 12 Jun 2012 01:10:30 +0000 (02:10 +0100)]
modules/app_lua: Added registrar:save_uri support

- Feature by Hugh Waite @ Crocodile RCS Ltd

8 years agomodules_k/registrar: Exported save_uri
Peter Dunkley [Tue, 12 Jun 2012 01:07:42 +0000 (02:07 +0100)]
modules_k/registrar: Exported save_uri

- Feature added by Hugh Waite @ Crocodile RCS Ltd

8 years agomodules/tls: Fixed log level and diagnostic typo
Peter Dunkley [Tue, 12 Jun 2012 01:01:10 +0000 (02:01 +0100)]
modules/tls: Fixed log level and diagnostic typo

- Fix by Hugh Waite @ Crocodile RCS Ltd

8 years agopkg/kamailio/fedora/16: Updated ver and rel in .spec to 3.4.0 and dev0
Peter Dunkley [Mon, 11 Jun 2012 21:39:10 +0000 (22:39 +0100)]
pkg/kamailio/fedora/16: Updated ver and rel in .spec to 3.4.0 and dev0

8 years agoregistrar(k): don't access realm_prefix.s if len is <=0
Daniel-Constantin Mierla [Mon, 11 Jun 2012 12:32:44 +0000 (14:32 +0200)]
registrar(k): don't access realm_prefix.s if len is <=0

- solaris is not happy accessing .s struct field if set to 0

8 years agoMakefile: version set to 3.4.0-dev0
Daniel-Constantin Mierla [Mon, 11 Jun 2012 10:32:05 +0000 (12:32 +0200)]
Makefile: version set to 3.4.0-dev0

- development for future major version 3.4.0 is open

8 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Juha Heinanen [Sat, 9 Jun 2012 14:05:49 +0000 (17:05 +0300)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

Forgot pull before push.

8 years agomodules/tls/sbufq.h: got rid of compiler warning
Juha Heinanen [Sat, 9 Jun 2012 14:04:30 +0000 (17:04 +0300)]
modules/tls/sbufq.h: got rid of compiler warning

8 years agosdpops: documented sdp_get() function
Daniel-Constantin Mierla [Fri, 8 Jun 2012 20:55:40 +0000 (22:55 +0200)]
sdpops: documented sdp_get() function

8 years agosdpops: use PV cache to lookup the parameter
Daniel-Constantin Mierla [Fri, 8 Jun 2012 20:47:21 +0000 (22:47 +0200)]
sdpops: use PV cache to lookup the parameter

- parsing PV names at runtime is a memory leak risk as PVs support
  dynamic names and allocate memory for them (applies for AVPs as well)
- don't add an avps with a string value pointing to NULL in case SDP is
  missing - potential risk of seg fault in very strict OSes as later
  there is a memcpy() to clone the value. Return -2 if there is no SDP

8 years agomqueue: use received sip msg if availabe instead of faked one
Daniel-Constantin Mierla [Fri, 8 Jun 2012 20:32:00 +0000 (22:32 +0200)]
mqueue: use received sip msg if availabe instead of faked one

- fake msg has meaningless attributes which may give different results
  to PVs than people expect when processing a real sip message

8 years agomodules/xmlrpc: got rid of unused variable
Juha Heinanen [Fri, 8 Jun 2012 20:15:46 +0000 (23:15 +0300)]
modules/xmlrpc: got rid of unused variable

8 years agomsg_translator.c: got rid of compiler warning
Juha Heinanen [Fri, 8 Jun 2012 20:10:43 +0000 (23:10 +0300)]
msg_translator.c: got rid of compiler warning

- Many more to go before 3.3 release.

8 years agopkg/deb Add lua to wheezy builds
Jon Bonilla [Fri, 8 Jun 2012 09:10:23 +0000 (11:10 +0200)]
pkg/deb Add lua to wheezy builds

Lua is back to wheezy thanks to Juha and Daniel

8 years agomodules/app_lua/Makefile: temporary fix for Debian Wheezy
Juha Heinanen [Thu, 7 Jun 2012 09:55:27 +0000 (12:55 +0300)]
modules/app_lua/Makefile:  temporary fix for Debian Wheezy

8 years agomodules_k/registrar Fixed memory leak in reg_fetch_contacts()
Anca Vamanu [Wed, 6 Jun 2012 12:49:57 +0000 (15:49 +0300)]
modules_k/registrar Fixed memory leak in reg_fetch_contacts()

8 years agosiputils: fix for is_gruu()
Daniel-Constantin Mierla [Tue, 5 Jun 2012 21:40:53 +0000 (23:40 +0200)]
siputils: fix for is_gruu()

- improper return code check resulted in wrong gruu detection when there
  was no uri parameter
- reported by Juha Heinanen, closes FS#235

8 years agomodules_k/path: Use single-quotes around received
Andreas Granig [Tue, 5 Jun 2012 12:31:04 +0000 (14:31 +0200)]
modules_k/path: Use single-quotes around received

For full RFC3261 compliance, use single-quoted "received" param
instead of double-quoted one.

8 years agoparser: Also support single-quoted URI params.
Andreas Granig [Tue, 5 Jun 2012 12:29:13 +0000 (14:29 +0200)]
parser: Also support single-quoted URI params.

RFC3261 only allows single-quoted params (no double-quoted
ones), however better support both.

8 years agopkg/kamailio/(centos|fedora): Tidied up a couple of issues in the BoxGrinder appliances
Peter Dunkley [Mon, 4 Jun 2012 14:31:36 +0000 (15:31 +0100)]
pkg/kamailio/(centos|fedora): Tidied up a couple of issues in the BoxGrinder appliances

8 years agopkg/kamailio/fedora: Updated .spec file to fix issue where some directories were...
Peter Dunkley [Mon, 4 Jun 2012 14:30:21 +0000 (15:30 +0100)]
pkg/kamailio/fedora: Updated .spec file to fix issue where some directories were left on uninstall

- Just needed a few %dir lines in the right place so that RPM knows
  to delete all of the Kamilio directories on uninstall.

8 years agoutils/kamctl: kamctl.sqlite not installed, kamctl.pgsql is installed (as kamctl.sqlit...
Peter Dunkley [Mon, 4 Jun 2012 11:58:56 +0000 (12:58 +0100)]
utils/kamctl: kamctl.sqlite not installed, kamctl.pgsql is installed (as kamctl.sqlite) instead

8 years agodispatcher(k): improved debug message
Daniel-Constantin Mierla [Mon, 4 Jun 2012 10:28:09 +0000 (12:28 +0200)]
dispatcher(k): improved debug message

- when hashing due to alg 7, print the string to be hased as well as the
  hash code for it

8 years agoapp_lua: explicit link against libm only of no pkg-config or lua-config is found
Daniel-Constantin Mierla [Mon, 4 Jun 2012 09:54:09 +0000 (11:54 +0200)]
app_lua: explicit link against libm only of no pkg-config or lua-config is found

- otherwise it appears two times in the libs linking string

8 years agoregistrar(k): moved realm prefix as first field in cfg registrar struct
Daniel-Constantin Mierla [Mon, 4 Jun 2012 09:40:11 +0000 (11:40 +0200)]
registrar(k): moved realm prefix as first field in cfg registrar struct

- added debug message to print the realm prefix

8 years agopkg/deb Remove mono build from Squeeze
Jon Bonilla [Mon, 4 Jun 2012 08:19:00 +0000 (10:19 +0200)]
pkg/deb Remove mono build from Squeeze

The module depends on Mono2.0 which is not
available in Squeeze.

8 years agopkg/kamialio/(centos|fedora): Tidied up some stuff in the Boxgrinder appliances
Peter Dunkley [Sat, 2 Jun 2012 20:40:13 +0000 (21:40 +0100)]
pkg/kamialio/(centos|fedora): Tidied up some stuff in the Boxgrinder appliances

8 years agopkg/kamailio/fedora/16: Updated .spec to require redhat-rpm-config for building
Peter Dunkley [Sat, 2 Jun 2012 19:25:38 +0000 (20:25 +0100)]
pkg/kamailio/fedora/16: Updated .spec to require redhat-rpm-config for building

- This is needed to get debuginfo RPMs to build automatically

8 years agopkg/kamailio/fedora/16: Updated Boxgrinder build appliance to install redhat-rpm...
Peter Dunkley [Sat, 2 Jun 2012 19:23:51 +0000 (20:23 +0100)]
pkg/kamailio/fedora/16: Updated Boxgrinder build appliance to install redhat-rpm-config

- This is needed to get debuginfo RPMs to build automatically

8 years agopkg/kamailio/centos/6: Updated Boxgrinder build appliance to install redhat-rpm-config
Peter Dunkley [Sat, 2 Jun 2012 19:22:50 +0000 (20:22 +0100)]
pkg/kamailio/centos/6: Updated Boxgrinder build appliance to install redhat-rpm-config

- This is needed to get debuginfo RPMs to build automatically

8 years agopkg/kamailio/fedora: Improvements to service script and .spec
Peter Dunkley [Fri, 1 Jun 2012 23:48:29 +0000 (00:48 +0100)]
pkg/kamailio/fedora: Improvements to service script and .spec

- systemd service script now deletes PID file and restarts Kamailio
  automatically if it fails due to an unhandled signal.
- Updated .spec to call "systemctl --system daemon-reload" after uninstall

8 years agopkg/kamailio/fedora: Changed directory structure a little and tweaked .spec for Fedora 17
Peter Dunkley [Fri, 1 Jun 2012 22:09:41 +0000 (23:09 +0100)]
pkg/kamailio/fedora: Changed directory structure a little and tweaked .spec for Fedora 17

8 years agomodules_k/presence: Fixed presence hard-state implementation
Peter Dunkley [Fri, 1 Jun 2012 10:50:17 +0000 (11:50 +0100)]
modules_k/presence: Fixed presence hard-state implementation

- Removed modparams added when I did this originally
- Hard-state is still "publish"ed to the presentity table (with expiry
  of -1)
- Removed exported function for updating hard-state presentity and
  added a new type to pres_refresh_watchers instead (also updated
  refreshWatchers MI command)
- Hard-state presentity now fetched using the event->get_pidf_doc()
  function instead of directly from the database
- Also fixed two bugs (from my notifier work) found during testing:
  - query_db_notify() sends NOTIFY requests immediately (instead of
    through notifier tasks)
  - segmentation fault in update_pw_dialogs_dbonlymode() when there
    are no matching dialogs

8 years agomodules_k/presence_xml: pidf-manipulation now fetched using event->get_pidf_doc()
Peter Dunkley [Fri, 1 Jun 2012 10:48:29 +0000 (11:48 +0100)]
modules_k/presence_xml: pidf-manipulation now fetched using event->get_pidf_doc()

- Part of the fix to the way presence hard-state works.
- Removed the, now unused, pidf_manipulation modparam

8 years agomodules_k/permissions: allow_trusted() doesn't work for HTTP requests
Peter Dunkley [Fri, 1 Jun 2012 10:37:21 +0000 (11:37 +0100)]
modules_k/permissions: allow_trusted() doesn't work for HTTP requests

- This is because HTTP requests don't have From: headers.
- Fixed by only checking From-URIs for SIP requests.

8 years agonathelper(k): remove maddr param in fix_nated_contact()
Daniel-Constantin Mierla [Fri, 1 Jun 2012 09:34:20 +0000 (11:34 +0200)]
nathelper(k): remove maddr param in fix_nated_contact()

- if maddr exists, it makes no sense anymore if the contact uri is
  changed by the proxy
- reported by Morten Isaksen

8 years agocore: Via parser allows generic parameters without value separated by white spaces...
Daniel-Constantin Mierla [Fri, 1 Jun 2012 07:06:33 +0000 (09:06 +0200)]
core: Via parser allows generic parameters without value separated by white spaces and semicolon

- reported by Iñaki Baz Castillo, closes FS#127

8 years agopkg/kamailio/centos/6: Replaced kamailio.spec with symbolic link to ../../fedora...
Peter Dunkley [Thu, 31 May 2012 22:11:21 +0000 (23:11 +0100)]
pkg/kamailio/centos/6: Replaced kamailio.spec with symbolic link to ../../fedora/fc16/kamailio.spec

8 years agopkg/kamailio/fedora/fc16: Updated .spec file to work for both Fedora 16 and CentOS 6
Peter Dunkley [Thu, 31 May 2012 22:10:23 +0000 (23:10 +0100)]
pkg/kamailio/fedora/fc16: Updated .spec file to work for both Fedora 16 and CentOS 6

- Also updated release number to pre3

8 years agousrloc(k): fix detection of usrloc callbacks
Daniel-Constantin Mierla [Thu, 31 May 2012 21:39:03 +0000 (23:39 +0200)]
usrloc(k): fix detection of usrloc callbacks

- proper check of ul callback types
- harmless, just a bit of performance gain, however, the code was
  mistaken

8 years agoapp_lua: don't use variable for lua version detection
Daniel-Constantin Mierla [Thu, 31 May 2012 20:22:19 +0000 (22:22 +0200)]
app_lua: don't use variable for lua version detection

- trying to see if this makes it work on debian wheezy, as the make
  command is re-exeuting in infinite loop of implicit rule

8 years agousrloc(k): option to check if contact DB UPDATE was successful
Daniel-Constantin Mierla [Thu, 31 May 2012 17:15:52 +0000 (19:15 +0200)]
usrloc(k): option to check if contact DB UPDATE was successful

- use DB API affected_rows() when available to detect if the DB UPDATE
  operation for a contact was successful, if not, do an INSERT instead
- behaviour controlled by parameter db_check_update, default is 0 (no
  check for affected rows and no insert -- backward compatible)
- closes items FS#41 and FS#226

8 years agoapp_lua: set libm dependency before internal SER_LIBS var
Daniel-Constantin Mierla [Thu, 31 May 2012 14:34:50 +0000 (16:34 +0200)]
app_lua: set libm dependency before internal SER_LIBS var

8 years agoMakefile: version set to 3.3.0-pre3
Daniel-Constantin Mierla [Thu, 31 May 2012 12:45:41 +0000 (14:45 +0200)]
Makefile: version set to 3.3.0-pre3

8 years agocore/select: fixed @via... without header index
Daniel-Constantin Mierla [Thu, 31 May 2012 12:44:19 +0000 (14:44 +0200)]
core/select: fixed @via... without header index

- reported by Iñaki Baz Castillo, fixes FS#138

8 years agopkg/deb Add Ubuntu 12.04 debian folder
Jon Bonilla [Wed, 30 May 2012 12:38:34 +0000 (14:38 +0200)]
pkg/deb Add Ubuntu 12.04 debian folder

8 years ago- improved URI while publishing user location
Carsten Bock [Wed, 30 May 2012 10:53:03 +0000 (12:53 +0200)]
- improved URI while publishing user location
- extended user-record-data in the XML
Credits go to Gnaneshwar Gatla, InTouch Health

8 years agoMakefile: Add tmrec to standard groups
Jon Bonilla [Wed, 30 May 2012 09:07:51 +0000 (11:07 +0200)]
Makefile: Add tmrec to standard groups

8 years agoplg/deb fix app_mono depends
Jon Bonilla [Wed, 30 May 2012 08:50:55 +0000 (10:50 +0200)]
plg/deb fix app_mono depends

8 years agopkg/deb Add mono module to debian packaging
Jon Bonilla [Wed, 30 May 2012 08:39:38 +0000 (10:39 +0200)]
pkg/deb Add mono module to debian packaging

8 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Juha Heinanen [Wed, 30 May 2012 08:09:34 +0000 (11:09 +0300)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

8 years agomodules/lcr: fixed bug in freeing rule_id_hash_table
Juha Heinanen [Wed, 30 May 2012 08:07:11 +0000 (11:07 +0300)]
modules/lcr: fixed bug in freeing rule_id_hash_table

- Indexing of rule_id_hash_table went too far by one.

8 years agopkd/deb Remove lua and Add redis to wheezy build
Jon Bonilla [Tue, 29 May 2012 23:44:50 +0000 (01:44 +0200)]
pkd/deb Remove lua and Add redis to wheezy build

8 years agodelete a file which was added by mistake
Klaus Darilion [Tue, 29 May 2012 18:25:36 +0000 (18:25 +0000)]
delete a file which was added by mistake

8 years agoxhttp: regenerate readme after commit c386968d40aeef9c8
Henning Westerholt [Tue, 29 May 2012 16:08:39 +0000 (18:08 +0200)]
xhttp: regenerate readme after commit c386968d40aeef9c8

8 years agoadd tcp_accept_no_cl=yes to xhttp description
Klaus Darilion [Tue, 29 May 2012 15:21:23 +0000 (15:21 +0000)]
add tcp_accept_no_cl=yes to xhttp description

8 years agoregistrar(k): check if realm prefix len is >0
Daniel-Constantin Mierla [Tue, 29 May 2012 09:11:49 +0000 (11:11 +0200)]
registrar(k): check if realm prefix len is >0

8 years agosrdb1/dbschema/sqlite: adjust binary column type to BLOB
Timo Teräs [Tue, 22 May 2012 10:58:16 +0000 (13:58 +0300)]
srdb1/dbschema/sqlite: adjust binary column type to BLOB

The BYTEA was a mistake in first place (copied from postgres xsl).

SQlite needs the type to be BLOB for proper affinity. This is also
what the db_sqlite driver expects.

8 years agosrdb1/schema: sort files used to generate versions
Timo Teräs [Tue, 22 May 2012 10:55:05 +0000 (13:55 +0300)]
srdb1/schema: sort files used to generate versions

This ensures that the versions does not change if just file
ordering in file system changes. At least on some systems the
$(wildcard) function return unsorted results.

8 years agosrdb1/dbschema: regenerated db creation scripts
Daniel-Constantin Mierla [Tue, 22 May 2012 10:41:05 +0000 (12:41 +0200)]
srdb1/dbschema: regenerated db creation scripts

- lcr_rule version update was not taken in consideration
- reported by Timo Teräs

8 years agomodules_k/db_sqlite: make decltype matching case-insensitive
Timo Teräs [Tue, 22 May 2012 10:27:53 +0000 (13:27 +0300)]
modules_k/db_sqlite: make decltype matching case-insensitive

Search for keywords case insensitively instead of using strstr().
SQlite stores decltype as-is, and does the affinity type testing
case insensitively too.

8 years agopkg/kamailio: Added new build and script files for Kamailio 3.3.0 on CentOS 6
Peter Dunkley [Sun, 20 May 2012 00:13:41 +0000 (01:13 +0100)]
pkg/kamailio: Added new build and script files for Kamailio 3.3.0 on CentOS 6

- Based on the Fedora files I created recently
- Directory structured so that multiple CentOS releases can be handled
- The old CentOS .spec file (pkg/kamailio/rpm/kamailio.spec.CenOS) has
  been left untouched.  This file is out-of-date and doesn't work
  properly with kamailio 3.3.0 and CentOS 6 (it should be removed if
  no-one is using it)
- kamailio-build.appl and kamailio.appl are BoxGrinder appliance
  definitions for CentOS 6 build and installation test machines.
- This .spec file builds and pacakges all Kamailio 3.3.0 modules
  (modules/modules_k) that can be built and installed on CentOS 6
  without adding any additional repositories.  This means modules that
  require packages (or versions of packages) not available in the
  standard CentOS 6 repo are not built.
- The following modules are not build:
  - modules/app_mono: Requires mono which is not in the CentOS 6 repo
  - modules/auth_identity: Conflicts with TLS unless statically linked (which
    requires changes to Makefile and is impractical for generic RPM building)
  - modules/db_cassandra: Requires Cassandra and Thrift which are not in the
    CentOS 6 repo
  - modules/geoip: Requires GeoIP which is not in the CentOS 6 repo
  - modules/iptrtpproxy: Needs local copy of iptables source to build
    (impractical for generic RPM building)
  - modules/json: Requires json-c whish is not in the CentOS 6 repo
  - modules/jsonrpc-c: Requires json-c whish is not in the CentOS 6 repo
  - modules/ndb_redis: Requires hiredis which is not in the CentOS 6 repo
  - modules/peering: Requires radiusclient-ng which is not in the CentOS 6
    repo
  - modules_k/acc_radius: Requires radiusclient-ng which is not in the CentOS
    6 repo
  - modules_k/auth_radius: Required radiusclient-ng which is not in the
    CentOS 6 repo
  - modules_k/carrierroute: Requires libconfuse which is not in the CentOS 6
    repo
  - modules_k/db_oracle: Requires Oracle which is not in the CentOS 6 repo
    (and is closed-source)
  - modules_k/memcached: Module compilation appears to require an older
    version of libmemcached-devel than the one in the CentOS 6 repo
  - modules_k/mi_xmlrpc: Requires libxmlrpc-c3 which is not in the CentOS 6
    repo
  - modules_k/misc_radius: Requires radiusclient-ng which is not in the
    CentOS 6 repo
  - modules_k/osp: Requires OSP Toolkit which is not in the CentOS 6 repo

8 years agopkg/kamailio/fedora/fc16: Tweak to the systemd scripts for F16
Peter Dunkley [Sat, 19 May 2012 23:52:08 +0000 (00:52 +0100)]
pkg/kamailio/fedora/fc16: Tweak to the systemd scripts for F16

8 years agopkg/kamailio/fedora/fc16: A couple of tweaks to the BoxGrinder appliance definitions
Peter Dunkley [Sat, 19 May 2012 22:08:40 +0000 (23:08 +0100)]
pkg/kamailio/fedora/fc16: A couple of tweaks to the BoxGrinder appliance definitions

8 years agopkg/kamailio/fedora/fc16: I forgot to update kamailio.spec when I changed the directo...
Peter Dunkley [Fri, 18 May 2012 09:09:40 +0000 (10:09 +0100)]
pkg/kamailio/fedora/fc16: I forgot to update kamailio.spec when I changed the directory from f16 to fc16

8 years agopkg/kamailio/fedora: Reanmed f16 to fc16 to match the release tag in the RPM names
Peter Dunkley [Fri, 18 May 2012 09:01:56 +0000 (10:01 +0100)]
pkg/kamailio/fedora: Reanmed f16 to fc16 to match the release tag in the RPM names

8 years agopkg/kamailio/fedora/f16: Fixed a couple of small issues with kamailio.spec
Peter Dunkley [Fri, 18 May 2012 09:00:05 +0000 (10:00 +0100)]
pkg/kamailio/fedora/f16: Fixed a couple of small issues with kamailio.spec

- Put .fc16 into the release name (so you can tell which distribution
  the RPMs are for)
- Added missing BuildRequires (gcc)

8 years agopkg/kamailio/fedora/f16: Added comments to .appl files to show which packages relate...
Peter Dunkley [Thu, 17 May 2012 23:50:37 +0000 (00:50 +0100)]
pkg/kamailio/fedora/f16: Added comments to .appl files to show which packages relate to which Kamailio components

8 years agopkg/kamailio/fedora/f16: Added a couple of missing packages to kamailio test appliance
Peter Dunkley [Thu, 17 May 2012 23:30:08 +0000 (00:30 +0100)]
pkg/kamailio/fedora/f16: Added a couple of missing packages to kamailio test appliance

8 years agopkg/kamailio/fedora/f16: Improved VM/appliance naming in .appl files
Peter Dunkley [Thu, 17 May 2012 22:19:38 +0000 (23:19 +0100)]
pkg/kamailio/fedora/f16: Improved VM/appliance naming in .appl files

8 years agopkg/kamailio/fedora/f16: Fixed some broken paths in kamailio.spec
Peter Dunkley [Thu, 17 May 2012 22:11:52 +0000 (23:11 +0100)]
pkg/kamailio/fedora/f16: Fixed some broken paths in kamailio.spec

8 years agopkg/kamailio/fedora/f16: Added BoxGrinder appliance definition for a Fedora 16 Kamail...
Peter Dunkley [Thu, 17 May 2012 21:33:06 +0000 (22:33 +0100)]
pkg/kamailio/fedora/f16: Added BoxGrinder appliance definition for a Fedora 16 Kamailio test machine

- BoxGrinder automatically creates up-to-date CentOS/Fedora/RHEL
  appliances to a specified configuration.  See
  http://boxgrinder.org/ for more information.
- This configuration is the minimum required to test F16 Kamailio
  3.3 RPMs.
- To build the appliance:
  1) Install BoxGrinder: "yum install rubygem-boxgrinder-build" on
     Fedora
  2) Run BoxGrinder: "boxgrinder-build kamailio.appl"
- If you run BoxGrinder on a 32-bit host you get a 32-bit appliance.
- If you run BoxGrinder on a 64-bit host you get a 64-bit appliance
  by default.  You can create a 32-bit appliance on a 64-bit host by
  using the command: "setarch i386 boxgrinder-build kamailio.appl"
- WARNING: This is an unsecure (no firewall, default password) and
  minimal appliance.  It is not suitable for actual deployment but
  it does have all of the Kamailio Fedora RPM dependencies installed.

8 years agopkg/kamailio/fedora/f16: Added BoxGrinder appliance definition for a Fedora 16 Kamail...
Peter Dunkley [Thu, 17 May 2012 21:25:47 +0000 (22:25 +0100)]
pkg/kamailio/fedora/f16: Added BoxGrinder appliance definition for a Fedora 16 Kamailio build machine

- BoxGrinder automatically creates up-to-date CentOS/Fedora/RHEL
  appliances to a specified configuration.  See
  http://boxgrinder.org/ for more information.
- This configuration is the minimum required to build F16 Kamailio
  3.3 RPMs.
- To build the appliance:
  1) Install BoxGrinder: "yum install rubygem-boxgrinder-build" on
     Fedora
  2) Run BoxGrinder: "boxgrinder-build kamailio-build.appl"
- If you run BoxGrinder on a 32-bit host you get a 32-bit appliance.
- If you run BoxGrinder on a 64-bit host you get a 64-bit appliance
  by default.  You can create a 32-bit appliance on a 64-bit host by
  using the command: "setarch i386 boxgrinder-build kamailio-build.appl"

8 years agopkg/kamailio/fedora/f16: Updated changelog in kamailio.spec
Peter Dunkley [Thu, 17 May 2012 21:25:04 +0000 (22:25 +0100)]
pkg/kamailio/fedora/f16: Updated changelog in kamailio.spec

8 years agopkg/kamailio/fedora: restructured so that the .spec, .service, .sysconfig files for...
Peter Dunkley [Thu, 17 May 2012 21:08:53 +0000 (22:08 +0100)]
pkg/kamailio/fedora: restructured so that the .spec, .service, .sysconfig files for different Fedora versions can be kept

- Updated the release number in kamailio.spec to pre2

8 years agomodules_k/presence: More fixes to issues in notifier processes
Peter Dunkley [Thu, 17 May 2012 14:40:02 +0000 (15:40 +0100)]
modules_k/presence: More fixes to issues in notifier processes

- Fixes to some small issues/race conditions found during soak and
  load testing.

8 years agomodules_k/presence: Fixes to cleanup functions
Peter Dunkley [Thu, 17 May 2012 14:37:17 +0000 (15:37 +0100)]
modules_k/presence: Fixes to cleanup functions

- The presentity cleanup function now uses fetch_rows
- Fixed a problem with array indexing (only cleaned one row) in the
  active_watchers cleanup function for notifier processes

8 years agomodules_k/pua: Removed some unnecessary checks from pua_db.c
Peter Dunkley [Thu, 17 May 2012 14:32:19 +0000 (15:32 +0100)]
modules_k/pua: Removed some unnecessary checks from pua_db.c

8 years agoMakefile: version set to 3.3.0-pre2
Daniel-Constantin Mierla [Thu, 17 May 2012 06:22:11 +0000 (08:22 +0200)]
Makefile: version set to 3.3.0-pre2

8 years agortpproxy: handle UPDATE in rtpproxy_manage()
Daniel-Constantin Mierla [Thu, 17 May 2012 06:19:10 +0000 (08:19 +0200)]
rtpproxy: handle UPDATE in rtpproxy_manage()

- UPDATE can carry SDB body
- reported by Spencer Thomason

8 years agomodules/lcr: improved reloading speed of lcr_rule_target table
Juha Heinanen [Thu, 17 May 2012 06:07:13 +0000 (09:07 +0300)]
modules/lcr: improved reloading speed of lcr_rule_target table

8 years agoRLS modules compiles on Debian
Carsten Bock [Wed, 16 May 2012 16:23:08 +0000 (18:23 +0200)]
RLS modules compiles on Debian

8 years agoAdd msrp to Standard Group
Carsten Bock [Wed, 16 May 2012 15:45:07 +0000 (17:45 +0200)]
Add msrp to Standard Group

8 years agoAdd kcore Library to Makefile for mqueue
Carsten Bock [Wed, 16 May 2012 14:56:47 +0000 (16:56 +0200)]
Add kcore Library to Makefile for mqueue

8 years agoAdd msrp to Standard Group
Carsten Bock [Wed, 16 May 2012 14:53:41 +0000 (16:53 +0200)]
Add msrp to Standard Group

8 years agoxmlrpc: added support for nested structs in RPC reply via XMLRPC
Jason Penton [Tue, 15 May 2012 11:46:35 +0000 (13:46 +0200)]
xmlrpc: added support for nested structs in RPC reply via XMLRPC

8 years agomodules_k/domain: exported domain_attrs_table module var
Juha Heinanen [Tue, 15 May 2012 08:56:22 +0000 (11:56 +0300)]
modules_k/domain:  exported domain_attrs_table module var

- Thanks to Charles Chance for reporting.

8 years agodialog(k): changed log level for a debug message from L_ERR to L_DBG
Daniel-Constantin Mierla [Mon, 14 May 2012 07:48:25 +0000 (09:48 +0200)]
dialog(k): changed log level for a debug message from L_ERR to L_DBG

8 years agomodules_k/presence: Fixed various issues with the notifier process found during soak...
Peter Dunkley [Sun, 13 May 2012 00:28:37 +0000 (01:28 +0100)]
modules_k/presence: Fixed various issues with the notifier process found during soak testing

8 years agomodules_k/presence: Use non-pooled connections (where supported) when using notifier...
Peter Dunkley [Sun, 13 May 2012 00:23:09 +0000 (01:23 +0100)]
modules_k/presence: Use non-pooled connections (where supported) when using notifier processes

- This helps with databases (such as PostgreSQL which is the only one that
  currently supports specifying non-pooled connections) that create a server
  process per client connection.

8 years agomodules_k/pua: Tidied up the error handling in the SUBSCRIBE callback function
Peter Dunkley [Sun, 13 May 2012 00:20:19 +0000 (01:20 +0100)]
modules_k/pua: Tidied up the error handling in the SUBSCRIBE callback function

- Also sorted out a mistake in the use of (start|end)_transaction