sip-router
3 years agoexamples, modules: fix common typo [skip ci]
Mikko Lehto [Fri, 2 Jun 2017 00:36:51 +0000 (03:36 +0300)]
examples, modules: fix common typo [skip ci]

3 years agoMerge pull request #1158 from kamailio/pv-received-adv-address
Daniel-Constantin Mierla [Tue, 20 Jun 2017 16:54:12 +0000 (18:54 +0200)]
Merge pull request #1158 from kamailio/pv-received-adv-address

pv: add received ip/port pvars for advertised ip/port

3 years agopv: add received ip/port pvars for advertised ip/port pv-received-adv-address 1158/head
lazedo [Tue, 20 Jun 2017 14:24:09 +0000 (15:24 +0100)]
pv: add received ip/port pvars for advertised ip/port

adds $RAi , $RAp
if advertise is not set, defaults to reveived ip/port

3 years agocore: faked msg - functions to get next fmsg with clear branches
Daniel-Constantin Mierla [Tue, 20 Jun 2017 14:00:00 +0000 (16:00 +0200)]
core: faked msg - functions to get next fmsg with clear branches

3 years agoMerge pull request #1157 from eloycoto/evapi
Daniel-Constantin Mierla [Tue, 20 Jun 2017 13:42:34 +0000 (15:42 +0200)]
Merge pull request #1157 from eloycoto/evapi

evapi: Improved error message

3 years agoMerge pull request #1156 from adubovikov/master
Daniel-Constantin Mierla [Tue, 20 Jun 2017 13:41:50 +0000 (15:41 +0200)]
Merge pull request #1156 from adubovikov/master

modules/topoh: fixed log's level.

3 years agoevapi: Improved error message 1157/head
Eloy Coto [Tue, 20 Jun 2017 13:03:29 +0000 (14:03 +0100)]
evapi: Improved error message

Signed-off-by: Eloy Coto <eloy.coto@gmail.com>
3 years agomodules/topoh: fixed log's level. 1156/head
Alexandr Dubovikov [Tue, 20 Jun 2017 11:15:38 +0000 (13:15 +0200)]
modules/topoh: fixed log's level.

3 years agoMerge pull request #1155 from adubovikov/master
Daniel-Constantin Mierla [Tue, 20 Jun 2017 08:02:56 +0000 (10:02 +0200)]
Merge pull request #1155 from adubovikov/master

modules/topoh: fixed logical conditional and false jump in th_execute…

3 years agomodules/topoh: fixed logical conditional and false jump in th_execute_event_route 1155/head
Alexandr Dubovikov [Tue, 20 Jun 2017 07:50:38 +0000 (09:50 +0200)]
modules/topoh: fixed logical conditional and false jump in th_execute_event_route

3 years agomodules: readme files regenerated - db_sqlite ... [skip ci]
Kamailio Dev [Tue, 20 Jun 2017 06:46:49 +0000 (08:46 +0200)]
modules: readme files regenerated - db_sqlite ... [skip ci]

3 years agoMerge pull request #1153 from jchavanton/db_sqlite_journaling
Daniel-Constantin Mierla [Tue, 20 Jun 2017 06:34:30 +0000 (08:34 +0200)]
Merge pull request #1153 from jchavanton/db_sqlite_journaling

db_sqlite: new param to set database journal mode

3 years agodb_sqlite: new param to set database journal mode 1153/head
Julien Chavanton [Mon, 19 Jun 2017 20:59:31 +0000 (13:59 -0700)]
db_sqlite: new param to set database journal mode

3 years agocore: do not execute clear_branches() on next faked msg
Daniel-Constantin Mierla [Mon, 19 Jun 2017 14:26:00 +0000 (16:26 +0200)]
core: do not execute clear_branches() on next faked msg

- the function clears the global variables for branches

3 years agocfgutils: core_hash() exported to kemi framework
Daniel-Constantin Mierla [Sun, 18 Jun 2017 06:32:04 +0000 (08:32 +0200)]
cfgutils: core_hash() exported to kemi framework

