sip-router
2 years agotravis-ci: enable parallel builds on stretch and sid based images
Victor Seva [Thu, 14 Dec 2017 19:39:21 +0000 (20:39 +0100)]
travis-ci: enable parallel builds on stretch and sid based images

2 years agokamctl: use VERIFY_USER variable to control if user check is done
Daniel-Constantin Mierla [Thu, 14 Dec 2017 13:55:27 +0000 (14:55 +0100)]
kamctl: use VERIFY_USER variable to control if user check is done

- help automating some commands such as acl grant

2 years agocore: events - fix getting str pointer for EXTRA_DEBUG log message
Daniel-Constantin Mierla [Thu, 14 Dec 2017 13:05:39 +0000 (14:05 +0100)]
core: events - fix getting str pointer for EXTRA_DEBUG log message

- reported by GH #1367

2 years ago usrloc: extend handle_lost_tcp use for get_urecord (#1366)
Vasiliy Ganchev [Thu, 14 Dec 2017 13:04:07 +0000 (15:04 +0200)]
 usrloc: extend handle_lost_tcp use for get_urecord (#1366)

* usrloc: extend handle_lost_tcp use for get_urecord

* usrloc: extend handle_lost_tcp, do not use inline functions

2 years agopkg/kamailio/deb: version set to 5.2.0~dev2
Victor Seva [Thu, 14 Dec 2017 12:08:02 +0000 (13:08 +0100)]
pkg/kamailio/deb: version set to 5.2.0~dev2

2 years agoMakefile.defs: version set to 5.2.0-dev2
Daniel-Constantin Mierla [Thu, 14 Dec 2017 08:07:15 +0000 (09:07 +0100)]
Makefile.defs: version set to 5.2.0-dev2

2 years agogroup: use proper variable to get the domain
Daniel-Constantin Mierla [Thu, 14 Dec 2017 07:23:13 +0000 (08:23 +0100)]
group: use proper variable to get the domain

- mode debug messages
- closes GH #1363

2 years agopkg/kamailio/deb: dictionary.kamailio was on kamailio package before 5.1
Victor Seva [Wed, 13 Dec 2017 10:49:34 +0000 (11:49 +0100)]
pkg/kamailio/deb: dictionary.kamailio was on kamailio package before 5.1

> Unpacking kamailio-radius-modules:amd64 (5.2.0~dev1+0~20171213010255.996+stretch) over (4.4.4-2) ...
>  dpkg: error processing archive /tmp/apt-dpkg-install-nbxn3s/056-kamailio-radius-modules_5.2.0~dev1+0~20171213010255.996+stretch_amd64.deb (--unpack):
>   trying to overwrite '/etc/kamailio/dictionary.kamailio', which is also in package kamailio 4.4.4-2

2 years agoMerge pull request #1360 from tdimitrov/ipsec
ng-voice GmbH [Tue, 12 Dec 2017 12:01:38 +0000 (13:01 +0100)]
Merge pull request #1360 from tdimitrov/ipsec

ims_registar_pcscf: security_t parameters should be allocated on shared memory

2 years agomodules: readme files regenerated - pua_rpc ... [skip ci]
Kamailio Dev [Tue, 12 Dec 2017 09:16:37 +0000 (10:16 +0100)]
modules: readme files regenerated - pua_rpc ... [skip ci]

2 years agopua_rpc: documentation for pua.send_publish rpc command
Daniel-Constantin Mierla [Tue, 12 Dec 2017 09:01:55 +0000 (10:01 +0100)]
pua_rpc: documentation for pua.send_publish rpc command

2 years agopua_rpc: added pua.send_publish rpc command
Daniel-Constantin Mierla [Tue, 12 Dec 2017 08:58:44 +0000 (09:58 +0100)]
pua_rpc: added pua.send_publish rpc command

- send a PUBLISH request without waiting for response

2 years agopua_rpc: use RPC flags for callbacks
Daniel-Constantin Mierla [Tue, 12 Dec 2017 08:49:04 +0000 (09:49 +0100)]
pua_rpc: use RPC flags for callbacks

2 years agopua: renamed MI flags to reflect use of RPC
Daniel-Constantin Mierla [Tue, 12 Dec 2017 08:48:45 +0000 (09:48 +0100)]
pua: renamed MI flags to reflect use of RPC

2 years agopkg/kamailio: updated to the docs about building the packages
Daniel-Constantin Mierla [Tue, 12 Dec 2017 08:09:56 +0000 (09:09 +0100)]
pkg/kamailio: updated to the docs about building the packages

2 years agoMerge pull request #1347 from sergey-safarov/master
Daniel-Constantin Mierla [Tue, 12 Dec 2017 07:34:00 +0000 (08:34 +0100)]
Merge pull request #1347 from sergey-safarov/master

pkg/kamailio: Created Makefile for RPM packaging

2 years agoims_registrar_pcscf: Fix memory allocation for security_t parameters in contact 1360/head
Tsvetomir Dimitrov [Mon, 11 Dec 2017 15:22:07 +0000 (15:22 +0000)]
ims_registrar_pcscf: Fix memory allocation for security_t parameters in contact

2 years agoims_usrloc_pcscf: Add new function free_security() which deallocates security_t param...
Tsvetomir Dimitrov [Mon, 11 Dec 2017 15:20:14 +0000 (15:20 +0000)]
ims_usrloc_pcscf: Add new function free_security() which deallocates security_t parameter from a contact

2 years agocore: README - INSTALL small updates for development v5.2
Daniel-Constantin Mierla [Mon, 11 Dec 2017 13:42:22 +0000 (14:42 +0100)]
core: README - INSTALL small updates for development v5.2

2 years agopkg/kamailio/deb: xenial needs libbson-dev too for libmongoc-dev
Victor Seva [Mon, 11 Dec 2017 11:45:20 +0000 (12:45 +0100)]
pkg/kamailio/deb: xenial needs libbson-dev too for libmongoc-dev

2 years agopkg/kamailio/deb: kamailio-mongodb-modules [skip ci]
Victor Seva [Mon, 11 Dec 2017 10:15:20 +0000 (11:15 +0100)]
pkg/kamailio/deb: kamailio-mongodb-modules [skip ci]

2 years agopkg/kamailio/deb: integrate xenial libgeocoding change [skip ci]
Victor Seva [Mon, 11 Dec 2017 08:25:21 +0000 (09:25 +0100)]
pkg/kamailio/deb: integrate xenial libgeocoding change [skip ci]
in backports/xenial script

* add wrap-and-sort on all scripts

2 years agopkg/deb: ubuntu xenial has a dedicated package for libgeocoding
Daniel-Constantin Mierla [Sun, 10 Dec 2017 08:34:29 +0000 (09:34 +0100)]
pkg/deb: ubuntu xenial has a dedicated package for libgeocoding

- other debian varians have it inside libphonenumber

2 years agodb_berkeley: removed inline declaration that break the linking
Daniel-Constantin Mierla [Sun, 10 Dec 2017 08:21:52 +0000 (09:21 +0100)]
db_berkeley: removed inline declaration that break the linking

2 years agoims_usrloc_scscf: remove inline to functions that break the symbol linking
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:49:57 +0000 (13:49 +0100)]
ims_usrloc_scscf: remove inline to functions that break the symbol linking

2 years agoims_charging: remove inline to functions that break the symbol linking
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:49:35 +0000 (13:49 +0100)]
ims_charging: remove inline to functions that break the symbol linking

