sip-router
7 years agopkg/kamailio/fedora/16: Updated rel in .spec to dev2
Peter Dunkley [Fri, 13 Jul 2012 09:36:31 +0000 (10:36 +0100)]
pkg/kamailio/fedora/16: Updated rel in .spec to dev2

7 years agoMakefile: SCTP library check doesn't look in /usr/lib64
Peter Dunkley [Thu, 12 Jul 2012 15:26:38 +0000 (16:26 +0100)]
Makefile: SCTP library check doesn't look in /usr/lib64

- This means you can't build Kamailio for a 64-bit OS like CentOS or
  Fedora.

7 years agoRevert 008c92bece290aed3b8e6439be71c2c37526901d
Jon Bonilla [Thu, 12 Jul 2012 07:27:56 +0000 (09:27 +0200)]
Revert 008c92bece290aed3b8e6439be71c2c37526901d

We'll readd the dependency once the websocket
 module is enabled for build

7 years agokamdbctl: add domain_attrs table to standard tables
Klaus Darilion [Wed, 11 Jul 2012 12:30:51 +0000 (12:30 +0000)]
kamdbctl: add domain_attrs table to standard tables

7 years agomodules_k/uac: fix handling of empty display-part.
Andreas Granig [Wed, 11 Jul 2012 10:52:38 +0000 (12:52 +0200)]
modules_k/uac: fix handling of empty display-part.

This re-enables the feature to strip the display name by setting
an empty string, like uac_replace_from("", "$var(from)");

7 years agondb_redis: README file update. redis_cmd variadic function.
Vicente Hernando [Tue, 10 Jul 2012 10:05:02 +0000 (12:05 +0200)]
ndb_redis: README file update. redis_cmd variadic function.

7 years agondb_redis: redis_cmd variadic function documentation.
Vicente Hernando [Tue, 10 Jul 2012 09:54:00 +0000 (05:54 -0400)]
ndb_redis: redis_cmd variadic function documentation.

7 years agondb_redis: redis_cmd changed into a variadic function.
Vicente Hernando [Tue, 10 Jul 2012 09:48:45 +0000 (05:48 -0400)]
ndb_redis: redis_cmd changed into a variadic function.

- command string can be split into several strings.

7 years agopkg/kamailio/deb/wheezy: Added build dependency on libunistring-dev.
Juha Heinanen [Sun, 8 Jul 2012 18:20:35 +0000 (21:20 +0300)]
pkg/kamailio/deb/wheezy: Added build dependency on libunistring-dev.

7 years agopkg/kamailio/fedora/17: Added @Base group to BoxGrinder appliances
Peter Dunkley [Sun, 8 Jul 2012 01:06:05 +0000 (02:06 +0100)]
pkg/kamailio/fedora/17: Added @Base group to BoxGrinder appliances