3 years agocfgutils: exported abort and mem functions to kemi framework
Daniel-Constantin Mierla [Sat, 17 Jun 2017 20:32:00 +0000 (22:32 +0200)]
cfgutils: exported abort and mem functions to kemi framework

3 years agomtree: avoid char array access over the size
Daniel-Constantin Mierla [Fri, 16 Jun 2017 09:49:28 +0000 (11:49 +0200)]
mtree: avoid char array access over the size

3 years agomodules: readme files regenerated - topoh ... [skip ci]
Kamailio Dev [Thu, 15 Jun 2017 15:16:22 +0000 (17:16 +0200)]
modules: readme files regenerated - topoh ... [skip ci]

3 years agotopoh: documentation for event_route[topoh:msg-outgoing]
Daniel-Constantin Mierla [Thu, 15 Jun 2017 15:08:55 +0000 (17:08 +0200)]
topoh: documentation for event_route[topoh:msg-outgoing]

3 years agotopoh: execute event_route[topoh:msg-outgoing]
Daniel-Constantin Mierla [Thu, 15 Jun 2017 05:02:59 +0000 (07:02 +0200)]
topoh: execute event_route[topoh:msg-outgoing]

- it is executed when a message is going to be sent out
- if drop is used, then the message is no longer processed with topoh
  (it will be sent out in clear)
- a faked message is provided for now to the config interpreter, but
  send-to info is set to the real destination, so $sndto(ip) point to
  real target address and can be used to decide whether to do or not
  topoh processing for the message
- related to GH PR #1150

3 years agocore: dst info attribute set for SREV_NET_DATA_OUT
Daniel-Constantin Mierla [Thu, 15 Jun 2017 05:01:55 +0000 (07:01 +0200)]
core: dst info attribute set for SREV_NET_DATA_OUT

3 years agocore: added dst info to sr_event_param_t
Daniel-Constantin Mierla [Thu, 15 Jun 2017 05:01:17 +0000 (07:01 +0200)]
core: added dst info to sr_event_param_t

3 years agocore: ip_addr.h - added typedefs for structures
Daniel-Constantin Mierla [Wed, 14 Jun 2017 16:31:07 +0000 (18:31 +0200)]
core: ip_addr.h - added typedefs for structures

3 years agocore: ip_addr.h - coherent indentation and whitespacing
Daniel-Constantin Mierla [Wed, 14 Jun 2017 16:11:28 +0000 (18:11 +0200)]
core: ip_addr.h - coherent indentation and whitespacing

3 years agogzcompress: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 15:41:53 +0000 (17:41 +0200)]
gzcompress: updates for core events API changes

3 years agomodules: readme files regenerated - auth ... [skip ci]
Kamailio Dev [Wed, 14 Jun 2017 11:46:27 +0000 (13:46 +0200)]
modules: readme files regenerated - auth ... [skip ci]

3 years agoauth: update name of the application in the docbook
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:42:17 +0000 (13:42 +0200)]
auth: update name of the application in the docbook

3 years agowebsocket: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:28:48 +0000 (13:28 +0200)]
websocket: updates for core events API changes

3 years agotopos: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:28:39 +0000 (13:28 +0200)]
topos: updates for core events API changes

3 years agotopoh: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:28:23 +0000 (13:28 +0200)]
topoh: updates for core events API changes

3 years agostun: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:28:12 +0000 (13:28 +0200)]
stun: updates for core events API changes

3 years agotcpops: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:27:59 +0000 (13:27 +0200)]
tcpops: updates for core events API changes

3 years agosiptrace: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:27:35 +0000 (13:27 +0200)]
siptrace: updates for core events API changes

3 years agosipcapture: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:27:18 +0000 (13:27 +0200)]
sipcapture: updates for core events API changes

3 years agonosip: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:26:58 +0000 (13:26 +0200)]
nosip: updates for core events API changes

3 years agomsrp: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:26:47 +0000 (13:26 +0200)]
msrp: updates for core events API changes

