kamailio
3 years agoMerge pull request #1954 from omnicate/master
Daniel-Constantin Mierla [Wed, 15 May 2019 16:33:43 +0000 (18:33 +0200)]
Merge pull request #1954 from omnicate/master

ims_qos: use msg_ctx_id_t to detect same msg/transaction processing

3 years agomodules: readme files regenerated - db_text ... [skip ci]
Kamailio Dev [Wed, 15 May 2019 14:32:26 +0000 (16:32 +0200)]
modules: readme files regenerated - db_text ... [skip ci]

3 years agodb_text: add missing "max_result_rows" param to the doc
Ovidiu Sas [Wed, 15 May 2019 14:16:27 +0000 (10:16 -0400)]
db_text: add missing "max_result_rows" param to the doc

3 years agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Wed, 15 May 2019 12:31:49 +0000 (14:31 +0200)]
modules: readme files regenerated - tm ... [skip ci]

3 years agotm: docs for t_get_status_code()
Daniel-Constantin Mierla [Wed, 15 May 2019 12:25:24 +0000 (14:25 +0200)]
tm: docs for t_get_status_code()

3 years agotm: added t_get_status_code()
Daniel-Constantin Mierla [Wed, 15 May 2019 12:18:59 +0000 (14:18 +0200)]
tm: added t_get_status_code()

- return the status code of the transaction - the sip response code
- in case of error or no status set, then it returns -1

3 years agosiptrace: use trace type for ki_sip_trace_dst_cid_flag()
Daniel-Constantin Mierla [Wed, 15 May 2019 11:03:28 +0000 (13:03 +0200)]
siptrace: use trace type for ki_sip_trace_dst_cid_flag()

3 years agoims_qos: use msg_ctx_id_t to detect same msg/transaction processing 1954/head
szcom [Wed, 15 May 2019 10:54:12 +0000 (12:54 +0200)]
ims_qos: use msg_ctx_id_t to detect same msg/transaction processing

- relies on msg id and pid, not only msg id (which is incremeted by
each process and has potential conflicts with failure routing)
- msg id and pid are enough to indentify the transaction thus
dropping checks for the pointers

3 years agodialplan: don't try to translate on dp_match()
Victor Seva [Wed, 15 May 2019 08:00:56 +0000 (10:00 +0200)]
dialplan: don't try to translate on dp_match()

fix #1952

3 years agojanssonrpcc: remove compilation warning
Victor Seva [Wed, 15 May 2019 09:13:17 +0000 (11:13 +0200)]
janssonrpcc: remove compilation warning