2 years agodb_perlvdb: remove inline to functions that break the symbol linking
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:47:50 +0000 (13:47 +0100)]
db_perlvdb: remove inline to functions that break the symbol linking

2 years agocdp: remove inline to functions that break the symbol linking
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:47:33 +0000 (13:47 +0100)]
cdp: remove inline to functions that break the symbol linking

2 years agoauth_diameter: init socketfd variable
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:46:07 +0000 (13:46 +0100)]
auth_diameter: init socketfd variable

- remove inline to functions that break the symbol linking

2 years agophonenum: linking with libphonenumbers requires -lgeocoding
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:45:08 +0000 (13:45 +0100)]
phonenum: linking with libphonenumbers requires -lgeocoding

2 years agomisc_radius: fixed name of function exported to cfg
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:44:28 +0000 (13:44 +0100)]
misc_radius: fixed name of function exported to cfg

2 years agoacc_diameter: use acc api to parse extra string
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:43:22 +0000 (13:43 +0100)]
acc_diameter: use acc api to parse extra string

- remove inline to avoid missing symbol in linker

2 years agorls: define cfg function with two parameters even one is used
Daniel-Constantin Mierla [Sat, 9 Dec 2017 12:41:29 +0000 (13:41 +0100)]
rls: define cfg function with two parameters even one is used

2 years agopresence: update record_route in database
lazedo [Fri, 8 Dec 2017 19:36:20 +0000 (19:36 +0000)]
presence: update record_route in database

