sip-router
4 years agokamailio.cfg: more coherent use of curly braces for blocks
Daniel-Constantin Mierla [Thu, 18 Feb 2016 14:27:05 +0000 (15:27 +0100)]
kamailio.cfg: more coherent use of curly braces for blocks

- use them always when execution actions in if-else blocks that are not
  return-exit-drop
- single line blocks with return-exit-drop made single line with the if
  statement

4 years agoMerge pull request #503 from smititelu/SIPPROXY-195
Daniel-Constantin Mierla [Thu, 18 Feb 2016 14:19:20 +0000 (15:19 +0100)]
Merge pull request #503 from smititelu/SIPPROXY-195

Complete the list of checking routing blocks types with t_is_request_route() config function

4 years agomtree: coherent indentation
Daniel-Constantin Mierla [Sat, 13 Feb 2016 10:41:24 +0000 (11:41 +0100)]
mtree: coherent indentation

4 years agohttp_client: Updated copyright in README
Hugh Waite [Tue, 16 Feb 2016 17:45:18 +0000 (17:45 +0000)]
http_client: Updated copyright in README

4 years agopv: Fix crash when xavp has no attributes
Hugh Waite [Tue, 16 Feb 2016 17:23:50 +0000 (17:23 +0000)]
pv: Fix crash when xavp has no attributes
- Fixes the crash reported in #511

4 years agomodules/ims_registrar_pcscf: Check if we subscribe to reg_info before processing...
Richard Good [Tue, 16 Feb 2016 13:51:03 +0000 (15:51 +0200)]
modules/ims_registrar_pcscf:  Check if we subscribe to reg_info before processing notify - fix crash

4 years agohttp_async_query: update README
Camille Oudot [Tue, 16 Feb 2016 09:43:57 +0000 (10:43 +0100)]
http_async_query: update README

4 years agohttp_async_query: fix function name in doc
Camille Oudot [Tue, 16 Feb 2016 09:43:38 +0000 (10:43 +0100)]
http_async_query: fix function name in doc

4 years agohttp_async_client: $http_req returns $null when read
Camille Oudot [Tue, 16 Feb 2016 09:39:08 +0000 (10:39 +0100)]
http_async_client: $http_req returns $null when read

4 years agohttp_async_client: update README
Camille Oudot [Mon, 15 Feb 2016 17:43:56 +0000 (18:43 +0100)]
http_async_client: update README

4 years agohttp_async_client: update doc with $http_req(key)
Camille Oudot [Mon, 15 Feb 2016 17:43:00 +0000 (18:43 +0100)]
http_async_client: update doc with $http_req(key)

4 years agohttp_async_client: new $http_req() PV
Camille Oudot [Thu, 11 Feb 2016 13:59:25 +0000 (14:59 +0100)]
http_async_client: new $http_req() PV

the $http_req() PV allows to set custom request parameters for the next
asynchronous HTTP query

4 years agohttp_async_client: minor indentation changes
Giacomo Vacca [Thu, 11 Feb 2016 13:30:16 +0000 (14:30 +0100)]
http_async_client: minor indentation changes

4 years agohttp_async_client: review doc with correct module name
Giacomo Vacca [Thu, 11 Feb 2016 13:24:11 +0000 (14:24 +0100)]
http_async_client: review doc with correct module name

4 years agohttp_async_client: review tls-related param names and vars
Giacomo Vacca [Thu, 11 Feb 2016 13:19:18 +0000 (14:19 +0100)]
http_async_client: review tls-related param names and vars

4 years agohttp_async_client: refactor query string param setting
Giacomo Vacca [Thu, 11 Feb 2016 12:45:34 +0000 (13:45 +0100)]
http_async_client: refactor query string param setting

4 years agohttp_async_client: Fix minor avp doc typo (http_err)
Giacomo Vacca [Thu, 11 Feb 2016 10:47:31 +0000 (11:47 +0100)]
http_async_client: Fix minor avp doc typo (http_err)