> janssonrpcc_mod.c:345:25: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
>         if (jsonrpc_keep_alive < 0) {
>             ~~~~~~~~~~~~~~~~~~ ^ ~
> 1 warning generated.

3 years agocore: added command line parameter to set subst preprocessor directive
Daniel-Constantin Mierla [Tue, 14 May 2019 15:09:13 +0000 (17:09 +0200)]
core: added command line parameter to set subst preprocessor directive

* --subst="expression" - like: #!subst "expression"

3 years agocore: command line parameters for adding substdef and substdefs
Daniel-Constantin Mierla [Tue, 14 May 2019 15:00:07 +0000 (17:00 +0200)]
core: command line parameters for adding substdef and substdefs

* --substdef="expression" - like a #!substdef "expression"
* --substdefis="expression" - like a #!substdefs "expression"

3 years agocore: return negative on error adding pre-processor substdef
Daniel-Constantin Mierla [Tue, 14 May 2019 14:36:08 +0000 (16:36 +0200)]
core: return negative on error adding pre-processor substdef

- expected by the checks when executing the functions

3 years agosiptrace: use the str for null values from pv core api
Daniel-Constantin Mierla [Tue, 14 May 2019 09:04:49 +0000 (11:04 +0200)]
siptrace: use the str for null values from pv core api

3 years agocore: pv - define the string printed for null value
Daniel-Constantin Mierla [Tue, 14 May 2019 09:02:49 +0000 (11:02 +0200)]
core: pv - define the string printed for null value

- added function to return the str null value

3 years agosiptrace: free trace_to_database_flag on module destroy
Daniel-Constantin Mierla [Tue, 14 May 2019 08:48:06 +0000 (10:48 +0200)]
siptrace: free trace_to_database_flag on module destroy

3 years agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 14 May 2019 08:47:08 +0000 (10:47 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 years agoMerge pull request #1951 from ionutionita92/siptrace-bugfix
Daniel-Constantin Mierla [Tue, 14 May 2019 08:38:09 +0000 (10:38 +0200)]
Merge pull request #1951 from ionutionita92/siptrace-bugfix

siptrace: fix tracing messages to database when destination uri not set

3 years agosiptrace: add sip_trace example with trace type set to docs 1951/head
iionita [Mon, 13 May 2019 14:19:32 +0000 (17:19 +0300)]
siptrace: add sip_trace example with trace type set to docs

3 years agosiptrace: fix tracing messages to database when destination uri not set
iionita [Mon, 13 May 2019 13:53:34 +0000 (16:53 +0300)]
siptrace: fix tracing messages to database when destination uri not set

New additions to siptrace module broke previous functionality.
If sip_trace was used with no param and destination uri was not set
then the current message would not have been traced to database. The
current fix traces always the current message if siptrace function
was called.

3 years agortpengine: allocate space for one more rtp relay control socket
Daniel-Constantin Mierla [Mon, 13 May 2019 13:27:08 +0000 (15:27 +0200)]
rtpengine: allocate space for one more rtp relay control socket

- keep it as safety end place holder
- should make it work again for the case when starting with no rtp
engine in the database - GH #1940

3 years agocore: adjust the value for _pv_cache_counter
Daniel-Constantin Mierla [Mon, 13 May 2019 10:40:24 +0000 (12:40 +0200)]
core: adjust the value for _pv_cache_counter

- reported by GH #1948

3 years agocore: proper check for allocation of route_locks_size
Daniel-Constantin Mierla [Mon, 13 May 2019 08:03:43 +0000 (10:03 +0200)]
core: proper check for allocation of route_locks_size

- regression added with relocation of code

3 years agocore: main.c - show examples for use of -A for defines with values
Daniel-Constantin Mierla [Mon, 13 May 2019 07:29:55 +0000 (09:29 +0200)]
core: main.c - show examples for use of -A for defines with values

3 years agomodules: readme files regenerated - secfilter ... [skip ci]
Kamailio Dev [Thu, 9 May 2019 12:01:49 +0000 (14:01 +0200)]
modules: readme files regenerated - secfilter ... [skip ci]

3 years agosecfilter: Updated example in README file. Use geoip2 module instead geoip [skip ci]
Jose Luis Verdeguer [Thu, 9 May 2019 11:47:43 +0000 (13:47 +0200)]
secfilter: Updated example in README file. Use geoip2 module instead geoip [skip ci]

3 years agosiptrace: allow again siptrace without duplication uri
Daniel-Constantin Mierla [Thu, 9 May 2019 09:37:22 +0000 (11:37 +0200)]
siptrace: allow again siptrace without duplication uri

- reported by Juha Heinanen

3 years agortp_media_server: improve payload sdp parsing
Julien Chavanton [Thu, 9 May 2019 04:22:55 +0000 (04:22 +0000)]
rtp_media_server: improve payload sdp parsing

3 years agortp_media_server: adding Opus support
Julien Chavanton [Sun, 5 May 2019 23:27:59 +0000 (23:27 +0000)]
rtp_media_server: adding Opus support

- first dynamic payload
- fmtp parameters needs to be extracted as well

3 years agousrloc: udomain_contact_expired_cb fix memory leak
Victor Seva [Mon, 6 May 2019 09:20:00 +0000 (11:20 +0200)]
usrloc: udomain_contact_expired_cb fix memory leak

We need to call release_urecord in order to free the ucontacts
generated at get_urecord() on shared memory

3 years agomodules: readme files regenerated - dialplan ... [skip ci]
Kamailio Dev [Mon, 6 May 2019 14:31:53 +0000 (16:31 +0200)]
modules: readme files regenerated - dialplan ... [skip ci]

3 years agodialplan: add reload_delta parameter
Marco Capetta [Mon, 6 May 2019 09:07:44 +0000 (11:07 +0200)]
dialplan: add reload_delta parameter

- make the rate limit of maximum allowed dialplan reload configurable
using the new 'reload_delta' paramenter.

3 years agortp_media_server: fix incompatible media format
Julien Chavanton [Sun, 5 May 2019 19:25:04 +0000 (19:25 +0000)]
rtp_media_server: fix incompatible media format

3 years agortp_media_server: adding docker files
Julien Chavanton [Sun, 5 May 2019 16:06:54 +0000 (09:06 -0700)]
rtp_media_server: adding docker files

3 years agohtable: fix export of kemi sht_reset()
Daniel-Constantin Mierla [Sun, 5 May 2019 06:04:55 +0000 (08:04 +0200)]
htable: fix export of kemi sht_reset()

- GH #1941

3 years agoMerge pull request #1945 from seven1240/typo
Daniel-Constantin Mierla [Sat, 4 May 2019 06:46:14 +0000 (08:46 +0200)]
Merge pull request #1945 from seven1240/typo

core: fix timer typo

3 years agocore: fix timer typo 1945/head
Seven Du [Fri, 3 May 2019 23:30:23 +0000 (07:30 +0800)]
core: fix timer typo

3 years agoauth_ephemeral: test the lenghts for compared passwords
Daniel-Constantin Mierla [Fri, 3 May 2019 09:53:15 +0000 (11:53 +0200)]
auth_ephemeral: test the lenghts for compared passwords

3 years agohtable: set expires for kemi htable.sht_setxs()
Daniel-Constantin Mierla [Fri, 3 May 2019 08:39:22 +0000 (10:39 +0200)]
htable: set expires for kemi htable.sht_setxs()

- GH #1943

3 years agoapp_python3: use PyBytes_AS_STRING() instead of PyString_AsString()
Daniel-Constantin Mierla [Fri, 3 May 2019 08:28:18 +0000 (10:28 +0200)]
app_python3: use PyBytes_AS_STRING() instead of PyString_AsString()

- PyString_AsString() is no longer in Python3 API

3 years agoapp_python3: handle kemi sssi parameters
Daniel-Constantin Mierla [Fri, 3 May 2019 07:06:07 +0000 (09:06 +0200)]
app_python3: handle kemi sssi parameters

3 years agoapp_python: handle kemi sssi parameters
Daniel-Constantin Mierla [Fri, 3 May 2019 07:05:26 +0000 (09:05 +0200)]
app_python: handle kemi sssi parameters

3 years agoapy_python: fixed condition in matching parameter types
Daniel-Constantin Mierla [Fri, 3 May 2019 06:54:28 +0000 (08:54 +0200)]
apy_python: fixed condition in matching parameter types

- GH #1944

3 years agoapp_python3: fixed condition for function with siis params
Daniel-Constantin Mierla [Fri, 3 May 2019 06:48:32 +0000 (08:48 +0200)]
app_python3: fixed condition for function with siis params

- GH #1944

3 years agodb_text: avoid buffer overflow for large names and/or values in db_text files
Ovidiu Sas [Tue, 30 Apr 2019 18:21:38 +0000 (14:21 -0400)]
db_text: avoid buffer overflow for large names and/or values in db_text files

3 years agodb_text: throw an error and abort instead of silently truncate tables
Ovidiu Sas [Tue, 30 Apr 2019 17:31:20 +0000 (13:31 -0400)]
db_text: throw an error and abort instead of silently truncate tables

3 years agocore: skip link local interfaces in auto-discovery only if bind_ipv6_link_local=0
Daniel-Constantin Mierla [Tue, 30 Apr 2019 07:24:02 +0000 (09:24 +0200)]
core: skip link local interfaces in auto-discovery only if bind_ipv6_link_local=0

3 years agocore: tcp - set the scope of IPv6 interface if bind_ipv6_link_local is set
Daniel-Constantin Mierla [Mon, 29 Apr 2019 15:27:40 +0000 (17:27 +0200)]
core: tcp - set the scope of IPv6 interface if bind_ipv6_link_local is set

3 years agolcr: make rpc command lcr.load_gw more verbose
Ovidiu Sas [Thu, 25 Apr 2019 19:58:55 +0000 (14:58 -0500)]
lcr: make rpc command lcr.load_gw more verbose

3 years agopv: clone string in all substr operations, related to GH #1937
Henning Westerholt [Thu, 25 Apr 2019 19:38:44 +0000 (21:38 +0200)]
pv: clone string in all substr operations, related to GH #1937

3 years agopkg/kamailio/obs: Defined missing RPM macros for RHEL/CentOS 6
Sergey Safarov [Thu, 25 Apr 2019 19:18:14 +0000 (22:18 +0300)]
pkg/kamailio/obs: Defined missing RPM macros for RHEL/CentOS 6

3 years agocore: new global parameter bind_ipv6_link_local
Daniel-Constantin Mierla [Thu, 25 Apr 2019 19:01:12 +0000 (21:01 +0200)]
core: new global parameter bind_ipv6_link_local

- if set to 1, try to bind also IPv6 link local addresses by discovering
the scope of the interface
- apply it for udp socket for now, to be added for the other cases

3 years agocore: compare parsed ipv6 addresses in ipv6_get_netif_scope()
Daniel-Constantin Mierla [Wed, 24 Apr 2019 09:33:53 +0000 (11:33 +0200)]
core: compare parsed ipv6 addresses in ipv6_get_netif_scope()

3 years agodialog: handle case of null contact->s value
Daniel-Constantin Mierla [Tue, 23 Apr 2019 18:51:10 +0000 (20:51 +0200)]
dialog: handle case of null contact->s value

- get over static analyzer report

3 years agoMerge pull request #1934 from mslehto/UINT32_MAX
Daniel-Constantin Mierla [Tue, 23 Apr 2019 12:05:27 +0000 (14:05 +0200)]
Merge pull request #1934 from mslehto/UINT32_MAX

core: fix compilation error

3 years agocore: fix compilation error 1934/head
Mikko Lehto [Tue, 23 Apr 2019 07:25:29 +0000 (10:25 +0300)]
core: fix compilation error

- UINT32_MAX is defined in <stdint.h>

> CC (clang) [kamailio]           core/tcp_main.o
> core/tcp_main.c:1134:16: error: use of undeclared identifier 'UINT32_MAX'
>                         if (port == UINT32_MAX || port == 0 || port >= (1 << 16)) {
>                                     ^

3 years agoMerge pull request #1932 from nferreyra/ndb_mongodb_mongoc_init
Daniel-Constantin Mierla [Tue, 23 Apr 2019 06:56:20 +0000 (08:56 +0200)]
Merge pull request #1932 from nferreyra/ndb_mongodb_mongoc_init

ndb_mongodb: fix initialization crash

3 years agoMerge pull request #1928 from adubovikov/master
Daniel-Constantin Mierla [Tue, 23 Apr 2019 06:55:08 +0000 (08:55 +0200)]
Merge pull request #1928 from adubovikov/master

modules:sipcapture Fixed wrong pointer for payload buffer.

3 years agoMerge pull request #1931 from ionutionita92/master
Daniel-Constantin Mierla [Tue, 23 Apr 2019 06:53:28 +0000 (08:53 +0200)]
Merge pull request #1931 from ionutionita92/master

siptrace: safety check for tm callback parameter

3 years agosiptrace: safety check for tm callback parameter 1931/head
iionita [Mon, 22 Apr 2019 14:44:59 +0000 (17:44 +0300)]
siptrace: safety check for tm callback parameter

Found via coverity scan.

3 years agondb_mongodb: fix initialization crash 1932/head
Nuno Ferreira [Mon, 22 Apr 2019 18:36:25 +0000 (19:36 +0100)]
ndb_mongodb: fix initialization crash

- Initialize mongodb c driver before any other mongo api call.
  Without this, kamailio would crash with a segmentation fault.
  This probably won't happen if a module was also already
   being used with a db_mongodb setup.

3 years agocore: helper function to get scope id for ipv6 network interface
Daniel-Constantin Mierla [Mon, 22 Apr 2019 18:20:18 +0000 (20:20 +0200)]
core: helper function to get scope id for ipv6 network interface

3 years agoCONTRIBUTING.md: restructured the chapter about commit message rules
Daniel-Constantin Mierla [Mon, 22 Apr 2019 16:50:46 +0000 (18:50 +0200)]
CONTRIBUTING.md: restructured the chapter about commit message rules

- relocated content from basic rules to a dedicated section about commit
message content
- notes that references to non-public resources should not be part of
commit messages
- commits related to code analyzer reports have to describe what was
changed, not be just a referenced to the report

3 years agomodules: readme files regenerated - rtp_media_server ... [skip ci]
Kamailio Dev [Sun, 21 Apr 2019 20:46:39 +0000 (22:46 +0200)]
modules: readme files regenerated - rtp_media_server ... [skip ci]

3 years agortp_media_server: rename rms sessions to rms dialogs
Julien Chavanton [Sun, 21 Apr 2019 19:39:23 +0000 (19:39 +0000)]
rtp_media_server: rename rms sessions to rms dialogs

This was creating confusion, the term session is reserved for the RTP sessions

3 years agortp_media_server: bridging refactoring
Julien Chavanton [Mon, 11 Mar 2019 16:39:40 +0000 (16:39 +0000)]
rtp_media_server: bridging refactoring

support bridging after answer, play, etc.

3 years agoMore string buffer handling improvements in imc module
Jan Janak [Sat, 20 Apr 2019 16:18:52 +0000 (12:18 -0400)]
More string buffer handling improvements in imc module

Let the compiler do the work of figuring out the size of the string
buffer being written to using the sizeof operator. Hopefully, this
will make the source code less error-prone and more Coverity friendly.

Properly handle all return values of snprintf. In particular, do not
fail silently if the function returns -1.

3 years agoFix incorrect length of static string
Jan Janak [Fri, 19 Apr 2019 20:13:44 +0000 (16:13 -0400)]
Fix incorrect length of static string

This change fixes Coverity bug "185775 Out-of-bounds access".

3 years agosiptrace: fixed kemi export parameters for sip_trace_dst_cid_type()
Daniel-Constantin Mierla [Fri, 19 Apr 2019 06:16:04 +0000 (08:16 +0200)]
siptrace: fixed kemi export parameters for sip_trace_dst_cid_type()

3 years agopkg/kamailio/deb: version set to 5.3.0~dev5
Victor Seva [Thu, 18 Apr 2019 15:09:25 +0000 (17:09 +0200)]
pkg/kamailio/deb: version set to 5.3.0~dev5

3 years agotm: removed ifdefs for WITH_XAVP
Daniel-Constantin Mierla [Thu, 18 Apr 2019 12:08:38 +0000 (14:08 +0200)]
tm: removed ifdefs for WITH_XAVP

3 years agousrloc: removed ifdefs for WITH_XAVP
Daniel-Constantin Mierla [Thu, 18 Apr 2019 12:02:33 +0000 (14:02 +0200)]
usrloc: removed ifdefs for WITH_XAVP

3 years agosqlops: removed ifdefs for WITH_XAVP
Daniel-Constantin Mierla [Thu, 18 Apr 2019 12:00:01 +0000 (14:00 +0200)]
sqlops: removed ifdefs for WITH_XAVP

3 years agopv: removed ifdefs for WITH_XAVP
Daniel-Constantin Mierla [Thu, 18 Apr 2019 11:56:43 +0000 (13:56 +0200)]
pv: removed ifdefs for WITH_XAVP

3 years agocore: removed ifdefs for WITH_XAVP
Daniel-Constantin Mierla [Thu, 18 Apr 2019 11:49:35 +0000 (13:49 +0200)]
core: removed ifdefs for WITH_XAVP

- xavps are enabled for about 10 years and used extensively

3 years agoMerge pull request #1929 from kamailio/usrloc_sync-better-warn-log
Charles Chance [Thu, 18 Apr 2019 12:01:02 +0000 (13:01 +0100)]
Merge pull request #1929 from kamailio/usrloc_sync-better-warn-log

dmq_usrloc: output AoR on warning message

3 years agodmq_usrloc: output AoR on warning message 1929/head
Emmanuel Schmidbauer [Thu, 18 Apr 2019 11:26:08 +0000 (07:26 -0400)]
dmq_usrloc: output AoR on warning message

3 years agomodules: readme files regenerated - pv ... [skip ci]
Kamailio Dev [Thu, 18 Apr 2019 08:02:00 +0000 (10:02 +0200)]
modules: readme files regenerated - pv ... [skip ci]

3 years agopv: docs for xavp_rm(...) and xavp_rm_child(...)
Daniel-Constantin Mierla [Thu, 18 Apr 2019 07:51:21 +0000 (09:51 +0200)]
pv: docs for xavp_rm(...) and xavp_rm_child(...)

3 years agopv: exported functions to delete first root and child xavp
Daniel-Constantin Mierla [Thu, 18 Apr 2019 07:40:30 +0000 (09:40 +0200)]
pv: exported functions to delete first root and child xavp

- xavp_rm(rname) - delete first xavp matching rname in root list
- xavp_rm_child(rname, cname) - delete first child xavp matching cname
in sublist from root xavp rname
- functions exported to native scripting and kemi languages

3 years agocore: xavp - helper function to remove child value
Daniel-Constantin Mierla [Thu, 18 Apr 2019 07:37:36 +0000 (09:37 +0200)]
core: xavp - helper function to remove child value

3 years agocore: rpc command core.tcp_list returns an array of items
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:47:32 +0000 (15:47 +0200)]
core: rpc command core.tcp_list returns an array of items

3 years agoapp_lua: safety check for anchor lump in old api hdr insert
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:42:49 +0000 (15:42 +0200)]
app_lua: safety check for anchor lump in old api hdr insert

3 years agoapp_mono: safety check for anchor lump
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:40:47 +0000 (15:40 +0200)]
app_mono: safety check for anchor lump