3 years agokex: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:26:37 +0000 (13:26 +0200)]
kex: updates for core events API changes

3 years agodialog: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:26:19 +0000 (13:26 +0200)]
dialog: updates for core events API changes

3 years agodebugger: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:26:04 +0000 (13:26 +0200)]
debugger: updates for core events API changes

3 years agocorex: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:25:48 +0000 (13:25 +0200)]
corex: updates for core events API changes

3 years agocfgt: updates for core events API changes
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:25:01 +0000 (13:25 +0200)]
cfgt: updates for core events API changes

3 years agocore: internal events API use a structure as parameter instead of void*
Daniel-Constantin Mierla [Wed, 14 Jun 2017 11:23:55 +0000 (13:23 +0200)]
core: internal events API use a structure as parameter instead of void*

- opens the door for more flexibility in passing extra data to callbacks

3 years agoMakefile: deb rule, remove --no-sign and use -us -uc
Victor Seva [Tue, 13 Jun 2017 13:39:00 +0000 (15:39 +0200)]
Makefile: deb rule, remove --no-sign and use -us -uc

* --no-sign just works for stretch

3 years agomodules: readme files regenerated - keepalive ... [skip ci]
Kamailio Dev [Tue, 13 Jun 2017 13:16:20 +0000 (15:16 +0200)]
modules: readme files regenerated - keepalive ... [skip ci]

3 years agokeepalove: added notes in docs about how monitoring is done
Daniel-Constantin Mierla [Tue, 13 Jun 2017 13:09:04 +0000 (15:09 +0200)]
keepalove: added notes in docs about how monitoring is done

- closes GH #1082

3 years agokamailio.org: updated http links to git repository
Daniel-Constantin Mierla [Tue, 13 Jun 2017 12:02:22 +0000 (14:02 +0200)]
kamailio.org: updated http links to git repository

- use https in the urls

3 years agosst: log message when rejecting due to condition on min-se
Daniel-Constantin Mierla [Tue, 13 Jun 2017 09:19:55 +0000 (11:19 +0200)]
sst: log message when rejecting due to condition on min-se

3 years agopkg/kamailio/deb: version set to 5.1.0-dev4
Victor Seva [Mon, 12 Jun 2017 11:16:01 +0000 (13:16 +0200)]
pkg/kamailio/deb: version set to 5.1.0-dev4

3 years agoMakefile.defs: version set to 5.1.0-dev4
Daniel-Constantin Mierla [Mon, 12 Jun 2017 09:41:39 +0000 (11:41 +0200)]
Makefile.defs: version set to 5.1.0-dev4

3 years agocfgutils: rand functions exported to kemi framework
Daniel-Constantin Mierla [Mon, 12 Jun 2017 07:10:08 +0000 (09:10 +0200)]
cfgutils: rand functions exported to kemi framework

3 years ago.gitignore: updated paths to be ignored by git
Daniel-Constantin Mierla [Sun, 11 Jun 2017 06:43:13 +0000 (08:43 +0200)]
.gitignore: updated paths to be ignored by git

3 years agoregex: exported functions to kemi interface
Daniel-Constantin Mierla [Sun, 11 Jun 2017 06:37:50 +0000 (08:37 +0200)]
regex: exported functions to kemi interface

3 years agoapp_jsdt: updated duktape js engine to v2.1.0
Daniel-Constantin Mierla [Sat, 10 Jun 2017 07:27:33 +0000 (09:27 +0200)]
app_jsdt: updated duktape js engine to v2.1.0

3 years agoauth_xkeys: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 10 Jun 2017 07:19:59 +0000 (09:19 +0200)]
auth_xkeys: exported functions to kemi framework

3 years agoapp_sqlang: updates to the build system for sqlang libs
Daniel-Constantin Mierla [Fri, 9 Jun 2017 10:57:07 +0000 (12:57 +0200)]
app_sqlang: updates to the build system for sqlang libs

