sip-router
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 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 agomodules/websocket: Filled in MI commands to dump WebSocket connection details and...
Peter Dunkley [Sun, 17 Jun 2012 20:31:29 +0000 (21:31 +0100)]
modules/websocket: Filled in MI commands to dump WebSocket connection details and Close a WebSocket

7 years agocore: Fixed a problem with receiving WebSocket frames
Peter Dunkley [Sun, 17 Jun 2012 20:30:33 +0000 (21:30 +0100)]
core: Fixed a problem with receiving WebSocket frames

- If two frames were pulled from the buffer at the same time the second
  wasn't being processed.

7 years agomodules/websocket: more work on WebSocket framing and base-protocol
Peter Dunkley [Sun, 17 Jun 2012 13:29:44 +0000 (14:29 +0100)]
modules/websocket: more work on WebSocket framing and base-protocol

7 years agocore: added clone buf support for WebSocket connections
Peter Dunkley [Sun, 17 Jun 2012 13:28:20 +0000 (14:28 +0100)]
core: added clone buf support for WebSocket connections

7 years agomodules/websocket: received frame decoding
Peter Dunkley [Sat, 16 Jun 2012 23:44:14 +0000 (00:44 +0100)]
modules/websocket: received frame decoding

7 years agocore: tidied up websocket frame length code
Peter Dunkley [Sat, 16 Jun 2012 23:43:44 +0000 (00:43 +0100)]
core: tidied up websocket frame length code

7 years agocore: improved de-buffering for websockets
Peter Dunkley [Sat, 16 Jun 2012 21:58:36 +0000 (22:58 +0100)]
core: improved de-buffering for websockets

- This should handle the case that the full TCP packet hasn't been received
  when the read function is called.  Not sure how to explicitly test this
  though.

7 years agocore: make it possible to retrieve TCP connection without updating connection liifetime
Peter Dunkley [Sat, 16 Jun 2012 21:58:00 +0000 (22:58 +0100)]
core: make it possible to retrieve TCP connection without updating connection liifetime

7 years agomodules/websocket: small tidy up to handshake code
Peter Dunkley [Sat, 16 Jun 2012 21:57:34 +0000 (22:57 +0100)]
modules/websocket: small tidy up to handshake code

7 years agocore: Added WS support/events to Kamailio core
Peter Dunkley [Sat, 16 Jun 2012 16:06:33 +0000 (17:06 +0100)]
core: Added WS support/events to Kamailio core

7 years agomodules/websocket: WS module registering for WS messages and basic handler implementation
Peter Dunkley [Sat, 16 Jun 2012 16:05:54 +0000 (17:05 +0100)]
modules/websocket: WS module registering for WS messages and basic handler implementation

7 years agomodules/websocket: more work on module boiler-plate and handshake
Peter Dunkley [Sat, 16 Jun 2012 13:38:22 +0000 (14:38 +0100)]
modules/websocket: more work on module boiler-plate and handshake

- Handshake now works with Google Chrome

7 years agomodules/websocket: Improvements to handshake handler
Peter Dunkley [Fri, 15 Jun 2012 09:17:06 +0000 (10:17 +0100)]
modules/websocket: Improvements to handshake handler

7 years agomodules/websocket: First attempt a module for websocket support
Peter Dunkley [Thu, 14 Jun 2012 23:40:28 +0000 (00:40 +0100)]
modules/websocket: First attempt a module for websocket support

- So far this is:
  - Module boiler-plate
  - WebSocket handshake
  - Example/test kamailio.cfg

7 years agomodules_k/presence: partial NOTIFYs for presence.winfo not correctly formed when...
Peter Dunkley [Thu, 14 Jun 2012 16:43:54 +0000 (17:43 +0100)]
modules_k/presence: partial NOTIFYs for presence.winfo not correctly formed when using notifier processes

- I seem to have broken things when I did a pre-merge re-order/clean-up
  of the code
- Issue found by Hugh Waite @ Crocodile RCS and fixed by Hugh Waite and
  Peter Dunkley @ Crocodile RCS

7 years agomodules_k/pua: send_publish() doesn't work correctly in DB only mode with certain DBs
Peter Dunkley [Thu, 14 Jun 2012 16:41:49 +0000 (17:41 +0100)]
modules_k/pua: send_publish() doesn't work correctly in DB only mode with certain DBs

- The pua record wasn't getting inserted in some cases
- Looks like I removed a couple of lines I shouldn't have when merging
  from Crocodile's internal SVN repository to git
- Issue found by Hugh Waite @ Crocodile RCS and fixed by Hugh Waite and
  Peter Dunkley @ Crocodile RCS

7 years agomodules_k/presence: Fixed segmentation fault when uploading pres-rules documents
Peter Dunkley [Thu, 14 Jun 2012 11:10:35 +0000 (12:10 +0100)]
modules_k/presence: Fixed segmentation fault when uploading pres-rules documents

- Found and fixed by Hugh Waite @ Crocodile RCS

7 years agopua: remove wrong free of TM callback param in send_publish()
Daniel-Constantin Mierla [Thu, 14 Jun 2012 10:24:36 +0000 (12:24 +0200)]
pua: remove wrong free of TM callback param in send_publish()

- reported by Charles Chance and Juha Heinanen

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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()

7 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

7 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.

7 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.

7 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

7 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.

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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.