4 years agohttp_async_client Add doxygen templates
Olle E. Johansson [Sat, 13 Feb 2016 18:58:31 +0000 (19:58 +0100)]
http_async_client Add doxygen templates

Please update with better descriptions

4 years agoNEWS update with link to 4.4.x
Olle E. Johansson [Sat, 13 Feb 2016 18:02:40 +0000 (19:02 +0100)]
NEWS update with link to 4.4.x

4 years agoISSUES add link to Github
Olle E. Johansson [Sat, 13 Feb 2016 18:01:46 +0000 (19:01 +0100)]
ISSUES add link to Github

4 years agoINSTALL Remove flavours and ser/serctl
Olle E. Johansson [Fri, 12 Feb 2016 20:53:30 +0000 (21:53 +0100)]
INSTALL Remove flavours and ser/serctl

4 years agoreadme minor updates
Olle E. Johansson [Fri, 12 Feb 2016 20:36:39 +0000 (21:36 +0100)]
readme minor updates

4 years agomodules/ims_registrar_scscf: fixed segfault on multiple impu when building notify
jaybeepee [Fri, 12 Feb 2016 18:48:14 +0000 (20:48 +0200)]
modules/ims_registrar_scscf: fixed segfault on multiple impu when building notify
    - also reported and fixed by Dragos Oancea

4 years agomodules/ims_dialog: remove double unref on dialog
jaybeepee [Fri, 12 Feb 2016 18:40:54 +0000 (20:40 +0200)]
modules/ims_dialog: remove double unref on dialog

4 years agomodules/ims_usrloc_scscf: added support for UE types required by registrar
jaybeepee [Fri, 12 Feb 2016 18:28:49 +0000 (20:28 +0200)]
modules/ims_usrloc_scscf: added support for UE types required by registrar

4 years agoRevert "modules/ims_registrar_scscf: new function to pass extra argument to lookup...
jaybeepee [Fri, 12 Feb 2016 18:13:59 +0000 (20:13 +0200)]
Revert "modules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)"

This reverts commit 574b8d6c2d0897ba69c5eec14775350508ad0778.

4 years agomodules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)
jaybeepee [Fri, 12 Feb 2016 18:12:21 +0000 (20:12 +0200)]
modules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)
    - useful if looking for a specific type of UE ie VoLTE vs SIP for example

4 years agomodules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)
jaybeepee [Fri, 12 Feb 2016 18:11:19 +0000 (20:11 +0200)]
modules/ims_registrar_scscf: new function to pass extra argument to lookup (ue_type)
    - useful if looking for a specific type of UE ie VoLTE vs SIP for example

4 years agomodules/ims_dialog: release lock on error condition
jaybeepee [Fri, 12 Feb 2016 18:04:44 +0000 (20:04 +0200)]
modules/ims_dialog: release lock on error condition

4 years agomodules/ims_dialog: pass reason to terminate function
jaybeepee [Fri, 12 Feb 2016 18:03:57 +0000 (20:03 +0200)]
modules/ims_dialog: pass reason to terminate function

4 years agomodules/ims_dialog: release lock in error conditions
jaybeepee [Fri, 12 Feb 2016 18:03:00 +0000 (20:03 +0200)]
modules/ims_dialog: release lock in error conditions

4 years agomodules/ims_dialog: changed log line from ERR to DBG
jaybeepee [Fri, 12 Feb 2016 18:01:54 +0000 (20:01 +0200)]
modules/ims_dialog: changed log line from ERR to DBG

4 years agomodules/ims_dialog: fixed dialog stats
jaybeepee [Fri, 12 Feb 2016 18:00:21 +0000 (20:00 +0200)]
modules/ims_dialog: fixed dialog stats

4 years agomodules/ims_dialog: added extra info to log line - transaction ptr
jaybeepee [Fri, 12 Feb 2016 17:55:52 +0000 (19:55 +0200)]
modules/ims_dialog: added extra info to log line - transaction ptr