3 years agocore: kemi - safety check for lump archor for hdr operations
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:31:12 +0000 (15:31 +0200)]
core: kemi - safety check for lump archor for hdr operations

3 years agotm: debug message if kemi on-reply route callback returns negative
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:25:09 +0000 (15:25 +0200)]
tm: debug message if kemi on-reply route callback returns negative

3 years agocore: init timeval variables to avoid compile warning
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:18:22 +0000 (15:18 +0200)]
core: init timeval variables to avoid compile warning

3 years agosiptrace: do not free unallocated dest_info_t structure on error
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:12:17 +0000 (15:12 +0200)]
siptrace: do not free unallocated dest_info_t structure on error

3 years agosiptrace: safety check for msg pointer in trace_transaction()
Daniel-Constantin Mierla [Wed, 17 Apr 2019 13:08:46 +0000 (15:08 +0200)]
siptrace: safety check for msg pointer in trace_transaction()

3 years agoMakefile.defs: version set to 5.3.0-dev5
Daniel-Constantin Mierla [Wed, 17 Apr 2019 10:40:28 +0000 (12:40 +0200)]
Makefile.defs: version set to 5.3.0-dev5

3 years agomodules: readme files regenerated - kex ... [skip ci]
Kamailio Dev [Wed, 17 Apr 2019 08:16:50 +0000 (10:16 +0200)]
modules: readme files regenerated - kex ... [skip ci]