- This groups is required to get the network to come up automatically for
  Fedora 17 (it wasn't needed for Fedora 16 or CentOS 6).

7 years agoMerge branch 'master' into websocket
Peter Dunkley [Sat, 7 Jul 2012 16:52:20 +0000 (17:52 +0100)]
Merge branch 'master' into websocket

7 years agondb_redis: update README file
Vicente Hernando [Fri, 6 Jul 2012 16:23:09 +0000 (18:23 +0200)]
ndb_redis: update README file

7 years agondb_redis: redisc_free_reply only frees redisReply structure.
Vicente Hernando [Fri, 6 Jul 2012 16:12:36 +0000 (12:12 -0400)]
ndb_redis: redisc_free_reply only frees redisReply structure.

- freeing whole redisc_reply_t structure causes a bug, so better remove only inner data.

7 years agopkg/kamailio/fedora/16: tidied up kamailio.spec
Peter Dunkley [Thu, 5 Jul 2012 21:58:24 +0000 (22:58 +0100)]
pkg/kamailio/fedora/16: tidied up kamailio.spec

7 years agoMerge branch 'master' into websocket
Peter Dunkley [Thu, 5 Jul 2012 21:55:44 +0000 (22:55 +0100)]
Merge branch 'master' into websocket

Conflicts:
pkg/kamailio/fedora/16/kamailio.spec

7 years agoparser: remove old $Id$ docs header from subversion times, not usable anymore
Henning Westerholt [Thu, 5 Jul 2012 21:39:51 +0000 (23:39 +0200)]
parser: remove old $Id$ docs header from subversion times, not usable anymore

7 years agoparser: add missing copyright statement to files, this part was contributed
Henning Westerholt [Thu, 5 Jul 2012 21:35:27 +0000 (23:35 +0200)]
parser: add missing copyright statement to files, this part was contributed
in commit 3c736126b097137ec943b5931f867bc7e9d82e76 Author: Jamey Hicks,
jamey dot hicks at hp dot com, Date: Fri Dec 3 13:37:57 2004 +0000

7 years agoparser: add missing copyright statement to files, this part was contributed from
Henning Westerholt [Thu, 5 Jul 2012 21:30:15 +0000 (23:30 +0200)]
parser: add missing copyright statement to files, this part was contributed from
Vaclav Kubart, vaclav dot kubart at iptel dot org in commit
488624056c4651fd57fdffd1cbfdd2a07928fdab, Date: Wed Jun 21 13:33:01 2006 +0000

7 years agoparser: add missing copyright statement to files, this part was contributed
Henning Westerholt [Thu, 5 Jul 2012 21:26:45 +0000 (23:26 +0200)]
parser: add missing copyright statement to files, this part was contributed
in commit 3c736126b097137ec943b5931f867bc7e9d82e76
Author: Jamey Hicks, jamey dot hicks at hp dot com, Date: Fri Dec 3 13:37:57 2004 +0000

7 years agoparser: const-correctness for some module utility functions
Henning Westerholt [Thu, 5 Jul 2012 21:14:42 +0000 (23:14 +0200)]
parser: const-correctness for some module utility functions

7 years agoparser: some more const-correctness for the other functions in msg_parser.[c,h]
Henning Westerholt [Thu, 5 Jul 2012 21:04:43 +0000 (23:04 +0200)]
parser: some more const-correctness for the other functions in msg_parser.[c,h]

7 years agoparser: remove two blocks of old code, commented some years ago
Henning Westerholt [Thu, 5 Jul 2012 20:40:45 +0000 (22:40 +0200)]
parser: remove two blocks of old code, commented some years ago

7 years agoparser: make get_hdr_field(..) and necessary called functions const-correct
Henning Westerholt [Thu, 5 Jul 2012 20:35:22 +0000 (22:35 +0200)]
parser: make get_hdr_field(..) and necessary called functions const-correct

7 years agopkg/kamailio/fedora/16: fixed typo in .spec
Peter Dunkley [Thu, 5 Jul 2012 20:16:43 +0000 (21:16 +0100)]
pkg/kamailio/fedora/16: fixed typo in .spec

7 years agoMerge branch 'master' into websocket
Peter Dunkley [Thu, 5 Jul 2012 20:15:22 +0000 (21:15 +0100)]
Merge branch 'master' into websocket

Conflicts:
Makefile
pkg/kamailio/centos/6/kamailio-build.appl
pkg/kamailio/centos/6/kamailio.appl
pkg/kamailio/fedora/16/kamailio-build.appl
pkg/kamailio/fedora/16/kamailio.appl
pkg/kamailio/fedora/16/kamailio.spec
pkg/kamailio/fedora/17/kamailio-build.appl
pkg/kamailio/fedora/17/kamailio.appl

7 years agopkg/kamailio/(centos|fedora): Updated .spec and .appl files to build RPM for cdp...
Peter Dunkley [Thu, 5 Jul 2012 19:41:36 +0000 (20:41 +0100)]
pkg/kamailio/(centos|fedora): Updated .spec and .appl files to build RPM for cdp and cdp_avp modules

7 years agomodules/websocket: More tidy-up of example configuration file
Peter Dunkley [Thu, 5 Jul 2012 14:23:19 +0000 (15:23 +0100)]
modules/websocket: More tidy-up of example configuration file

7 years agopkg/kamailio/(centos|fedora): Added git to the build appliances
Peter Dunkley [Thu, 5 Jul 2012 11:16:31 +0000 (12:16 +0100)]
pkg/kamailio/(centos|fedora): Added git to the build appliances

7 years agomodules/websocket: Tidied up example kamailio.cfg
Peter Dunkley [Thu, 5 Jul 2012 11:08:40 +0000 (12:08 +0100)]
modules/websocket: Tidied up example kamailio.cfg

7 years agopkg/kamailio/(centos|fedora): Added instructions on using BoxGrinder appliances to...
Peter Dunkley [Wed, 4 Jul 2012 22:46:46 +0000 (23:46 +0100)]
pkg/kamailio/(centos|fedora): Added instructions on using BoxGrinder appliances to build Kamailio RPMs

7 years agoremove one redundant inclusion of casandra module in excluded modules
Henning Westerholt [Wed, 4 Jul 2012 20:24:33 +0000 (22:24 +0200)]
remove one redundant inclusion of casandra module in excluded modules

7 years agoadd cdp module to excluded modules, as its depends on libxml
Henning Westerholt [Wed, 4 Jul 2012 20:22:26 +0000 (22:22 +0200)]
add cdp module to excluded modules, as its depends on libxml

7 years agoMerge branch 'master' into websocket
Peter Dunkley [Wed, 4 Jul 2012 17:08:02 +0000 (18:08 +0100)]
Merge branch 'master' into websocket

* master:
  modules/lcr: Fixed to/from_gw tests when proto parameter is 0 (ANY)
  cdp_avp: added README file
  CDP: Fixed README
  CDP: A few fixes to docs and location of image files - cleaner organisation
  new modules: CDP (C Diameter Peer) and CDP_AVP  - These modules were originally written by Fraunhofer and have been    ported to Kamailio, with some minor additions and improvements. Examples    on using the modules to come shortly - diameter_rx, diameter_ro, etc

7 years agomodules/websocket: Fixes to WS and WSS message sending
Peter Dunkley [Wed, 4 Jul 2012 15:15:29 +0000 (16:15 +0100)]
modules/websocket: Fixes to WS and WSS message sending

7 years agomodules_k/pv: Added missing break;s
Peter Dunkley [Wed, 4 Jul 2012 15:13:40 +0000 (16:13 +0100)]
modules_k/pv: Added missing break;s

7 years agocore: Fixes for WSS (secure WebSocket) transport and Via:s
Peter Dunkley [Wed, 4 Jul 2012 15:12:53 +0000 (16:12 +0100)]
core: Fixes for WSS (secure WebSocket) transport and Via:s

7 years agomodules/lcr: Fixed to/from_gw tests when proto parameter is 0 (ANY)
Juha Heinanen [Wed, 4 Jul 2012 14:15:43 +0000 (17:15 +0300)]
modules/lcr: Fixed to/from_gw tests when proto parameter is 0 (ANY)

- Also, updated README regarding handling of NULL value in lcr_gw
  transport column.

7 years agomodules/websocket and pkg/kamailio/fedora: Added websocket module documentation
Peter Dunkley [Tue, 3 Jul 2012 22:59:22 +0000 (23:59 +0100)]
modules/websocket and pkg/kamailio/fedora: Added websocket module documentation

7 years agopkg/kamailio/(centos|fedora): Tweaked .spec and .appl files to add WebSocket support
Peter Dunkley [Tue, 3 Jul 2012 15:57:50 +0000 (16:57 +0100)]
pkg/kamailio/(centos|fedora): Tweaked .spec and .appl files to add WebSocket support

7 years agocore: Added websocket module to Makefile
Peter Dunkley [Tue, 3 Jul 2012 15:57:00 +0000 (16:57 +0100)]
core: Added websocket module to Makefile

7 years agomodules/websocket: Updated example kamailio.cfg
Peter Dunkley [Tue, 3 Jul 2012 15:56:11 +0000 (16:56 +0100)]
modules/websocket: Updated example kamailio.cfg

7 years agocdp_avp: added README file
Jason Penton [Tue, 3 Jul 2012 10:50:10 +0000 (12:50 +0200)]
cdp_avp: added README file

7 years agoCDP: Fixed README
Jason Penton [Tue, 3 Jul 2012 10:40:43 +0000 (12:40 +0200)]
CDP: Fixed README

7 years agoCDP: A few fixes to docs and location of image files - cleaner organisation
Jason Penton [Tue, 3 Jul 2012 10:14:21 +0000 (12:14 +0200)]
CDP: A few fixes to docs and location of image files - cleaner organisation

7 years agonew modules: CDP (C Diameter Peer) and CDP_AVP
Jason Penton [Tue, 3 Jul 2012 09:24:36 +0000 (11:24 +0200)]
new modules: CDP (C Diameter Peer) and CDP_AVP
- These modules were originally written by Fraunhofer and have been
  ported to Kamailio, with some minor additions and improvements. Examples
  on using the modules to come shortly - diameter_rx, diameter_ro, etc

7 years agomodules/websockets: Added some extra debug/diagnostics
Peter Dunkley [Sun, 1 Jul 2012 21:21:38 +0000 (22:21 +0100)]
modules/websockets: Added some extra debug/diagnostics

7 years agocore: Updated Via and Record-Route generation for WebSockets
Peter Dunkley [Sun, 1 Jul 2012 21:20:36 +0000 (22:20 +0100)]
core: Updated Via and Record-Route generation for WebSockets

7 years agocore: Added more PROTO_WS and PROTO_WSS checks
Peter Dunkley [Sat, 30 Jun 2012 21:53:00 +0000 (22:53 +0100)]
core: Added more PROTO_WS and PROTO_WSS checks

7 years agomodules/websocket: Removed SIPp script and HTML file from example directory
Peter Dunkley [Sat, 30 Jun 2012 21:52:26 +0000 (22:52 +0100)]
modules/websocket: Removed SIPp script and HTML file from example directory

7 years agoMerge branch 'master' into websocket
Peter Dunkley [Sat, 30 Jun 2012 20:13:58 +0000 (21:13 +0100)]
Merge branch 'master' into websocket

Conflicts:
pkg/kamailio/fedora/16/kamailio.spec

7 years agopkg/kamailio/fedora: Updated some packaging related stuff
Peter Dunkley [Sat, 30 Jun 2012 20:05:40 +0000 (21:05 +0100)]
pkg/kamailio/fedora: Updated some packaging related stuff

- Updated the rel in the .spec to dev1
- Replaced local %{_sharedir} macro in .spec with standard %{_datadir} macro
- Tweak/update to Fedora 16 test appliance
- Added BoxGrinder appliances for Fedora 17

7 years agomodules/websocket: Corrected output of ws.dump MI command
Peter Dunkley [Sat, 30 Jun 2012 19:36:00 +0000 (20:36 +0100)]
modules/websocket: Corrected output of ws.dump MI command

7 years agocore: Fixed segmentation fault
Peter Dunkley [Sat, 30 Jun 2012 19:35:10 +0000 (20:35 +0100)]
core: Fixed segmentation fault

- Tiny window for this...  but I hit it when Google Chrome crashed during
  a WebSocket session

7 years agomodules/websocket: Updated connection reuse and closing flags for WebSocket handshake.
Peter Dunkley [Fri, 29 Jun 2012 23:46:20 +0000 (00:46 +0100)]
modules/websocket: Updated connection reuse and closing flags for WebSocket handshake.

- Updated the sample kamailio.cfg to match too.

7 years agomodules/websocket: improved sample kamailio.cfg for WebSockets
Peter Dunkley [Fri, 29 Jun 2012 23:02:29 +0000 (00:02 +0100)]
modules/websocket: improved sample kamailio.cfg for WebSockets

7 years agoeverything: shotgun attempt to put PROTO_WS and PROTO_WSS across core and in modules...
Peter Dunkley [Fri, 29 Jun 2012 23:01:07 +0000 (00:01 +0100)]
everything: shotgun attempt to put PROTO_WS and PROTO_WSS across core and in modules I use

- Bound to have missed something and lots of testing required.

7 years agocore: rolled back changes to receive.c
Peter Dunkley [Fri, 29 Jun 2012 22:11:15 +0000 (23:11 +0100)]
core: rolled back changes to receive.c

- Not actually needed because the recent change to ws_frame.c covers it all
  (I think)

7 years agomodules/websocket: Make sure that all WebSocket messages are sent on connections...
Peter Dunkley [Fri, 29 Jun 2012 22:08:19 +0000 (23:08 +0100)]
modules/websocket: Make sure that all WebSocket messages are sent on connections that already exist

- This is the same as using set_forward_no_connect() and
  set_reply_no_connect() in kamailio.cfg.  But this means it will
  always happen automatically for WebSocket messages.
- This is important as a WebSocket server cannot create connections -
  so we always have to use one that already exists.

7 years agocore: Make sure that responses to requests received on a WebSocket are sent on existi...
Peter Dunkley [Fri, 29 Jun 2012 22:05:48 +0000 (23:05 +0100)]
core: Make sure that responses to requests received on a WebSocket are sent on existing connections

- WebSocket servers cannot create connections to WebSocket clients - so
  this setting is essential.
- It does exactly the same thing as using set_reply_no_connect() in
  kamailio.cfg - but this way it is always on (as it must be) for
  WebSockets.

7 years agomodules_k/nathelper: Added nat_uac_test() check for WebSockets
Peter Dunkley [Fri, 29 Jun 2012 22:03:15 +0000 (23:03 +0100)]
modules_k/nathelper: Added nat_uac_test() check for WebSockets

- At the moment (and until Kamailio and _all_ WebSocket clients support
  outbound) we want to treat WebSocket UAs as behind NATs (even when they
  are not).
- This is so that the aliasing (which is good for TCP/TLS connection reuse
  as well as NAT traversal) can be used to make sure messages to WebSocket
  UAs are routed correctly.

7 years agomodules/websockets: Changes WS to be a protocol in its own right instead of a flag...
Peter Dunkley [Fri, 29 Jun 2012 16:47:22 +0000 (17:47 +0100)]
modules/websockets: Changes WS to be a protocol in its own right instead of a flag on TCP/TLS connections

7 years agomodules_k/nathelper: Added PROTO_WS support
Peter Dunkley [Fri, 29 Jun 2012 16:47:06 +0000 (17:47 +0100)]
modules_k/nathelper: Added PROTO_WS support

7 years agomodules/tm: Added PROTO_WS support
Peter Dunkley [Fri, 29 Jun 2012 16:46:36 +0000 (17:46 +0100)]
modules/tm: Added PROTO_WS support

7 years agocore: Changed WS from being a flag on a TCP/TLS connection to a protocol in its own...
Peter Dunkley [Fri, 29 Jun 2012 16:44:15 +0000 (17:44 +0100)]
core: Changed WS from being a flag on a TCP/TLS connection to a protocol in its own right

- Also added ;transport=ws parameter parsing for URIs

7 years agokamailio.cfg: use add_contact_alias()/handle_uri_alias() for NATed calls
Daniel-Constantin Mierla [Fri, 29 Jun 2012 14:06:42 +0000 (16:06 +0200)]
kamailio.cfg: use add_contact_alias()/handle_uri_alias() for NATed calls

7 years agoMakefile.defs: version set to 3.4.0-dev1
Daniel-Constantin Mierla [Fri, 29 Jun 2012 10:34:08 +0000 (12:34 +0200)]
Makefile.defs: version set to 3.4.0-dev1

7 years agokamailio.cfg: set version to 3.4 in the top comments
Daniel-Constantin Mierla [Fri, 29 Jun 2012 10:28:07 +0000 (12:28 +0200)]
kamailio.cfg: set version to 3.4 in the top comments

7 years agotm: added t_is_set("target") function
Daniel-Constantin Mierla [Fri, 29 Jun 2012 10:25:24 +0000 (12:25 +0200)]
tm: added t_is_set("target") function

- returns true if the attribute specified by the target parameter is set
  for current transaction (e.g., failure_route, branch_route,
  onreply_route)
- on_negative was replaced with on_failure internally to be consistent
  with config file naming

7 years agocore: added support for WS keyword for use in conditionals with proto and snd_proto
Peter Dunkley [Thu, 28 Jun 2012 16:57:44 +0000 (17:57 +0100)]
core: added support for WS keyword for use in conditionals with proto and snd_proto

7 years agocore: fixed an issue where big websocket requests (single WS frame but across multipl...
Peter Dunkley [Thu, 28 Jun 2012 16:55:53 +0000 (17:55 +0100)]
core: fixed an issue where big websocket requests (single WS frame but across multiple packets) weren't handled

7 years agocore: Fix to msg_send() so that requests destined for a WebSocket connection go throu...
Peter Dunkley [Thu, 28 Jun 2012 16:54:45 +0000 (17:54 +0100)]
core: Fix to msg_send() so that requests destined for a WebSocket connection go through the websocket module

- responses already worked

7 years agomodules/websockets: tidied up a bit of the code
Peter Dunkley [Thu, 28 Jun 2012 16:53:55 +0000 (17:53 +0100)]
modules/websockets: tidied up a bit of the code

7 years agop_usrloc: added missing usrloc API members
Daniel-Constantin Mierla [Thu, 28 Jun 2012 14:24:47 +0000 (16:24 +0200)]
p_usrloc: added missing usrloc API members

- they are set to NULL to get a clean crash, they have to be implemented
- the missing API members are the functions introduced in 3.3 for
  handling SIP GRUU and Outbound extensions
- a proper fix to follow
- reported by Dan Bogos

7 years agopkg/deb Fix lsb init file
Jon Bonilla [Thu, 28 Jun 2012 00:13:54 +0000 (02:13 +0200)]
pkg/deb Fix lsb init file

We depend on $remote_fs as required_[start|stop]

7 years agopkg/deb Build kamailio-dbg package
Jon Bonilla [Thu, 28 Jun 2012 00:01:11 +0000 (02:01 +0200)]
pkg/deb Build kamailio-dbg package

7 years agomodules_k/presence_xml Xcap auth reason when user deleted from list
Anca Vamanu [Wed, 27 Jun 2012 15:34:55 +0000 (18:34 +0300)]
modules_k/presence_xml Xcap auth reason when user deleted from list

The reason in Subscription-Status header in Notify when a user is
deleted from the contact list can be decided by the admin by setting
presence_xml module parameter xcapauth_usedel_reason. Default value is
"probation".
(cherry picked from commit 3abf967f61a1bd95c28d4e8a929a8bd5df00671d)

7 years agodialog(k): proper unlock of profile for mi list command
Daniel-Constantin Mierla [Mon, 25 Jun 2012 16:36:18 +0000 (18:36 +0200)]
dialog(k): proper unlock of profile for mi list command

- the profile was unlocked in a wrong place, before finishing listing
  the its content and could cause a race in accessing it
- reported by Ricardo Martinez

7 years agodispatcher(k): allow set id 0 for OPTIONS callback
Daniel-Constantin Mierla [Mon, 25 Jun 2012 08:36:31 +0000 (10:36 +0200)]
dispatcher(k): allow set id 0 for OPTIONS callback

- set id is provided in param pointer address, 0 being equivalent to
  NULL
- reported by Avi Brender

7 years agomodules/websocket: improvements to ws.dump MI command
Peter Dunkley [Sat, 23 Jun 2012 23:40:24 +0000 (00:40 +0100)]
modules/websocket: improvements to ws.dump MI command

7 years agopkg/kamailio/fedora: added WebSocket module to .spec file
Peter Dunkley [Sat, 23 Jun 2012 21:13:35 +0000 (22:13 +0100)]
pkg/kamailio/fedora: added WebSocket module to .spec file

7 years agomodules/websocket: now using libunistring:u8_check() to work out whether to send...
Peter Dunkley [Sat, 23 Jun 2012 20:57:37 +0000 (21:57 +0100)]
modules/websocket: now using libunistring:u8_check() to work out whether to send text or binary websocket frames

- There is no straight-forward (or practical) way to be sure that a SIP request
  only contains UTF-8 characters and therefore should be sent as text instead
  of binary.  However, you can sometimes tell whether the request definitely
  isn't UTF-8 by checking for invalid byte sequences - and when it is definitely
  not UTF-8 frames _MUST_ be sent as binary.

7 years agoparser: Update Via parsing state-machine to support WS and WSS
Peter Dunkley [Sat, 23 Jun 2012 20:57:09 +0000 (21:57 +0100)]
parser: Update Via parsing state-machine to support WS and WSS

7 years agomodules/websocket: updated example configuration and test scripts
Peter Dunkley [Sat, 23 Jun 2012 20:55:34 +0000 (21:55 +0100)]
modules/websocket: updated example configuration and test scripts

- Added options_rx.xml SIPp script
- kamailio.cfg routes OPTIONS to SIPp
- websocket_test.html now using WSS (WS over TLS)

7 years agocore: fixed segmentation fault I had added to forward.h
Peter Dunkley [Sat, 23 Jun 2012 20:52:15 +0000 (21:52 +0100)]
core: fixed segmentation fault I had added to forward.h

7 years agocore: added events and data-structures so that Kamailio core can transmit through...
Peter Dunkley [Sat, 23 Jun 2012 18:10:03 +0000 (19:10 +0100)]
core: added events and data-structures so that Kamailio core can transmit through the WebSocket module

7 years agomodules/websocket: added generic transmit functions to WebSocket module so Kamailio...
Peter Dunkley [Sat, 23 Jun 2012 18:08:38 +0000 (19:08 +0100)]
modules/websocket: added generic transmit functions to WebSocket module so Kamailio core can send WebSocket frames

7 years agomodules/websocket: Fixed a couple of connection issues and now dropping received...
Peter Dunkley [Sat, 23 Jun 2012 16:37:25 +0000 (17:37 +0100)]
modules/websocket: Fixed a couple of connection issues and now dropping received SIP requests into receive_msg()

- SIP parser not updated for WS and WSS yet

7 years agomodules/websocket: updated example/test kamailio.cfg to support TLS
Peter Dunkley [Sat, 23 Jun 2012 15:07:12 +0000 (16:07 +0100)]
modules/websocket: updated example/test kamailio.cfg to support TLS

- Basic WebSocket working over TLS

7 years agomodules/websocket: finished off WebSocket connection management
Peter Dunkley [Sat, 23 Jun 2012 14:03:48 +0000 (15:03 +0100)]
modules/websocket: finished off WebSocket connection management

7 years agomodules/websocket: tidied up some of the WS connection code
Peter Dunkley [Sat, 23 Jun 2012 10:31:50 +0000 (11:31 +0100)]
modules/websocket: tidied up some of the WS connection code

7 years agomodules/websocket: Closing handshake now working
Peter Dunkley [Thu, 21 Jun 2012 23:34:24 +0000 (00:34 +0100)]
modules/websocket: Closing handshake now working

- Also completed MI commands which allowed me to test Ping and Pong

7 years agomodules/websocket: More tidying up
Peter Dunkley [Thu, 21 Jun 2012 16:37:08 +0000 (17:37 +0100)]
modules/websocket: More tidying up

7 years agomodules/websocket: fixed typo
Peter Dunkley [Thu, 21 Jun 2012 15:58:05 +0000 (16:58 +0100)]
modules/websocket: fixed typo

7 years agomodules/websockets: started adding WebSocket connection management to WebSocket module
Peter Dunkley [Thu, 21 Jun 2012 15:28:57 +0000 (16:28 +0100)]
modules/websockets: started adding WebSocket connection management to WebSocket module

7 years agomodules/websocket: Added connection close code and tidied up MI commands
Peter Dunkley [Thu, 21 Jun 2012 12:50:53 +0000 (13:50 +0100)]
modules/websocket: Added connection close code and tidied up MI commands

7 years agondb_redis: README file update for unix domain socket support.
Vicente Hernando [Wed, 20 Jun 2012 19:08:19 +0000 (21:08 +0200)]
ndb_redis: README file update for unix domain socket support.

7 years agondb_redis: able to connect to redis server via unix domain socket.
Vicente Hernando [Wed, 20 Jun 2012 18:59:47 +0000 (14:59 -0400)]
ndb_redis: able to connect to redis server via unix domain socket.

- added unix atribute in server modparam
- unix attribute has higher precedence over address and port

7 years agoDisable keeping alive of dialog, if the dialog-api does not provide a dlg_flag.
Carsten Bock [Wed, 20 Jun 2012 13:41:02 +0000 (15:41 +0200)]
Disable keeping alive of dialog, if the dialog-api does not provide a dlg_flag.

7 years agondb_redis: remove warning: implicit declaration of function redisc_free_reply
Vicente Hernando [Tue, 19 Jun 2012 17:31:42 +0000 (13:31 -0400)]
ndb_redis: remove warning: implicit declaration of function redisc_free_reply

7 years agopv: new variable $cnt(...) to count the number of other array variables
Daniel-Constantin Mierla [Tue, 19 Jun 2012 13:06:03 +0000 (15:06 +0200)]
pv: new variable $cnt(...) to count the number of other array variables

- for now it supports counting AVPS - $cnt($avp(x) - returns the number
  of how many AVPs with name x exist
- future plans - count headers with same name, xavps ...