4 years agomodules/cdp: update last used time when sending diameter message to peer
jaybeepee [Thu, 11 Feb 2016 08:44:07 +0000 (10:44 +0200)]
modules/cdp: update last used time when sending diameter message to peer

4 years agomodules/cdp: changed WARN log to DBG
jaybeepee [Thu, 11 Feb 2016 08:41:43 +0000 (10:41 +0200)]
modules/cdp: changed WARN log to DBG

4 years agoseas: safety check for target buffer size before copying message in encode_msg()
Daniel-Constantin Mierla [Fri, 12 Feb 2016 17:04:19 +0000 (18:04 +0100)]
seas: safety check for target buffer size before copying message in encode_msg()

- avoid buffer overflow for large SIP messages
- reported by Stelios Tsampas

4 years agoregistrar: send 400 if the reg-id value is invalid
Daniel-Constantin Mierla [Thu, 11 Feb 2016 22:07:56 +0000 (23:07 +0100)]
registrar: send 400 if the reg-id value is invalid

- reported by GH #497

4 years agotls: debug messages for mutex ops with lock function
Daniel-Constantin Mierla [Thu, 11 Feb 2016 21:15:39 +0000 (22:15 +0100)]
tls: debug messages for mutex ops with lock function

4 years agomodules/ims_registrar_pcscf: fix rank for forked process to get DB initialisation...
jaybeepee [Thu, 11 Feb 2016 08:40:04 +0000 (10:40 +0200)]
modules/ims_registrar_pcscf: fix rank for forked process to get DB initialisation (pua) (reverted from commit 02059e32fde2008ed906fa8ff35d79762ac97412)

4 years agomodules/ims_registrar_pcscf: fix rank for forked process to get DB initialisation...
jaybeepee [Thu, 11 Feb 2016 08:36:26 +0000 (10:36 +0200)]
modules/ims_registrar_pcscf: fix rank for forked process to get DB initialisation (pua)

4 years agomodules/ims_charging: clean from uri to remove parameters before using as PAI
jaybeepee [Thu, 11 Feb 2016 08:35:27 +0000 (10:35 +0200)]
modules/ims_charging: clean from uri to remove parameters before using as PAI

4 years agomodules/ims_charging: changed log line from ERR to DBG
jaybeepee [Thu, 11 Feb 2016 08:34:06 +0000 (10:34 +0200)]
modules/ims_charging: changed log line from ERR to DBG

4 years agoexamples: updated ims configs to use ims_dialog module
Daniel-Constantin Mierla [Tue, 9 Feb 2016 12:26:15 +0000 (13:26 +0100)]
examples: updated ims configs to use ims_dialog module

4 years agoims_charging: updated docs for dependency on ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 12:23:22 +0000 (13:23 +0100)]
ims_charging: updated docs for dependency on ims_dialog

4 years agoims_dialog: updated the docs to reflect the module rename
Daniel-Constantin Mierla [Tue, 9 Feb 2016 11:20:54 +0000 (12:20 +0100)]
ims_dialog: updated the docs to reflect the module rename

4 years agoims_qos: updates short part to ims_dialog module
Daniel-Constantin Mierla [Tue, 9 Feb 2016 11:20:33 +0000 (12:20 +0100)]
ims_qos: updates short part to ims_dialog module

4 years agoims_charging: updated short path to ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 11:20:15 +0000 (12:20 +0100)]
ims_charging: updated short path to ims_dialog

4 years agosnmpstas: detect if ims_dialog module is loaded
Daniel-Constantin Mierla [Tue, 9 Feb 2016 11:19:41 +0000 (12:19 +0100)]
snmpstas: detect if ims_dialog module is loaded

4 years agoims_dialog: Makefile update after rename
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:59:04 +0000 (11:59 +0100)]
ims_dialog: Makefile update after rename

