sip-router
7 years agomodules/websocket: Updated example kamailio.cfg
Peter Dunkley [Fri, 26 Oct 2012 23:08:54 +0000 (00:08 +0100)]
modules/websocket: Updated example kamailio.cfg

- More tweaks to MSRP over WebSocket

7 years agomodules/websocket: Updated example kamailio.cfg
Peter Dunkley [Fri, 26 Oct 2012 15:09:09 +0000 (16:09 +0100)]
modules/websocket: Updated example kamailio.cfg

- Better MSRP over WebSocket support

7 years agomodules_k/xcap_server: Tidied up example
Peter Dunkley [Thu, 25 Oct 2012 20:36:28 +0000 (21:36 +0100)]
modules_k/xcap_server: Tidied up example

7 years agomodules/websocket: Updated example kamailio.cfg
Peter Dunkley [Thu, 25 Oct 2012 20:35:57 +0000 (21:35 +0100)]
modules/websocket: Updated example kamailio.cfg

- Reflects latest MSRP related updates

7 years agomodules/msrp: Updated example in README
Peter Dunkley [Thu, 25 Oct 2012 20:34:23 +0000 (21:34 +0100)]
modules/msrp: Updated example in README

- Use new pv_www_authenticate() variant to pass in $msrp(method)
- Send responses to SEND that we are relaying to clients
- Handle REPORTS as end-to-end requests (that are not responded to)
- Send 501 for requests that are not AUTH, SEND, or REPORT

7 years agomodules/msrp: Better fix for the relay problem
Peter Dunkley [Thu, 25 Oct 2012 20:09:40 +0000 (21:09 +0100)]
modules/msrp: Better fix for the relay problem