2 years agokamctl: regenerated scripts to create database structure for presence
Daniel-Constantin Mierla [Sat, 9 Dec 2017 08:21:46 +0000 (09:21 +0100)]
kamctl: regenerated scripts to create database structure for presence

2 years agoMerge pull request #1345 from kamailio/lazedo-patch-2
Daniel-Constantin Mierla [Sat, 9 Dec 2017 08:20:00 +0000 (09:20 +0100)]
Merge pull request #1345 from kamailio/lazedo-patch-2

schema: allow null in active_watchers reason

2 years agoipops: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 9 Dec 2017 07:55:25 +0000 (08:55 +0100)]
ipops: exported functions to kemi framework

2 years agoipops: use sip_msg_t type
Daniel-Constantin Mierla [Fri, 8 Dec 2017 22:08:25 +0000 (23:08 +0100)]
ipops: use sip_msg_t type

- set cfg functions signatures with two parameters

2 years agosipdump: safety check for received address
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:47:39 +0000 (16:47 +0100)]
sipdump: safety check for received address

2 years agorls: avoid walking a null string
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:44:56 +0000 (16:44 +0100)]
rls: avoid walking a null string

2 years agopua: safety check for params values
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:44:01 +0000 (16:44 +0100)]
pua: safety check for params values

2 years agoauth_ephemeral: init the return code
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:43:17 +0000 (16:43 +0100)]
auth_ephemeral: init the return code

2 years agotls: safety checks for select values
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:42:19 +0000 (16:42 +0100)]
tls: safety checks for select values

2 years agocore: select - init proto string to udp
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:41:53 +0000 (16:41 +0100)]
core: select - init proto string to udp

2 years agocore: receive - clang format the code
Daniel-Constantin Mierla [Fri, 8 Dec 2017 15:41:35 +0000 (16:41 +0100)]
core: receive - clang format the code

2 years agodb2_ops: safety check for input parameter
Daniel-Constantin Mierla [Fri, 8 Dec 2017 14:18:05 +0000 (15:18 +0100)]
db2_ops: safety check for input parameter

2 years agodb_postgres: avoid potential double free if sb url parsing fails
Daniel-Constantin Mierla [Fri, 8 Dec 2017 14:01:18 +0000 (15:01 +0100)]
db_postgres: avoid potential double free if sb url parsing fails

2 years agocplc: null terminate log string
Daniel-Constantin Mierla [Fri, 8 Dec 2017 13:51:26 +0000 (14:51 +0100)]
cplc: null terminate log string

- reset field to avoid double free

2 years agoMakefile.groups: add evrexec module to extra group
Victor Seva [Fri, 8 Dec 2017 13:25:49 +0000 (14:25 +0100)]
Makefile.groups: add evrexec module to extra group

2 years agopkg/kamailio/deb: phonenum requires libphonenum >= 7
Victor Seva [Fri, 8 Dec 2017 13:16:52 +0000 (14:16 +0100)]
pkg/kamailio/deb: phonenum requires libphonenum >= 7

* remove jessie support

2 years agopkg/kamailio/deb: kamailio-phonenum-modules [skip ci]
Victor Seva [Fri, 8 Dec 2017 11:29:12 +0000 (12:29 +0100)]
pkg/kamailio/deb: kamailio-phonenum-modules [skip ci]

2 years agoapp_python: enabled rpc command to reload the script
Daniel-Constantin Mierla [Fri, 8 Dec 2017 11:17:07 +0000 (12:17 +0100)]
app_python: enabled rpc command to reload the script

- reload command performs the mod_init and child_init operations
- not tested yet

2 years agocore: kemi - removed redundant anchor operation
Daniel-Constantin Mierla [Fri, 8 Dec 2017 09:53:18 +0000 (10:53 +0100)]
core: kemi - removed redundant anchor operation

2 years agopresence: extra columns updated for dbmode 2
lazedo [Wed, 6 Dec 2017 17:38:19 +0000 (17:38 +0000)]
presence: extra columns updated for dbmode 2

we noticed some phones and upstream clusters sending
diferent route / contact after initial subscription.

this commit adds contact and record_route to updated columns for dbmode = 2
also adds user_agent to initial save
and a simple fix for getting the correct message in debug

2 years agotm: restore backup char inside ki_t_check_status()
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:47:01 +0000 (09:47 +0100)]
tm: restore backup char inside ki_t_check_status()