3 years agokex: docs for rpc command mod.mem_statsx
Daniel-Constantin Mierla [Wed, 17 Apr 2019 08:04:05 +0000 (10:04 +0200)]
kex: docs for rpc command mod.mem_statsx

3 years agokex: new rpc command mod.mem_statsx
Daniel-Constantin Mierla [Wed, 17 Apr 2019 07:56:34 +0000 (09:56 +0200)]
kex: new rpc command mod.mem_statsx

- print also the count of allocated chunks in summary
- aliased old rpc mod.stats to mod.mem_stats to reflect better the
purpose of printing memory usage stats

3 years agokex: use snprintf() for rpc memory mod stats
Daniel-Constantin Mierla [Tue, 16 Apr 2019 12:29:51 +0000 (14:29 +0200)]
kex: use snprintf() for rpc memory mod stats

- safer to ensure it doesn't overflow the target buffer

3 years agomodules:sipcapture Fixed wrong pointer for payload buffer. 1928/head
Alexandr Dubovikov [Tue, 16 Apr 2019 11:28:23 +0000 (13:28 +0200)]
modules:sipcapture Fixed wrong pointer for payload buffer.

3 years agomodules: readme files regenerated - pv ... [skip ci]
Kamailio Dev [Tue, 16 Apr 2019 07:32:36 +0000 (09:32 +0200)]
modules: readme files regenerated - pv ... [skip ci]