7 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Peter Dunkley [Thu, 25 Oct 2012 19:35:13 +0000 (20:35 +0100)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  Makefile.utils: add rule to create man page dir

7 years agomodules_k/xcap_server: Added explicit parsing of headers before looking for HTTP...
Peter Dunkley [Thu, 25 Oct 2012 19:17:48 +0000 (20:17 +0100)]
modules_k/xcap_server: Added explicit parsing of headers before looking for HTTP ETag and Host headers

7 years agoMakefile.utils: add rule to create man page dir
Daniel-Constantin Mierla [Thu, 25 Oct 2012 19:16:26 +0000 (21:16 +0200)]
Makefile.utils: add rule to create man page dir

- reported by Peter Dunkley

7 years agomodules/websocket: Added explicit parsing of all headers before searching for WebSock...
Peter Dunkley [Thu, 25 Oct 2012 19:17:05 +0000 (20:17 +0100)]
modules/websocket: Added explicit parsing of all headers before searching for WebSocket specific headers

7 years agomodules_k/xcap_server: Removed some test debug that was left in by mistake
Peter Dunkley [Thu, 25 Oct 2012 18:59:31 +0000 (19:59 +0100)]
modules_k/xcap_server: Removed some test debug that was left in by mistake

7 years agomodules/app_lua: Updated because of recent changes to auth and auth_db
Peter Dunkley [Thu, 25 Oct 2012 18:45:04 +0000 (19:45 +0100)]
modules/app_lua: Updated because of recent changes to auth and auth_db

7 years agomodules_k/auth_db: Added an optional parameter for method to www_authenticate
Peter Dunkley [Thu, 25 Oct 2012 18:44:32 +0000 (19:44 +0100)]
modules_k/auth_db: Added an optional parameter for method to www_authenticate

7 years agomodules/auth: Added an optional parameter for method to pv_www_authenticate()
Peter Dunkley [Thu, 25 Oct 2012 18:43:55 +0000 (19:43 +0100)]
modules/auth: Added an optional parameter for method to pv_www_authenticate()

7 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Peter Dunkley [Thu, 25 Oct 2012 17:22:21 +0000 (18:22 +0100)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  resolve.c: make dns query only on name that has valid syntax

7 years agomodules/msrp: Fixed a problem with relaying that I added when I put in WebSocket...
Peter Dunkley [Thu, 25 Oct 2012 17:21:41 +0000 (18:21 +0100)]
modules/msrp: Fixed a problem with relaying that I added when I put in WebSocket support

7 years agoresolve.c: make dns query only on name that has valid syntax
Juha Heinanen [Thu, 25 Oct 2012 16:50:17 +0000 (19:50 +0300)]
resolve.c: make dns query only on name that has valid syntax

7 years agomodules_k/xcap_server: Updated example event_route[] in README
Peter Dunkley [Thu, 25 Oct 2012 16:34:39 +0000 (17:34 +0100)]
modules_k/xcap_server: Updated example event_route[] in README

- Now includes:
  - updating of RLS subscriptions when RLS documents change
  - pidf-manipulation
  - clean handling of org.openmobilealliance.search
  - org.openmobilealliance.xcap-directory support

7 years agomodules_k/xcap_server: Added support for the org.openmobilealliance.xcap-directory...
Peter Dunkley [Thu, 25 Oct 2012 16:33:46 +0000 (17:33 +0100)]
modules_k/xcap_server: Added support for the org.openmobilealliance.xcap-directory auid

- Directory listing worked out on-the-fly based on DB contents

7 years agomodules_k/xcap_client: Added new #define for xcap-directory auid
Peter Dunkley [Thu, 25 Oct 2012 16:32:43 +0000 (17:32 +0100)]
modules_k/xcap_client: Added new #define for xcap-directory auid

7 years agoxcap_server: use a static table to keep the list of supported auids
Daniel-Constantin Mierla [Thu, 25 Oct 2012 08:56:41 +0000 (10:56 +0200)]
xcap_server: use a static table to keep the list of supported auids

- adding new auid requires an entry in this table and define of the
  internal type

7 years agoacc(k): fixed typo in acc_db_request() example
Daniel-Constantin Mierla [Thu, 25 Oct 2012 08:01:08 +0000 (10:01 +0200)]
acc(k): fixed typo in acc_db_request() example

- reported by Bernie Höneisen, FS#251

7 years agocore: use cloned value to parse pv name for caching
Daniel-Constantin Mierla [Thu, 25 Oct 2012 07:25:17 +0000 (09:25 +0200)]
core: use cloned value to parse pv name for caching

- patch by Hugh Waite

7 years agokamctl: use kamcmd instead of sercmd
Daniel-Constantin Mierla [Wed, 24 Oct 2012 10:17:30 +0000 (12:17 +0200)]
kamctl: use kamcmd instead of sercmd

7 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Olle E. Johansson [Wed, 24 Oct 2012 09:47:41 +0000 (11:47 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router
I don't really know what this means and why this commit happens...

* 'master' of ssh://git.sip-router.org/sip-router:
  .gitignore: added few more patterns to ignore
  pkg/kamailio/rpm: specs updated for rename of sercmd to kamcmd
  sercmd: added basic man page
  sercmd: builds and installs as kamcmd when FLAVOUR=kamailio
  Makefile.utils: new target to install manpage for util tools
  kamctl: replaced openser with kamailio in variable and function names
  core: print modparam type id in log when parameter not found
  modules/rtpproxy:  added 't' flag to rtpproxy_destroy and force_rtp_proxy - Added new flag 't' to rtpproxy_destroy function that makes it possible   do delete whole call even when To tag is present in request/reply.  In   force_rtp_proxy the flag is ignored.

7 years ago.gitignore: added few more patterns to ignore
Daniel-Constantin Mierla [Wed, 24 Oct 2012 06:39:59 +0000 (08:39 +0200)]
.gitignore: added few more patterns to ignore

- kamcmd binary and second vi swap file

7 years agopkg/kamailio/rpm: specs updated for rename of sercmd to kamcmd
Daniel-Constantin Mierla [Tue, 23 Oct 2012 22:16:58 +0000 (00:16 +0200)]
pkg/kamailio/rpm: specs updated for rename of sercmd to kamcmd

7 years agosercmd: added basic man page
Daniel-Constantin Mierla [Tue, 23 Oct 2012 22:06:48 +0000 (00:06 +0200)]
sercmd: added basic man page

7 years agosercmd: builds and installs as kamcmd when FLAVOUR=kamailio
Daniel-Constantin Mierla [Tue, 23 Oct 2012 22:05:13 +0000 (00:05 +0200)]
sercmd: builds and installs as kamcmd when FLAVOUR=kamailio

- avoid packaging conflicts with ser (both packages attempt to install
  same file)

7 years agoMakefile.utils: new target to install manpage for util tools
Daniel-Constantin Mierla [Tue, 23 Oct 2012 22:04:11 +0000 (00:04 +0200)]
Makefile.utils: new target to install manpage for util tools

7 years agokamctl: replaced openser with kamailio in variable and function names
Daniel-Constantin Mierla [Tue, 23 Oct 2012 14:49:29 +0000 (16:49 +0200)]
kamctl: replaced openser with kamailio in variable and function names

7 years agocore: print modparam type id in log when parameter not found
Daniel-Constantin Mierla [Tue, 23 Oct 2012 14:17:24 +0000 (16:17 +0200)]
core: print modparam type id in log when parameter not found

7 years agomodules/rtpproxy: added 't' flag to rtpproxy_destroy and force_rtp_proxy
Juha Heinanen [Mon, 22 Oct 2012 09:15:54 +0000 (12:15 +0300)]
modules/rtpproxy:  added 't' flag to rtpproxy_destroy and force_rtp_proxy
- Added new flag 't' to rtpproxy_destroy function that makes it possible
  do delete whole call even when To tag is present in request/reply.  In
  force_rtp_proxy the flag is ignored.

7 years agomtree Documentation fixes
Olle E. Johansson [Sun, 21 Oct 2012 18:09:07 +0000 (20:09 +0200)]
mtree Documentation fixes

7 years agopua: Fixing documentation typos, adding reginfo
Olle E. Johansson [Sun, 21 Oct 2012 17:13:50 +0000 (19:13 +0200)]
pua: Fixing documentation typos, adding reginfo

7 years agosipcapture Fixing typos in documentation
Olle E. Johansson [Sun, 21 Oct 2012 17:02:56 +0000 (19:02 +0200)]
sipcapture Fixing typos in documentation

7 years agoSDPops Typo fixes in documentation
Olle E. Johansson [Sun, 21 Oct 2012 16:54:33 +0000 (18:54 +0200)]
SDPops Typo fixes in documentation

7 years agoRatelimit: Fixing typos
Olle E. Johansson [Sun, 21 Oct 2012 16:49:43 +0000 (18:49 +0200)]
Ratelimit: Fixing typos

7 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Olle E. Johansson [Sun, 21 Oct 2012 16:32:33 +0000 (18:32 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  modules/rtpproxy: some README improvements
  pkg/kamailio/fedora/16: More tweaks to .spec
  pkg/kamailio/(centos|fedora): Updated boxgrinder appliance definitions
  pkg/kamailio/fedora/16: added SCTP dependencies to .spec
  pkg/kamailio/fedora/16: Updated .spec file
  Makefiles: Updated Makefiles to use db2x_docbook2man when docbook2x-man is not installed
  pkg/kamailio/fedora/16: Updated .spec to set ownership of /etc/kamailio to kamailio.kamailio
  modules/websocket: Updated example configuration file
  modules/msrp: Updated MSRP configuration example
  rtpproxy: allow flags parameter to rtpproxy_destroy()

7 years agoTLS Documentation updates
Olle E. Johansson [Sun, 21 Oct 2012 16:30:32 +0000 (18:30 +0200)]
TLS Documentation updates

7 years agomodules/rtpproxy: some README improvements
Juha Heinanen [Sun, 21 Oct 2012 14:29:44 +0000 (17:29 +0300)]
modules/rtpproxy: some README improvements

7 years agoDocumentation updates
Olle E. Johansson [Sat, 20 Oct 2012 15:47:32 +0000 (17:47 +0200)]
Documentation updates

7 years agopkg/kamailio/fedora/16: More tweaks to .spec
Peter Dunkley [Sat, 20 Oct 2012 02:55:01 +0000 (03:55 +0100)]
pkg/kamailio/fedora/16: More tweaks to .spec

- The auth_diameter and malloc_test modules were being built during install
  instead of in the build section

7 years agopkg/kamailio/(centos|fedora): Updated boxgrinder appliance definitions
Peter Dunkley [Sat, 20 Oct 2012 02:12:05 +0000 (03:12 +0100)]
pkg/kamailio/(centos|fedora): Updated boxgrinder appliance definitions

7 years agopkg/kamailio/fedora/16: added SCTP dependencies to .spec
Peter Dunkley [Sat, 20 Oct 2012 02:06:30 +0000 (03:06 +0100)]
pkg/kamailio/fedora/16: added SCTP dependencies to .spec

7 years agopkg/kamailio/fedora/16: Updated .spec file
Peter Dunkley [Sat, 20 Oct 2012 01:38:18 +0000 (02:38 +0100)]
pkg/kamailio/fedora/16: Updated .spec file

- Added installation of auth.7.gz for Fedoa now that manpages are built for
  Fedora
- Added "make utils" to build section
- SCTP and STUN now included in build
- Removed kamailio-tls package - tls module now in main Kamailio RPM as that has
  openssl as a dependency for STUN

7 years agoMakefiles: Updated Makefiles to use db2x_docbook2man when docbook2x-man is not installed
Peter Dunkley [Sat, 20 Oct 2012 00:23:51 +0000 (01:23 +0100)]
Makefiles: Updated Makefiles to use db2x_docbook2man when docbook2x-man is not installed

- db2x_docbook2man is what Fedora contains

7 years agopkg/kamailio/fedora/16: Updated .spec to set ownership of /etc/kamailio to kamailio...
Peter Dunkley [Fri, 19 Oct 2012 23:29:07 +0000 (00:29 +0100)]
pkg/kamailio/fedora/16: Updated .spec to set ownership of /etc/kamailio to kamailio.kamailio

- Means that file-based DB (e.g. sqlite) files kept in /etc/kamailio can be
  written to by processes (including kamailio itself) run by the kamailio user.

7 years agomodules/websocket: Updated example configuration file
Peter Dunkley [Fri, 19 Oct 2012 13:34:54 +0000 (14:34 +0100)]
modules/websocket: Updated example configuration file

- Use qop="auth" for MSRP authentication
- Support Expires: header in MSRP AUTH requests
- Add Expires: header to 200 OK responses to MSRP AUTH requests
- Authenticate MSRP AUTH requests off subscriber DB

7 years agomodules/msrp: Updated MSRP configuration example
Peter Dunkley [Fri, 19 Oct 2012 13:25:35 +0000 (14:25 +0100)]
modules/msrp: Updated MSRP configuration example

- Enabled qop="auth" for authentication (mandated by RFC 4976)
- Added support for Expires: header in AUTH requests
- Added (mandatory) Expires: header to 200 OK responses to AUTH requests

7 years agortpproxy: allow flags parameter to rtpproxy_destroy()
Daniel-Constantin Mierla [Fri, 19 Oct 2012 09:53:17 +0000 (11:53 +0200)]
rtpproxy: allow flags parameter to rtpproxy_destroy()

- it is optional parameter, but was not allowed by c code
- reported by Juha Heinanen

7 years agoMerge branch 'master' of ssh://git.sip-router.org/sip-router
Olle E. Johansson [Thu, 18 Oct 2012 16:39:15 +0000 (18:39 +0200)]
Merge branch 'master' of ssh://git.sip-router.org/sip-router

* 'master' of ssh://git.sip-router.org/sip-router:
  all: OPENSER_MOD_INTERFACE replaced with KAMAILIO_MOD_INTERFACE
  all: fixed matrix doc generation and updates for &defaultdb;
  all: replaced db_url static value with &defaultrodb; in docs
  all: replaced openser with kamailio in license and comments
  dialog(k): run event route after setting cfg dlg vars
  rtpproxy: regenerated readme for flags x and 3
  rtpproxy: documented flag 3
  rtpproxy: propage flags from rtpproxy_manage() to unforce_rtp_proxy()
  pkg/gentoo: Added ebuild for v3.3.2
  Makefile: added uninstall target
  modules_k/db_sqlite: fix memory leak in sqlops query
  kamailio.cfg: handle UPDATE through nat traversal logic
  auth_db(k): new function is_subscriber(uri, dbtable, flags)

7 years agoall: OPENSER_MOD_INTERFACE replaced with KAMAILIO_MOD_INTERFACE
Daniel-Constantin Mierla [Thu, 18 Oct 2012 13:46:13 +0000 (15:46 +0200)]
all: OPENSER_MOD_INTERFACE replaced with KAMAILIO_MOD_INTERFACE

- OPENSER_MOD_INTERFACE still works if used in module Makefile

7 years agoall: fixed matrix doc generation and updates for &defaultdb;
Daniel-Constantin Mierla [Thu, 18 Oct 2012 12:46:37 +0000 (14:46 +0200)]
all: fixed matrix doc generation and updates for &defaultdb;

7 years agoall: replaced db_url static value with &defaultrodb; in docs
Daniel-Constantin Mierla [Thu, 18 Oct 2012 12:36:46 +0000 (14:36 +0200)]
all: replaced db_url static value with &defaultrodb; in docs

- regenerated the readmes for modules/ and modules_k/

7 years agoall: replaced openser with kamailio in license and comments
Daniel-Constantin Mierla [Thu, 18 Oct 2012 12:18:19 +0000 (14:18 +0200)]
all: replaced openser with kamailio in license and comments

- some files were forgotten during renaming

7 years agodialog(k): run event route after setting cfg dlg vars
Daniel-Constantin Mierla [Thu, 18 Oct 2012 07:54:53 +0000 (09:54 +0200)]
dialog(k): run event route after setting cfg dlg vars

- in this way they (e.g., $DLG_lifetime) should be accessible in event
  route

7 years agortpproxy: regenerated readme for flags x and 3
Daniel-Constantin Mierla [Wed, 17 Oct 2012 19:41:40 +0000 (21:41 +0200)]
rtpproxy: regenerated readme for flags x and 3

7 years agortpproxy: documented flag 3
Daniel-Constantin Mierla [Wed, 17 Oct 2012 19:33:45 +0000 (21:33 +0200)]
rtpproxy: documented flag 3

7 years agortpproxy: propage flags from rtpproxy_manage() to unforce_rtp_proxy()
Daniel-Constantin Mierla [Wed, 17 Oct 2012 19:25:00 +0000 (21:25 +0200)]
rtpproxy: propage flags from rtpproxy_manage() to unforce_rtp_proxy()

- unforce_rtp_proxy() can take flags 1 or 2, previously it didn't take
  any
- ignore all the other valid flags for rtpproxy_manage() in
  unforce_rtp_proxy()
- added flag 3 - add first via branch if it request (like flag 1) or add
  second via branch if it reply (like flag 2) - suitable for auto-pilot
  usage with rtpproxy_manage() function

7 years agopkg/gentoo: Added ebuild for v3.3.2
Claudio Furrer [Wed, 17 Oct 2012 17:38:52 +0000 (14:38 -0300)]
pkg/gentoo: Added ebuild for v3.3.2

7 years agoMakefile: added uninstall target
Daniel-Constantin Mierla [Wed, 17 Oct 2012 10:52:34 +0000 (12:52 +0200)]
Makefile: added uninstall target

- it prints hints and commands to perform uninstall when installation is
  done from sources

7 years agomodules_k/db_sqlite: fix memory leak in sqlops query
Timo Teräs [Wed, 17 Oct 2012 06:00:14 +0000 (09:00 +0300)]
modules_k/db_sqlite: fix memory leak in sqlops query

Seems that most other database drivers release the database
resource only at free_result time, which I some how missed.

Since we are doing a deep copy in store_result(), we can
just release the sqlite resources immediately raw_query().

Reported-by: Pedro Antonio Vico Solano <pvsolano@amper.es>
7 years agokamailio.cfg: handle UPDATE through nat traversal logic
Daniel-Constantin Mierla [Tue, 16 Oct 2012 19:59:28 +0000 (21:59 +0200)]
kamailio.cfg: handle UPDATE through nat traversal logic

- BYE is handled via branch route as well
- set tm routes only if they are not set, allowing better plug and play
  config snippets

7 years agoauth_db(k): new function is_subscriber(uri, dbtable, flags)
Daniel-Constantin Mierla [Tue, 16 Oct 2012 19:28:46 +0000 (21:28 +0200)]
auth_db(k): new function is_subscriber(uri, dbtable, flags)

- check if URI corresponds to a subscriber record in dbtable and load
  credentials for it

7 years agoasync Forgot to rebuild the README
Olle E. Johansson [Mon, 15 Oct 2012 17:51:21 +0000 (19:51 +0200)]
async Forgot to rebuild the README

7 years agoAsync typo fix
Olle E. Johansson [Mon, 15 Oct 2012 17:47:52 +0000 (19:47 +0200)]
Async typo fix

7 years agotextopsx - typo fixes, minor corrections
Olle E. Johansson [Mon, 15 Oct 2012 17:45:02 +0000 (19:45 +0200)]
textopsx - typo fixes, minor corrections

7 years agomodules_k/siptrace Fixed crash when using HEP v2
Dragos Dinu [Mon, 15 Oct 2012 15:29:48 +0000 (18:29 +0300)]
modules_k/siptrace Fixed crash when using HEP v2

7 years agoINSTALL - Fixing spelling error
Olle E. Johansson [Mon, 15 Oct 2012 12:35:10 +0000 (14:35 +0200)]
INSTALL - Fixing spelling error

7 years agoregistrar Fix typos in README
Olle E. Johansson [Sun, 14 Oct 2012 19:57:24 +0000 (21:57 +0200)]
registrar Fix typos in README

7 years agopv Fix typo in README
Olle E. Johansson [Sun, 14 Oct 2012 19:40:36 +0000 (21:40 +0200)]
pv Fix typo in README

7 years agodispatcher small documentation updates
Olle E. Johansson [Sun, 14 Oct 2012 19:32:56 +0000 (21:32 +0200)]
dispatcher small documentation updates

7 years agop_userloc Fixing the database URLs as entities
Olle E. Johansson [Sun, 14 Oct 2012 19:02:52 +0000 (21:02 +0200)]
p_userloc Fixing the database URLs as entities

7 years agoRevert "Changing database URL example to use entity"
Olle E. Johansson [Sun, 14 Oct 2012 17:54:19 +0000 (19:54 +0200)]
Revert "Changing database URL example to use entity"

This reverts commit 827e2d4bbab047fd4bbe4ada266327a823fc1cd3.

7 years agoChanging database URL example to use entity
Olle E. Johansson [Sun, 14 Oct 2012 17:38:47 +0000 (19:38 +0200)]
Changing database URL example to use entity

Making it easier when we change from "openserrw" to "kamailiorw"

7 years agodialog: minor typo fix
Olle E. Johansson [Sun, 14 Oct 2012 16:58:16 +0000 (18:58 +0200)]
dialog: minor typo fix

7 years agosiputils: README typo fixes
Olle E. Johansson [Sun, 14 Oct 2012 16:20:42 +0000 (18:20 +0200)]
siputils: README typo fixes

7 years agouac: README typos
Olle E. Johansson [Sun, 14 Oct 2012 16:11:29 +0000 (18:11 +0200)]
uac: README typos

7 years agoSL doc: fix typos
Olle E. Johansson [Sun, 14 Oct 2012 16:02:45 +0000 (18:02 +0200)]
SL doc: fix typos

7 years agoTM docs: fix typos
Olle E. Johansson [Sun, 14 Oct 2012 15:54:53 +0000 (17:54 +0200)]
TM docs: fix typos

7 years agotm: Updates of README, spelling errors
Olle E. Johansson [Sun, 14 Oct 2012 15:45:41 +0000 (17:45 +0200)]
tm: Updates of README, spelling errors

7 years agoasync: Speling erors fixed
Olle E. Johansson [Sun, 14 Oct 2012 15:24:21 +0000 (17:24 +0200)]
async: Speling erors fixed

7 years agomsilo: Updating docs
Olle E. Johansson [Sun, 14 Oct 2012 15:13:01 +0000 (17:13 +0200)]
msilo: Updating docs

Fixing a typo and while at it updating some texts.

7 years agokamailio.cfg: load corex module to get same cfg api as so far
Daniel-Constantin Mierla [Fri, 12 Oct 2012 13:40:24 +0000 (15:40 +0200)]
kamailio.cfg: load corex module to get same cfg api as so far

7 years agomodules/msrp: Added support for WS transport
Peter Dunkley [Thu, 11 Oct 2012 11:58:38 +0000 (12:58 +0100)]
modules/msrp: Added support for WS transport

- Updated parser to recognise/decode ";ws" as a transport
- Updated netio code to route MSRP messages destined for a
  WebSocket connection through the websocket module (instead of just
  tcp_send()ing them).

7 years agomodules/websocket: Added support for MSRP WebSocket sub-protocol
Peter Dunkley [Thu, 11 Oct 2012 11:57:26 +0000 (12:57 +0100)]
modules/websocket: Added support for MSRP WebSocket sub-protocol

- Prototype of draft-pd-msrp-websocket
- Enables session based chat and group chat from HTML5 clients

7 years agocore: fixed small issue w/ include directive
Marius Zbihlei [Thu, 11 Oct 2012 07:59:45 +0000 (10:59 +0300)]
core: fixed small issue w/ include directive

7 years agocore: disable build of DNSSEC (patch from Marius)
Henning Westerholt [Wed, 10 Oct 2012 17:15:10 +0000 (19:15 +0200)]
core: disable build of DNSSEC (patch from Marius)

7 years agomodules/msrp: Updated typo in MSRP example
Peter Dunkley [Wed, 10 Oct 2012 17:00:51 +0000 (18:00 +0100)]
modules/msrp: Updated typo in MSRP example

7 years agomodules/msrp: From-Path: not updated correctly in msrp_relay()
Peter Dunkley [Wed, 10 Oct 2012 15:15:32 +0000 (16:15 +0100)]
modules/msrp: From-Path: not updated correctly in msrp_relay()

- When the last To-Path-URI is pre-pended to the From-Path: header the first
  two characters of "From-Path: " are skipped, leaving "om-Path: ".  11
  characters should actually be skipped.

7 years agoCore: added DNSSEC support for DNS queries
Marius Zbihlei [Wed, 10 Oct 2012 14:53:02 +0000 (17:53 +0300)]
Core: added DNSSEC support for DNS queries

This is available by setting the USE_DNSSEC compile flag. It requires libval-threads and libres (part of dnssec-tools dnssec-tools.org)
The custom resolvers were replaced by val_gethostbyname, val_gethostbyname and val_res_query (for SRV).

7 years agomodules_k/xcap_server: Fixed small mistake in last xcap_server fix
Peter Dunkley [Wed, 10 Oct 2012 09:49:16 +0000 (10:49 +0100)]
modules_k/xcap_server: Fixed small mistake in last xcap_server fix

7 years agotcp: fix connection alias replacing
Andrei Pelinescu-Onciul [Wed, 10 Oct 2012 08:02:00 +0000 (10:02 +0200)]
tcp: fix connection alias replacing

When the TCP_ALIAS_REPLACE is set and an alias has to be added to
a connection that had 0 aliases (it can happen due to
TCP_ALIAS_REPLACE flag), the connection aliases count was wrongly
forced to 1.
For more details see:
http://lists.sip-router.org/pipermail/sr-users/2012-October/074932.html

Patch-by Jijo

7 years agomodules_k/xcap_server: Fixed segmentation fault
Peter Dunkley [Tue, 9 Oct 2012 20:07:10 +0000 (21:07 +0100)]
modules_k/xcap_server: Fixed segmentation fault

- Occurs when attempting to do an etag compare when there is no document/etag
  in the database.

7 years agocore: reset params pointers if there is a failure in parse_params()
Daniel-Constantin Mierla [Tue, 9 Oct 2012 14:30:24 +0000 (16:30 +0200)]
core: reset params pointers if there is a failure in parse_params()

- patch by Jijo

7 years agotm: set log level to debug for negative return code of run_top_route()
Daniel-Constantin Mierla [Tue, 9 Oct 2012 10:29:09 +0000 (12:29 +0200)]
tm: set log level to debug for negative return code of run_top_route()

- it returns the code of last execution action, negative return is not
  necessary an error

7 years agortpproxy: safety check for rtp stats pv
Daniel-Constantin Mierla [Tue, 9 Oct 2012 09:39:16 +0000 (11:39 +0200)]
rtpproxy: safety check for rtp stats pv

- if the rtpproxy is not responding, there is no returned value and
  could cause crash when doing strlen(NULL)
- return $null in case of various errors, being safer to check returned
  PV value in the script against $null, rather than having undefined
  value
- reported by J. Gallart

7 years agomsrp: fixed copy&paste issue for getting To-Path size
Daniel-Constantin Mierla [Tue, 9 Oct 2012 07:13:15 +0000 (09:13 +0200)]
msrp: fixed copy&paste issue for getting To-Path size

- the parsing of From-Path was used instead
- reported by Peter Dunkley

7 years agocore: Fix parser sdp bug. Reset connection IP for each stream.
Vicente Hernando [Fri, 7 Sep 2012 11:01:11 +0000 (07:01 -0400)]
core: Fix parser sdp bug. Reset connection IP for each stream.

If connection IP is not reset, then when a stream has no IP connection,
it uses former stream one instead of session default one.