2 years agopkg/kamailio/deb: geoip2 module [skip ci]
Victor Seva [Fri, 8 Dec 2017 08:32:46 +0000 (09:32 +0100)]
pkg/kamailio/deb: geoip2 module [skip ci]

fix #1352

2 years agotextopsx: proper check for null value inside ki_modify_hf()
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:31:21 +0000 (09:31 +0100)]
textopsx: proper check for null value inside ki_modify_hf()

2 years agorabbitmq: proper test of pv cache lookup return
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:27:11 +0000 (09:27 +0100)]
rabbitmq: proper test of pv cache lookup return

2 years agopresence: increased the size of db update arrays in update_subs_db()
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:25:12 +0000 (09:25 +0100)]
presence: increased the size of db update arrays in update_subs_db()

2 years agopeering: check return code when parsing all headers
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:22:20 +0000 (09:22 +0100)]
peering: check return code when parsing all headers

2 years agolcr: safety checks for parms of kemi functions
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:20:02 +0000 (09:20 +0100)]
lcr: safety checks for parms of kemi functions

2 years agohttp_client: fixed safety check looking up var names
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:07:40 +0000 (09:07 +0100)]
http_client: fixed safety check looking up var names

2 years agocrypto: fixed safety check looking up var names
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:04:35 +0000 (09:04 +0100)]
crypto: fixed safety check looking up var names

2 years agoauth_radius: safety check for r variable
Daniel-Constantin Mierla [Fri, 8 Dec 2017 08:01:18 +0000 (09:01 +0100)]
auth_radius: safety check for r variable

2 years agocore: kemi - break when matching the header name
Daniel-Constantin Mierla [Fri, 8 Dec 2017 07:58:20 +0000 (08:58 +0100)]
core: kemi - break when matching the header name

2 years agocore: pvapi - set prev variable when dropping from cache
Daniel-Constantin Mierla [Fri, 8 Dec 2017 07:57:59 +0000 (08:57 +0100)]
core: pvapi - set prev variable when dropping from cache

2 years agoapp_mono: safety check beforing accessing field inside pointer
Daniel-Constantin Mierla [Fri, 8 Dec 2017 07:57:17 +0000 (08:57 +0100)]
app_mono: safety check beforing accessing field inside pointer

- zero terminated allocated strings

2 years agokamctl: regenerate db creation scripts
Daniel-Constantin Mierla [Fri, 8 Dec 2017 07:42:00 +0000 (08:42 +0100)]
kamctl: regenerate db creation scripts

2 years agoMerge pull request #1355 from sergey-vb/master
Daniel-Constantin Mierla [Fri, 8 Dec 2017 07:17:49 +0000 (08:17 +0100)]
Merge pull request #1355 from sergey-vb/master

schema: add indexes to topos Mysql tables

2 years agoschema: add indexes to topos Mysql tables (#13) 1355/head
sergey-vb [Fri, 8 Dec 2017 06:50:11 +0000 (08:50 +0200)]
schema: add indexes to topos Mysql tables (#13)

* topos: update topos_d.xml

To optimize DB query speedup I propose to add few indexes.

*  topos: update topos_t.xml

To optimize DB query speedup I propose to add few indexes.

2 years agolog_systemd: fixed typo in previous commit
Daniel-Constantin Mierla [Thu, 7 Dec 2017 14:24:44 +0000 (15:24 +0100)]
log_systemd: fixed typo in previous commit

2 years agosca: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 7 Dec 2017 14:05:54 +0000 (15:05 +0100)]
sca: exported functions to kemi framework

2 years agosca: get cfg int parameter in wrapper functions
Daniel-Constantin Mierla [Thu, 7 Dec 2017 13:44:00 +0000 (14:44 +0100)]
sca: get cfg int parameter in wrapper functions

2 years agolog_systemd: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 7 Dec 2017 13:43:11 +0000 (14:43 +0100)]
log_systemd: exported functions to kemi framework

2 years agocounters: exported functions to kemi interface
Daniel-Constantin Mierla [Thu, 7 Dec 2017 13:19:57 +0000 (14:19 +0100)]
counters: exported functions to kemi interface

2 years agomsilo: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 7 Dec 2017 09:52:15 +0000 (10:52 +0100)]
msilo: exported functions to kemi framework

2 years agorls: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 7 Dec 2017 09:05:47 +0000 (10:05 +0100)]
rls: exported functions to kemi framework

2 years agorabbitmq: functions exported to kemi framework
Daniel-Constantin Mierla [Thu, 7 Dec 2017 07:35:23 +0000 (08:35 +0100)]
rabbitmq: functions exported to kemi framework