4 years agoims_dialog: updated names for doc files
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:49:48 +0000 (11:49 +0100)]
ims_dialog: updated names for doc files

4 years agoims_dialog: set the inner name after rename
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:48:04 +0000 (11:48 +0100)]
ims_dialog: set the inner name after rename

4 years agoims_usrloc_scscf: include path updated for ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:47:10 +0000 (11:47 +0100)]
ims_usrloc_scscf: include path updated for ims_dialog

4 years agoims_registrar_scscf: updates for renaming ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:46:52 +0000 (11:46 +0100)]
ims_registrar_scscf: updates for renaming ims_dialog

4 years agoims_qos: updates for ims_dialog renaming
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:46:20 +0000 (11:46 +0100)]
ims_qos: updates for ims_dialog renaming

4 years agoims_icscf: updates for ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:45:51 +0000 (11:45 +0100)]
ims_icscf: updates for ims_dialog

4 years agoims_charging: updates for ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:45:20 +0000 (11:45 +0100)]
ims_charging: updates for ims_dialog

4 years agoims_auth: updates for ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:43:42 +0000 (11:43 +0100)]
ims_auth: updates for ims_dialog

4 years agoMakefile.groups: renamed dialog_ng to ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:33:18 +0000 (11:33 +0100)]
Makefile.groups: renamed dialog_ng to ims_dialog

4 years agoims_dialog: renamed the main file of the module to ims_dialog.c
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:32:32 +0000 (11:32 +0100)]
ims_dialog: renamed the main file of the module to ims_dialog.c

4 years agodialog_ng: renamed to ims_dialog
Daniel-Constantin Mierla [Tue, 9 Feb 2016 10:30:42 +0000 (11:30 +0100)]
dialog_ng: renamed to ims_dialog

- reflecting better the target usage at this moment
- future considerations can results in merging both dialog modules in a
  single one

4 years agoMerge pull request #504 from kamailio/co/tcp_closed_event_enhancements
Daniel-Constantin Mierla [Tue, 9 Feb 2016 09:45:46 +0000 (10:45 +0100)]
Merge pull request #504 from kamailio/co/tcp_closed_event_enhancements

tcp:closed event enhancements

4 years agoetc/kamailio.cfg: small polishings
Daniel-Constantin Mierla [Tue, 9 Feb 2016 07:36:24 +0000 (08:36 +0100)]
etc/kamailio.cfg: small polishings

- drop silently traffic from scanners
- removed fork=yes (it is default value)

4 years agotcpops: update README co/tcp_closed_event_enhancements co/tcp_closed_event_enhancements-8bf03256 504/head
Camille Oudot [Mon, 8 Feb 2016 19:03:21 +0000 (20:03 +0100)]
tcpops: update README

4 years agotcpops: add "disabled mode" to closed_event param
Camille Oudot [Mon, 8 Feb 2016 18:59:19 +0000 (19:59 +0100)]
tcpops: add "disabled mode" to closed_event param

this mode will bypass the event callback registration to improve
performances when the "tcp:closed" route feature is not needed

4 years agotmx: Update doku 503/head
Stefan Mititelu [Mon, 8 Feb 2016 09:03:39 +0000 (11:03 +0200)]
tmx: Update doku

Update doku for t_is_request_route() config function.

4 years agotmx: Add t_is_request_route() config function
Stefan Mititelu [Mon, 8 Feb 2016 08:55:00 +0000 (10:55 +0200)]
tmx: Add t_is_request_route() config function

Add t_is_request_route() config function.

4 years agoauth_db: use username when querying for credentials via is_subscriber
Daniel-Constantin Mierla [Sun, 7 Feb 2016 19:21:27 +0000 (20:21 +0100)]
auth_db: use username when querying for credentials via is_subscriber

- for the case when credentials should not be stored, just discover if a
  record exists for the user
- avoids buffer overflow by setting all credentials columns, while
  trying to use only the first column