3 years agomisc/examples: tunings to sqlang kemi script
Daniel-Constantin Mierla [Fri, 9 Jun 2017 10:56:26 +0000 (12:56 +0200)]
misc/examples: tunings to sqlang kemi script

3 years agotm: exported severat t set functions to kemi framework
Daniel-Constantin Mierla [Fri, 9 Jun 2017 06:25:29 +0000 (08:25 +0200)]
tm: exported severat t set functions to kemi framework

3 years agotm: split wrappers for t set flags cfg functions
Daniel-Constantin Mierla [Fri, 9 Jun 2017 06:21:50 +0000 (08:21 +0200)]
tm: split wrappers for t set flags cfg functions

3 years agotm: prefixed t set functions exported to config script
Daniel-Constantin Mierla [Thu, 8 Jun 2017 19:51:14 +0000 (21:51 +0200)]
tm: prefixed t set functions exported to config script

3 years agosca: fix core when release_appearance RPC command parameter has wrong index
Victor Seva [Thu, 8 Jun 2017 11:45:03 +0000 (13:45 +0200)]
sca: fix core when release_appearance RPC command parameter has wrong index

> #0  0x00007fd8bba5a067 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> #1  0x00007fd8bba5b448 in abort () from /lib/x86_64-linux-gnu/libc.so.6
> #2  0x00007fd8bba53266 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
> #3  0x00007fd8bba53312 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
> #4  0x00007fd8a4b16328 in sca_appearance_list_unlink_index (app_list=0x7fd8a603c528, idx=0) at sca_appearance.c:254
> #5  0x00007fd8a4ae0372 in sca_rpc_release_appearance (rpc=0x7fd8b1162300 <binrpc_callbacks>, ctx=0x7ffc2ce9eef0) at sca_rpc.c:504
> #6  0x00007fd8b0f38abb in process_rpc_req (buf=0x1e5e744 "\241\003\067oZ\274Ƒ\027sca.release_appearance", size=12344, bytes_needed=0x7ffc2ce9effc, sh=0xfefefefefefefe00,
>    saved_state=0xfefefefefefefe00) at binrpc_run.c:675

3 years agoapp_sqlang: detect arch for compiling squirrel lang libs
Daniel-Constantin Mierla [Wed, 7 Jun 2017 09:40:38 +0000 (11:40 +0200)]
app_sqlang: detect arch for compiling squirrel lang libs

3 years agoapp_sqlang: proper jump in the exports array
Daniel-Constantin Mierla [Wed, 7 Jun 2017 09:19:27 +0000 (11:19 +0200)]
app_sqlang: proper jump in the exports array

3 years agoapp_python: proper jump in the exports array
Daniel-Constantin Mierla [Wed, 7 Jun 2017 09:16:41 +0000 (11:16 +0200)]
app_python: proper jump in the exports array

3 years agoapp_lua: proper jump in the exports array
Daniel-Constantin Mierla [Wed, 7 Jun 2017 09:08:56 +0000 (11:08 +0200)]
app_lua: proper jump in the exports array

3 years agoapp_jsdt: proper jump in the js exports array
Daniel-Constantin Mierla [Wed, 7 Jun 2017 09:04:56 +0000 (11:04 +0200)]
app_jsdt: proper jump in the js exports array

3 years agolib/srdb1: updated tables descriptions to generate link to module
Daniel-Constantin Mierla [Tue, 6 Jun 2017 16:06:04 +0000 (18:06 +0200)]
lib/srdb1: updated tables descriptions to generate link to module

3 years agolib/srdb1: updated url to modules docs
Daniel-Constantin Mierla [Tue, 6 Jun 2017 15:11:11 +0000 (17:11 +0200)]
lib/srdb1: updated url to modules docs

3 years agocore: throw yyerror on invalid cfg var definition
Daniel-Constantin Mierla [Tue, 6 Jun 2017 09:19:38 +0000 (11:19 +0200)]
core: throw yyerror on invalid cfg var definition