3 years agopv: docs for xavp_set_child_ival() and xavp_set_child_sval()
Daniel-Constantin Mierla [Tue, 16 Apr 2019 07:16:08 +0000 (09:16 +0200)]
pv: docs for xavp_set_child_ival() and xavp_set_child_sval()

3 years agopv: exported functions to set the value for first xavp with child
Daniel-Constantin Mierla [Tue, 16 Apr 2019 07:04:17 +0000 (09:04 +0200)]
pv: exported functions to set the value for first xavp with child

- xavp_set_child_ival(rname, cname, ival)
- xavp_set_child_sval(rname, cname, sval)
- exported to native config and kemi framework

3 years agocore: xavp - added functions to set first xavp with first child to int or str
Daniel-Constantin Mierla [Tue, 16 Apr 2019 07:00:37 +0000 (09:00 +0200)]
core: xavp - added functions to set first xavp with first child to int or str

- similar to $xavp(x=>y) = v; - if that xavp doesn not exist, or
  $xavp(x[0]=>y[0]) = v; - if that xavp exists

3 years agocore: mod fix - added fixup_free_igp_all() helper function
Daniel-Constantin Mierla [Tue, 16 Apr 2019 06:59:48 +0000 (08:59 +0200)]
core: mod fix - added fixup_free_igp_all() helper function