- reported by Anthony Messina, GH #500

4 years agopresence_mwi: fixed indentation and trailing whitespaces
Daniel-Constantin Mierla [Sun, 7 Feb 2016 18:59:55 +0000 (19:59 +0100)]
presence_mwi: fixed indentation and trailing whitespaces

4 years agopresence_mwi: static declaration for inline function for eating spaces
Daniel-Constantin Mierla [Sun, 7 Feb 2016 18:55:25 +0000 (19:55 +0100)]
presence_mwi: static declaration for inline function for eating spaces

- based on a report by Anthony Messina, GH #502
- get rid of undefined symbols for some compilers

4 years agoauth_db: removed trailing spaces for sane git diff
Daniel-Constantin Mierla [Sun, 7 Feb 2016 18:54:47 +0000 (19:54 +0100)]
auth_db: removed trailing spaces for sane git diff

4 years agoacc: regenerated the readme from latest docbook
Daniel-Constantin Mierla [Sun, 7 Feb 2016 09:25:00 +0000 (10:25 +0100)]
acc: regenerated the readme from latest docbook

4 years agoims_registrar_scscf: added the readme
Daniel-Constantin Mierla [Sun, 7 Feb 2016 09:23:23 +0000 (10:23 +0100)]
ims_registrar_scscf: added the readme

4 years agomodules/tmx: regenerated README
Juha Heinanen [Sun, 7 Feb 2016 06:28:51 +0000 (08:28 +0200)]
modules/tmx: regenerated README

4 years agocorex: fix regression introduced with detection of ipv6 for send()
Daniel-Constantin Mierla [Fri, 5 Feb 2016 08:18:48 +0000 (09:18 +0100)]
corex: fix regression introduced with detection of ipv6 for send()

- reported by Paul Arnold, GH #496

4 years agohttp_client: documentation
Hugh Waite [Thu, 4 Feb 2016 17:17:24 +0000 (17:17 +0000)]
http_client: documentation
- Complete devel guide for http_client C API functions
- Regenerate README

4 years agopkg/kamailio/deb: version set to 4.4.0-pre0
Victor Seva [Thu, 4 Feb 2016 10:53:09 +0000 (11:53 +0100)]
pkg/kamailio/deb: version set to 4.4.0-pre0

4 years agohttp_client: Rename C API functions following module rename
Hugh Waite [Thu, 4 Feb 2016 10:07:42 +0000 (10:07 +0000)]
http_client: Rename C API functions following module rename

4 years agohttp_client: Fix build with older versions of libcurl
Hugh Waite [Thu, 4 Feb 2016 09:35:23 +0000 (09:35 +0000)]
http_client: Fix build with older versions of libcurl
- Remove use of enums for curl TLS versions
- Increase logging to warning for invalid parameter values

4 years agoMakefile.defs: version set to 4.4.0-pre0
Daniel-Constantin Mierla [Thu, 4 Feb 2016 09:56:30 +0000 (10:56 +0100)]
Makefile.defs: version set to 4.4.0-pre0

4 years agocore: avoid compiler warning about variable cl being set but not used
Juha Heinanen [Thu, 4 Feb 2016 02:43:40 +0000 (04:43 +0200)]
core: avoid compiler warning about variable cl being set but not used

4 years agosipcapture: docs for topoh_unmask parameter
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:52:11 +0000 (22:52 +0100)]
sipcapture: docs for topoh_unmask parameter

4 years agosipcapture: new parameter topoh_unmask
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:48:25 +0000 (22:48 +0100)]
sipcapture: new parameter topoh_unmask

- if set to 1, call-id will be unmasked using topoh module api

4 years agosipcapture: removed trailing whitespaces
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:40:52 +0000 (22:40 +0100)]
sipcapture: removed trailing whitespaces

4 years agosipcapture: coherent indentation
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:39:02 +0000 (22:39 +0100)]
sipcapture: coherent indentation