3 years agocore: catch use of numbers or reserved tokens in cfg var definitions
Daniel-Constantin Mierla [Tue, 6 Jun 2017 09:18:30 +0000 (11:18 +0200)]
core: catch use of numbers or reserved tokens in cfg var definitions

3 years agoChangeLog: updates to reflect last major release
Daniel-Constantin Mierla [Tue, 6 Jun 2017 08:52:18 +0000 (10:52 +0200)]
ChangeLog: updates to reflect last major release

3 years agoMerge pull request #1149 from mslehto/deadcode
Daniel-Constantin Mierla [Tue, 6 Jun 2017 07:37:10 +0000 (09:37 +0200)]
Merge pull request #1149 from mslehto/deadcode

Found some obsolete statements in nathelper

3 years agomodules/nathelper: remove old unused code and macros 1149/head
Mikko Lehto [Mon, 5 Jun 2017 18:51:25 +0000 (21:51 +0300)]
modules/nathelper: remove old unused code and macros

- MI removed completely
- RTP proxy logic in modules/rtp[proxy|engine]

3 years agomodules/nathelper: make variable declaration consistent
Mikko Lehto [Mon, 5 Jun 2017 18:43:18 +0000 (21:43 +0300)]
modules/nathelper: make variable declaration consistent

3 years agodoc/select_list: makefile - generate html with full section numbers
Daniel-Constantin Mierla [Sun, 4 Jun 2017 14:04:16 +0000 (16:04 +0200)]
doc/select_list: makefile - generate html with full section numbers

3 years agodoc/cfg_list: makefile - generate html with full section numbers
Daniel-Constantin Mierla [Sun, 4 Jun 2017 14:00:36 +0000 (16:00 +0200)]
doc/cfg_list: makefile - generate html with full section numbers

3 years agodoc/counter_list: makefile - generate html with full section numbers
Daniel-Constantin Mierla [Sun, 4 Jun 2017 13:36:44 +0000 (15:36 +0200)]
doc/counter_list: makefile - generate html with full section numbers

3 years agodoc/rpc_list: makefile - generate html with full section numbers
Daniel-Constantin Mierla [Sun, 4 Jun 2017 10:39:07 +0000 (12:39 +0200)]
doc/rpc_list: makefile - generate html with full section numbers

- new target to do updates over the generated html

3 years agopv: fix pv_var_to_xavp() and pv_xavp_to_var() functions
Victor Seva [Sun, 4 Jun 2017 10:46:59 +0000 (12:46 +0200)]
pv: fix pv_var_to_xavp() and pv_xavp_to_var() functions

* xavp was not properly created at pv_var_to_xavp()
* add proper xavp loop for pv_xavp_to_var()

3 years agodoc/counter_list: regenreated files with lists of counters
Daniel-Constantin Mierla [Sat, 3 Jun 2017 13:17:55 +0000 (15:17 +0200)]
doc/counter_list: regenreated files with lists of counters

3 years agodoc/counter_list: updated makefile with the list of files exporting counters
Daniel-Constantin Mierla [Sat, 3 Jun 2017 13:17:04 +0000 (15:17 +0200)]
doc/counter_list: updated makefile with the list of files exporting counters

3 years agodoc/scripts: updated the script searching for counters
Daniel-Constantin Mierla [Sat, 3 Jun 2017 13:16:29 +0000 (15:16 +0200)]
doc/scripts: updated the script searching for counters

3 years agodoc/rpc_list: remove html generated file
Daniel-Constantin Mierla [Sat, 3 Jun 2017 12:51:05 +0000 (14:51 +0200)]
doc/rpc_list: remove html generated file

3 years agodoc/select_list: regenerated the doc files with selects list
Daniel-Constantin Mierla [Sat, 3 Jun 2017 12:30:08 +0000 (14:30 +0200)]
doc/select_list: regenerated the doc files with selects list

3 years agodoc/select_list: updated makefile with the list of files exporting selects
Daniel-Constantin Mierla [Sat, 3 Jun 2017 12:28:46 +0000 (14:28 +0200)]
doc/select_list: updated makefile with the list of files exporting selects