2 years agoauth_ephemeral: variants of auth functions exported to kemi
Daniel-Constantin Mierla [Thu, 7 Dec 2017 07:34:55 +0000 (08:34 +0100)]
auth_ephemeral: variants of auth functions exported to kemi

2 years agorabbitmq: clang format the code
Daniel-Constantin Mierla [Wed, 6 Dec 2017 20:16:35 +0000 (21:16 +0100)]
rabbitmq: clang format the code

2 years agouac_redirect: exported get_redirects() variants to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 20:11:11 +0000 (21:11 +0100)]
uac_redirect: exported get_redirects() variants to kemi framework

2 years agomodules: readme files regenerated - benchmark ... [skip ci]
Kamailio Dev [Wed, 6 Dec 2017 19:16:24 +0000 (20:16 +0100)]
modules: readme files regenerated - benchmark ... [skip ci]

2 years agobenchmark: documentation for register parameter
Daniel-Constantin Mierla [Wed, 6 Dec 2017 19:00:50 +0000 (20:00 +0100)]
benchmark: documentation for register parameter

2 years agobenchmark: exported functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 18:56:32 +0000 (19:56 +0100)]
benchmark: exported functions to kemi framework

- new parameter 'register' - register a timer id, required when using
kemi framework, because there is no fixup mechanism to register timer
ids based on function params

2 years agogroup: is_user_in() exported to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 17:10:12 +0000 (18:10 +0100)]
group: is_user_in() exported to kemi framework

2 years agoMerge pull request #1348 from grumvalski/local_request_crash
Federico Cabiddu [Wed, 6 Dec 2017 16:18:47 +0000 (17:18 +0100)]
Merge pull request #1348 from grumvalski/local_request_crash

tm: make t_run_local_req reentrant

2 years agohttp_async_client: exported query function to kemi interface
Daniel-Constantin Mierla [Wed, 6 Dec 2017 16:00:41 +0000 (17:00 +0100)]
http_async_client: exported query function to kemi interface

2 years agotm: t_check_status exported to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 15:50:39 +0000 (16:50 +0100)]
tm: t_check_status exported to kemi framework

2 years agouserblacklist: exported user check functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 15:38:56 +0000 (16:38 +0100)]
userblacklist: exported user check functions to kemi framework

2 years agouri_db: functions exported to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 14:52:25 +0000 (15:52 +0100)]
uri_db: functions exported to kemi framework

2 years agomediaproxy: export functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 11:31:28 +0000 (12:31 +0100)]
mediaproxy: export functions to kemi framework

2 years agondb_mongodb: exported functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 10:43:38 +0000 (11:43 +0100)]
ndb_mongodb: exported functions to kemi framework

2 years agoasync: use t_continue_cb() for executing via kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 10:19:00 +0000 (11:19 +0100)]
async: use t_continue_cb() for executing via kemi framework

2 years agohttp_async_client: exported functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 07:51:39 +0000 (08:51 +0100)]
http_async_client: exported functions to kemi framework

2 years agotmx: exported the rest of the functions to kemi framework
Daniel-Constantin Mierla [Wed, 6 Dec 2017 07:51:09 +0000 (08:51 +0100)]
tmx: exported the rest of the functions to kemi framework

2 years agotm: allow execution of t_continue with callback name
Daniel-Constantin Mierla [Wed, 6 Dec 2017 07:50:23 +0000 (08:50 +0100)]
tm: allow execution of t_continue with callback name

- t_continue_cb() exported to tm api

2 years agohttp_async_client: propagate route name to https async callback
Daniel-Constantin Mierla [Tue, 5 Dec 2017 16:22:24 +0000 (17:22 +0100)]
http_async_client: propagate route name to https async callback

- lookup actions in target process, rather than in originating one

2 years agohttp_async_client: use directly the core fixup helper
Daniel-Constantin Mierla [Tue, 5 Dec 2017 15:54:21 +0000 (16:54 +0100)]
http_async_client: use directly the core fixup helper

2 years agohttp_async_client: use route_lookup() instead of route_get()
Daniel-Constantin Mierla [Tue, 5 Dec 2017 15:50:59 +0000 (16:50 +0100)]
http_async_client: use route_lookup() instead of route_get()

- avoids creating a useless route block structure

2 years agohttp_client: exported functions to kemi framework
Daniel-Constantin Mierla [Tue, 5 Dec 2017 15:45:27 +0000 (16:45 +0100)]
http_client: exported functions to kemi framework