4 years agotopoh: exported inter-module api
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:35:29 +0000 (22:35 +0100)]
topoh: exported inter-module api

- contains function to unmask callid

4 years agosiputils: docs for sip_p_charging_vector() function
Daniel-Constantin Mierla [Wed, 3 Feb 2016 21:03:29 +0000 (22:03 +0100)]
siputils: docs for sip_p_charging_vector() function

4 years agosiputils: exported $pcv(name) var and sip_p_charing_vector() func
Emmanuel BUU [Wed, 3 Feb 2016 20:56:30 +0000 (21:56 +0100)]
siputils: exported $pcv(name) var and sip_p_charing_vector() func

- based on GH #215
- $pcv(all) = whole field
- $pcv(value) = icid-value field (see RFC3455 section 5.6)
- $pcv(genaddr) = icid-generated-at field (see RFC3455 section 5.6)

4 years agosiputils: p-charging-vector header management
Emmanuel BUU [Wed, 3 Feb 2016 20:43:48 +0000 (21:43 +0100)]
siputils: p-charging-vector header management

- based on GH #215

4 years agokamctl: pi framework xml definition update
Daniel-Constantin Mierla [Wed, 3 Feb 2016 20:23:50 +0000 (21:23 +0100)]
kamctl: pi framework xml definition update

4 years agoMerge pull request #489 from mslehto/valuesh
Daniel-Constantin Mierla [Wed, 3 Feb 2016 20:18:36 +0000 (21:18 +0100)]
Merge pull request #489 from mslehto/valuesh

modules/ims_icscf: removes values.h dependency

4 years agoMerge pull request #486 from kamailio/lazedo/presence_improvements
Daniel-Constantin Mierla [Wed, 3 Feb 2016 20:16:10 +0000 (21:16 +0100)]
Merge pull request #486 from kamailio/lazedo/presence_improvements

presence: improvements for 4.4

4 years agomodules/ims_icscf: use INT_MAX instead of MAXINT 489/head
Mikko Lehto [Wed, 3 Feb 2016 19:31:03 +0000 (21:31 +0200)]
modules/ims_icscf: use INT_MAX instead of MAXINT

4 years agohttp_client: Clean up connection parameter definitions
Hugh Waite [Wed, 3 Feb 2016 18:47:39 +0000 (18:47 +0000)]
http_client: Clean up connection parameter definitions
- Add TLSversion enums to config file
- Add boolean types to config file
- Make connection parameter names consistent across default modparam/httpcon/configfile
- Update documentation and README

4 years agopkg/kamailio/deb: update version to 4.4.0~dev9
Victor Seva [Wed, 3 Feb 2016 17:30:09 +0000 (18:30 +0100)]
pkg/kamailio/deb: update version to 4.4.0~dev9

4 years agoMakefile.defs: version set to 4.4.0-dev9
Daniel-Constantin Mierla [Wed, 3 Feb 2016 16:38:47 +0000 (17:38 +0100)]
Makefile.defs: version set to 4.4.0-dev9

4 years agoMakefile.groups: group for http_async module
Daniel-Constantin Mierla [Wed, 3 Feb 2016 16:33:33 +0000 (17:33 +0100)]
Makefile.groups: group for http_async module

- depends on curl and event2 libs

4 years agotopos: update sip headers for initial request forwarding
Daniel-Constantin Mierla [Wed, 3 Feb 2016 16:25:54 +0000 (17:25 +0100)]
topos: update sip headers for initial request forwarding

4 years agokamctl: refreshed db creation scripts
Daniel-Constantin Mierla [Wed, 3 Feb 2016 16:25:23 +0000 (17:25 +0100)]
kamctl: refreshed db creation scripts

4 years agolib/srdb1: updated xml shemas for topos tables
Daniel-Constantin Mierla [Wed, 3 Feb 2016 16:24:55 +0000 (17:24 +0100)]
lib/srdb1: updated xml shemas for topos tables