3 years agodoc/scripts: updated the perl script searching for selects
Daniel-Constantin Mierla [Sat, 3 Jun 2017 12:28:08 +0000 (14:28 +0200)]
doc/scripts: updated the perl script searching for selects

3 years agodoc/rpc_list: regenerated the docs with rpc commands
Daniel-Constantin Mierla [Sat, 3 Jun 2017 11:46:59 +0000 (13:46 +0200)]
doc/rpc_list: regenerated the docs with rpc commands

3 years agodoc/rpc_list: updated makefile with list of files exporting rpc commands
Daniel-Constantin Mierla [Sat, 3 Jun 2017 11:45:35 +0000 (13:45 +0200)]
doc/rpc_list: updated makefile with list of files exporting rpc commands

3 years agodoc: updates to perl script searching the rpc commands
Daniel-Constantin Mierla [Sat, 3 Jun 2017 11:43:57 +0000 (13:43 +0200)]
doc: updates to perl script searching the rpc commands

3 years agodoc/cfg_list: do not skip tls module when searching for cfg vars
Daniel-Constantin Mierla [Sat, 3 Jun 2017 11:43:00 +0000 (13:43 +0200)]
doc/cfg_list: do not skip tls module when searching for cfg vars

3 years agodoc/cfg_list: updated files with docs for cfg vars
Daniel-Constantin Mierla [Sat, 3 Jun 2017 10:07:50 +0000 (12:07 +0200)]
doc/cfg_list: updated files with docs for cfg vars

3 years agodoc/cfg_list: updated Makefile with list of files exporting cfg vars
Daniel-Constantin Mierla [Sat, 3 Jun 2017 10:05:22 +0000 (12:05 +0200)]
doc/cfg_list: updated Makefile with list of files exporting cfg vars

- paths to folders updated

3 years agodoc: updates to script for generating cfg var list
Daniel-Constantin Mierla [Sat, 3 Jun 2017 10:02:54 +0000 (12:02 +0200)]
doc: updates to script for generating cfg var list

3 years agomodules: readme files regenerated - acc ... [skip ci]
Kamailio Dev [Sat, 3 Jun 2017 07:01:41 +0000 (09:01 +0200)]
modules: readme files regenerated - acc ... [skip ci]

3 years agoacc: removed useless revhistory from docs
Daniel-Constantin Mierla [Sat, 3 Jun 2017 06:55:19 +0000 (08:55 +0200)]
acc: removed useless revhistory from docs

3 years agodoc: updates to bookinfo for db tables
Daniel-Constantin Mierla [Fri, 2 Jun 2017 21:15:23 +0000 (23:15 +0200)]
doc: updates to bookinfo for db tables

3 years agolib/srdb1: fixed autogenerate Makefile for db tables docbook
Daniel-Constantin Mierla [Fri, 2 Jun 2017 20:57:52 +0000 (22:57 +0200)]
lib/srdb1: fixed autogenerate Makefile for db tables docbook

3 years agokamctl: regenerated mongodb spec files for db tables
Daniel-Constantin Mierla [Fri, 2 Jun 2017 20:52:04 +0000 (22:52 +0200)]
kamctl: regenerated mongodb spec files for db tables

3 years agolib/srdb1: update rule to generate mongodb json spec file for db tables
Daniel-Constantin Mierla [Fri, 2 Jun 2017 20:50:42 +0000 (22:50 +0200)]
lib/srdb1: update rule to generate mongodb json spec file for db tables

- do not generate docbook files by default

3 years agolib/srdb1: fixed rules for generating db tables docbook
Daniel-Constantin Mierla [Fri, 2 Jun 2017 20:37:20 +0000 (22:37 +0200)]
lib/srdb1: fixed rules for generating db tables docbook

3 years agolib/srdb1: sync'ed names of db table groups with modules
Daniel-Constantin Mierla [Fri, 2 Jun 2017 18:30:15 +0000 (20:30 +0200)]
lib/srdb1: sync'ed names of db table groups with modules