sip-router
34 hours agogithub: enable 5.5 and 5.6 branches [skip ci] master
Victor Seva [Fri, 1 Jul 2022 18:52:20 +0000 (20:52 +0200)]
github: enable 5.5 and 5.6 branches [skip ci]

35 hours agosiptrace: lookup socket by name if not set for hep
Daniel-Constantin Mierla [Fri, 1 Jul 2022 17:19:14 +0000 (19:19 +0200)]
siptrace: lookup socket by name if not set for hep

- GH #3174

39 hours agocore: fix build warning
Victor Seva [Fri, 1 Jul 2022 13:26:47 +0000 (15:26 +0200)]
core: fix build warning

> In file included from /usr/include/string.h:519,
>                  from core/socket_info.c:34:
> In function 'strncpy',
>     inlined from 'fix_hostname' at core/socket_info.c:1741:2:
> Warning: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
> core/socket_info.c: In function 'fix_hostname':
> core/socket_info.c:1741:38: note: length computed here
>  1741 |         strncpy(address_str->s, tmp, strlen(tmp)+1);
>       |                                      ^~~~~~~~~~~
> In file included from /usr/include/string.h:519,
>                  from core/socket_info.c:34:
> In function 'strncpy',
>     inlined from 'build_iface_list' at core/socket_info.c:1554:5:
> Warning: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~

> In file included from /usr/include/string.h:519,
>                  from core/cfg.y:40:
> In function 'strncpy',
>     inlined from 'yyparse' at core/cfg.y:708:6:
> Warning: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
> core/cfg.tab.c: In function 'yyparse':
> core/cfg.y:708:84: note: length computed here
>   708 |                                         strncpy($$, $1, strlen($1)+1);
>       |                                                                                    ^
> In file included from /usr/include/string.h:519,
>                  from core/cfg.y:40:
> In function 'strncpy',
>     inlined from 'yyparse' at core/cfg.y:699:5:
> Warning: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
> core/cfg.tab.c: In function 'yyparse':
> core/cfg.y:699:76: note: length computed here
>   699 |                                 strncpy($$, $1, strlen($1)+1);
>       |                                                                            ^
> In file included from /usr/include/string.h:519,
>                  from core/cfg.y:40:
> In function 'strncpy',
>     inlined from 'yyparse' at core/cfg.y:689:6:
> Warning: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
>    95 |   return __builtin___strncpy_chk (__dest, __src, __len,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    96 |                                   __glibc_objsize (__dest));
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
> core/cfg.tab.c: In function 'yyparse':
> core/cfg.y:689:70: note: length computed here
>   689 |                                         strncpy($$, tmp, strlen(tmp)+1);
>       |

39 hours agokazoo: fix build warning
Victor Seva [Fri, 1 Jul 2022 13:10:55 +0000 (15:10 +0200)]
kazoo: fix build warning

> Warning: kz_amqp.c:2271:6: warning: variable 'num_headers' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
>                 if(idx == -1) {
>                    ^~~~~~~~~
> kz_amqp.c:2327:6: note: uninitialized use occurs here
>         if (num_headers > 0) {
>             ^~~~~~~~~~~
> kz_amqp.c:2271:3: note: remove the 'if' if its condition is always false
>                 if(idx == -1) {
>                 ^~~~~~~~~~~~~~~
> kz_amqp.c:2281:5: note: variable 'num_headers' is declared here
>     int num_headers = 0;
>     ^
> 1 warning generated.

2 days agokamctl: propagate DB_PATH to DBTEXT_PATH
Daniel-Constantin Mierla [Thu, 30 Jun 2022 17:33:45 +0000 (19:33 +0200)]
kamctl: propagate DB_PATH to DBTEXT_PATH

- GH #3170

2 days agopkg/kamailio/deb: add initial support for jammy
Victor Seva [Thu, 30 Jun 2022 05:46:48 +0000 (07:46 +0200)]
pkg/kamailio/deb: add initial support for jammy

4 days agocore: init pv buffers earlier to be avaialble for cli params
Daniel-Constantin Mierla [Tue, 28 Jun 2022 16:41:50 +0000 (18:41 +0200)]
core: init pv buffers earlier to be avaialble for cli params

- GH #3152

4 days agopv_headers: rework pvh_remove_header_param
Victor Seva [Wed, 22 Jun 2022 13:12:33 +0000 (15:12 +0200)]
pv_headers: rework pvh_remove_header_param

* fix KEMI interface, this is suppose to be called
  like pvh_remove_header_param(header_name, string_to_remove)
* use pv buffer for temporal value
* use xavi interface to set the new value

4 days agopkg/kamailio/deb: update lintian overrides [skip ci]
Victor Seva [Tue, 28 Jun 2022 07:37:59 +0000 (09:37 +0200)]
pkg/kamailio/deb: update lintian overrides [skip ci]

5 days agotls_wolfssl: make - use kamailio make infra vars
S-P Chan [Fri, 24 Jun 2022 07:58:14 +0000 (15:58 +0800)]
tls_wolfssl: make - use kamailio make infra vars

7 days agoipops: added fixup free functions and use of ANY_ROUTE
Daniel-Constantin Mierla [Sat, 25 Jun 2022 12:48:35 +0000 (14:48 +0200)]
ipops: added fixup free functions and use of ANY_ROUTE

8 days agomodules: readme files regenerated - textops ... [skip ci]
Kamailio Dev [Fri, 24 Jun 2022 14:01:17 +0000 (16:01 +0200)]
modules: readme files regenerated - textops ... [skip ci]

8 days agotls: Fix typo
Akash Gupta [Fri, 24 Jun 2022 13:13:54 +0000 (18:43 +0530)]
tls: Fix typo

8 days agotextops: Fix typos
Akash Gupta [Fri, 24 Jun 2022 13:13:20 +0000 (18:43 +0530)]
textops: Fix typos

8 days agomodules: readme files regenerated - nats ... [skip ci]
Kamailio Dev [Fri, 24 Jun 2022 10:46:16 +0000 (12:46 +0200)]
modules: readme files regenerated - nats ... [skip ci]

8 days agonats: add KEMI publish function and event_callback param (#3154)
Seven Du [Fri, 24 Jun 2022 10:44:28 +0000 (18:44 +0800)]
nats: add KEMI publish function and event_callback param (#3154)

8 days agotopos_redis: use tag based on direction for early dialog transaction record loading
Daniel-Constantin Mierla [Fri, 24 Jun 2022 08:50:08 +0000 (10:50 +0200)]
topos_redis: use tag based on direction for early dialog transaction record loading

- GH #3112

8 days agokamctl/dbtextdb: solve TypeError: a bytes-like object is required, not 'str'
Daniel-Constantin Mierla [Fri, 24 Jun 2022 06:18:42 +0000 (08:18 +0200)]
kamctl/dbtextdb: solve TypeError: a bytes-like object is required, not 'str'

- GH #2469

8 days agomodules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev [Fri, 24 Jun 2022 06:16:15 +0000 (08:16 +0200)]
modules: readme files regenerated - dialog ... [skip ci]

8 days agoRevert "Revert "dialog: Terminate dialogs in Early stage and add functionality to...
Daniel-Constantin Mierla [Fri, 24 Jun 2022 06:11:02 +0000 (08:11 +0200)]
Revert "Revert "dialog: Terminate dialogs in Early stage and add functionality to send messages within a dialog""

This reverts commit 1465a9b6e9fda36617b7b198ae051f0957803550.

9 days agotls_wolfssl: less verbose during build
S-P Chan [Fri, 24 Jun 2022 03:08:11 +0000 (11:08 +0800)]
tls_wolfssl: less verbose during build

9 days agopkg/kamailio/obs: added CentOS 9 support
Sergey Safarov [Wed, 22 Jun 2022 18:16:41 +0000 (18:16 +0000)]
pkg/kamailio/obs: added CentOS 9 support

9 days agotls_wolfssl: add wolfssl@e722c15be8 as a submodule
S-P Chan [Thu, 23 Jun 2022 07:15:11 +0000 (15:15 +0800)]
tls_wolfssl: add wolfssl@e722c15be8 as a submodule

10 days agotls_wolfssl: reduce overhead per fragment to maintain 16 byte alignment
S-P Chan [Thu, 23 Jun 2022 02:22:31 +0000 (10:22 +0800)]
tls_wolfssl: reduce overhead per fragment to maintain 16 byte alignment

10 days agotls_wolfssl: ser_realloc realign memory correctly to 16-bytes
S-P Chan [Thu, 23 Jun 2022 02:10:11 +0000 (10:10 +0800)]
tls_wolfssl: ser_realloc realign memory correctly to 16-bytes

If shm_realloc returns a different 8/16 byte alignment we
need to memmove the correct amount.

10 days agoacc: Fix reason code for locally generated replies. (#3137)
Frits Wiersma [Wed, 22 Jun 2022 19:50:44 +0000 (21:50 +0200)]
acc: Fix reason code for locally generated replies. (#3137)

* acc: Fix reason code for locally generated replies.

- Use heap memory for the reason code instead of the stack memory.
- See issue #2981

* acc: Remove code which was commented out.

- Code was commented out in the previous pull request. (#3137).
- This has now been corrected.

10 days agotopos: don't insert contact header for 4xx replies
Victor Seva [Wed, 7 Oct 2020 13:35:50 +0000 (15:35 +0200)]
topos: don't insert contact header for 4xx replies

unless original msg has contact

10 days agocore: fix freeaddrinfo coredump
Victor Seva [Wed, 22 Jun 2022 10:26:46 +0000 (12:26 +0200)]
core: fix freeaddrinfo coredump

> #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
> #1  0x00007fbb5e515537 in __GI_abort () at abort.c:79
> #2  0x00007fbb5e56e768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fbb5e67ce2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155
> #3  0x00007fbb5e575a5a in malloc_printerr (str=str@entry=0x7fbb5e67b05a "free(): invalid pointer") at malloc.c:5347
> #4  0x00007fbb5e576c14 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
> #5  0x00007fbb5e5d8da0 in __GI_freeaddrinfo (ai=ai@entry=0x7fbb5e83ba10) at ../sysdeps/posix/getaddrinfo.c:2520
> #6  0x000055ba099dcd0b in log_init () at core/dprint.c:482
> #7  0x000055ba09970d7a in main (argc=10, argv=0x7ffde85a1788) at main.c:2055

11 days agomodules: readme files regenerated - topos ... [skip ci]
Kamailio Dev [Tue, 21 Jun 2022 07:01:17 +0000 (09:01 +0200)]
modules: readme files regenerated - topos ... [skip ci]

11 days agotopos: docs for methods_nocontact parameter
Daniel-Constantin Mierla [Tue, 21 Jun 2022 06:56:51 +0000 (08:56 +0200)]
topos: docs for methods_nocontact parameter

11 days agotopos: added methods_nocontact parameter
Daniel-Constantin Mierla [Tue, 21 Jun 2022 06:52:41 +0000 (08:52 +0200)]
topos: added methods_nocontact parameter

- specify the list of methods to skip adding contact header for

11 days agotopos: skip adding contact header for BYE, CANCEL, PRACK
Daniel-Constantin Mierla [Tue, 21 Jun 2022 06:41:53 +0000 (08:41 +0200)]
topos: skip adding contact header for BYE, CANCEL, PRACK

- GH #3149

11 days agoppcfg: add values to log to better tell the problem
Seven Du [Sun, 19 Jun 2022 10:13:29 +0000 (18:13 +0800)]
ppcfg: add values to log to better tell the problem

12 days agotls_wolfssl: memory handling cleanup
S-P Chan [Sat, 18 Jun 2022 03:11:36 +0000 (11:11 +0800)]
tls_wolfssl: memory handling cleanup

Set memory allocators to align up to 16-bytes

12 days agobenchmark: use common error logging defines for memory allocation problems
Henning Westerholt [Mon, 20 Jun 2022 17:22:38 +0000 (17:22 +0000)]
benchmark: use common error logging defines for memory allocation problems

12 days agobenchmark: use INFO log level for timer registration (related to GH #3150)
Henning Westerholt [Mon, 20 Jun 2022 17:19:55 +0000 (17:19 +0000)]
benchmark: use INFO log level for timer registration (related to GH #3150)

12 days agonats: fix the nats:connected event_route not being triggered on a successful connect
Seven Du [Sun, 19 Jun 2022 11:42:18 +0000 (19:42 +0800)]
nats: fix the nats:connected event_route not being triggered on a successful connect

12 days agomodules: readme files regenerated - ims_registrar_scscf ... [skip ci]
Kamailio Dev [Mon, 20 Jun 2022 09:46:26 +0000 (11:46 +0200)]
modules: readme files regenerated - ims_registrar_scscf ... [skip ci]

12 days agoMerge pull request #3146 from alexyosifov/skip_multiple_bindings_on_reg_resp
alexyosifov [Mon, 20 Jun 2022 09:42:56 +0000 (12:42 +0300)]
Merge pull request #3146 from alexyosifov/skip_multiple_bindings_on_reg_resp

ims_registrar_scscf: 200OK changes according to RFC3261

2 weeks agoRevert "pkg/kamailio/deb: fix tlsa build"
Victor Seva [Sat, 18 Jun 2022 23:41:54 +0000 (01:41 +0200)]
Revert "pkg/kamailio/deb: fix tlsa build"

This reverts commit 6f162fc63d0503637c4c3c96ab4b13189239250f.

2 weeks agoRevert "Makefile.group: add tlsa to ktls"
Victor Seva [Sat, 18 Jun 2022 23:41:39 +0000 (01:41 +0200)]
Revert "Makefile.group: add tlsa to ktls"

This reverts commit 8141e4454c5e6eba08d7ff5d5213948c248f7a03.

2 weeks agopkg/kamailio/deb: fix tlsa build
Victor Seva [Sat, 18 Jun 2022 22:38:03 +0000 (00:38 +0200)]
pkg/kamailio/deb: fix tlsa build

* remove unused mod_name definition

2 weeks agoMakefile.group: add tlsa to ktls
Victor Seva [Fri, 17 Jun 2022 19:16:29 +0000 (21:16 +0200)]
Makefile.group: add tlsa to ktls

2 weeks agopkg/kamailio/deb: rework rules [skip ci]
Victor Seva [Fri, 17 Jun 2022 09:33:47 +0000 (11:33 +0200)]
pkg/kamailio/deb: rework rules [skip ci]

* define list elements per line. It helps to remove/add them in
  backports scripts
* remove unused definitions
* include dpkg-dev helper makefile files with definitions
* rework backports scripts

2 weeks agocore: added domain and auto_domains as variants for alias and auto_aliases
Daniel-Constantin Mierla [Fri, 17 Jun 2022 07:53:01 +0000 (09:53 +0200)]
core: added domain and auto_domains as variants for alias and auto_aliases

2 weeks agoetc/kamailio.cfg: use of htable guarded by own ifdef
Daniel-Constantin Mierla [Fri, 17 Jun 2022 07:15:27 +0000 (09:15 +0200)]
etc/kamailio.cfg: use of htable guarded by own ifdef

- allows independent loading for extending (e.g., store items to fix
  in-dialog routing)

2 weeks agomodules: readme files regenerated - pua_dialoginfo ... [skip ci]
Kamailio Dev [Thu, 16 Jun 2022 10:31:15 +0000 (12:31 +0200)]
modules: readme files regenerated - pua_dialoginfo ... [skip ci]

2 weeks agopua_dialoginfo: local_identity_dlg_var
Victor Seva [Fri, 28 Feb 2020 10:39:24 +0000 (11:39 +0100)]
pua_dialoginfo: local_identity_dlg_var

2 weeks agopua_dialoginfo: use lock when use_puburi_avps is set
Victor Seva [Tue, 30 Jun 2020 07:27:58 +0000 (09:27 +0200)]
pua_dialoginfo: use lock when use_puburi_avps is set

2 weeks agopua_dialoginfo: refresh_pubruri_avps_flag
Victor Seva [Thu, 20 Feb 2020 17:50:14 +0000 (18:50 +0100)]
pua_dialoginfo: refresh_pubruri_avps_flag

2 weeks agomodules: readme files regenerated - tls_wolfssl ... [skip ci]
Kamailio Dev [Thu, 16 Jun 2022 07:46:18 +0000 (09:46 +0200)]
modules: readme files regenerated - tls_wolfssl ... [skip ci]

2 weeks agotls_wolfssl: initial docs
S-P Chan [Thu, 16 Jun 2022 07:36:17 +0000 (15:36 +0800)]
tls_wolfssl: initial docs

2 weeks agotls_wolfssl: Miscellaneous cleanup
S-P Chan [Thu, 16 Jun 2022 06:42:00 +0000 (14:42 +0800)]
tls_wolfssl: Miscellaneous cleanup

Cleanup of OpenSSL symbols and OpenSSL-related memory warnings.

2 weeks agotls_wolfssl: renamed tls_mod.{c,h} to tls_wolfssl_mod.{c,h}
Daniel-Constantin Mierla [Thu, 16 Jun 2022 07:17:06 +0000 (09:17 +0200)]
tls_wolfssl: renamed tls_mod.{c,h} to tls_wolfssl_mod.{c,h}

- main files of the module to match module name

2 weeks agoMakefile.groups: added group for tls_wolfssl module
Daniel-Constantin Mierla [Thu, 16 Jun 2022 07:00:16 +0000 (09:00 +0200)]
Makefile.groups: added group for tls_wolfssl module

2 weeks agoMerge pull request #3144 from space88man/wolfssl
Daniel-Constantin Mierla [Thu, 16 Jun 2022 06:39:02 +0000 (08:39 +0200)]
Merge pull request #3144 from space88man/wolfssl

tls_wolfssl: new module TLS stack based on wolfSSL

2 weeks agotls_wolfssl: new module TLS stack based on wolfSSL 3144/head
S-P Chan [Tue, 14 Jun 2022 06:47:32 +0000 (14:47 +0800)]
tls_wolfssl: new module TLS stack based on wolfSSL

Initial support. Use OpenSSL-compatiblity layer to achieve
compilation.

2 weeks agotls: Makefile - link libdl dynamically
Daniel-Constantin Mierla [Wed, 15 Jun 2022 09:36:30 +0000 (11:36 +0200)]
tls: Makefile - link libdl dynamically

- libcrypto uses dlopen() and dlclose()
- GH #3115

2 weeks agomodules: readme files regenerated - db_cluster ... [skip ci]
Kamailio Dev [Wed, 15 Jun 2022 09:31:26 +0000 (11:31 +0200)]
modules: readme files regenerated - db_cluster ... [skip ci]

2 weeks agodb_cluster: docs - more suggestive db url examples
Daniel-Constantin Mierla [Wed, 15 Jun 2022 09:29:33 +0000 (11:29 +0200)]
db_cluster: docs - more suggestive db url examples

2 weeks agoims_registrar_scscf: 200OK changes according to RFC3261 3146/head
Aleksandar Yosifov [Wed, 15 Jun 2022 07:14:24 +0000 (10:14 +0300)]
ims_registrar_scscf: 200OK changes according to RFC3261

Added corrections for 200OK reply on Re-Registration
according to RFC3261 - registrar respond with multiple bindings in case
of multiple bindings.
Added a new parameter skip_multiple_bindings_on_reg_resp
for 200OK reply used for Re-Registration. Default value is 0.
If set to 1 - registrar replies only with current contact, not with
multiple bindings.

2 weeks agocore: stop at the first config error on startup
Daniel-Constantin Mierla [Tue, 14 Jun 2022 09:44:24 +0000 (11:44 +0200)]
core: stop at the first config error on startup

- continuing to look for more errors to print them on one check can end
  up in crashing because some internal interpreter structure may not be
  filled properly
- new cli option --all-errors that can be used to enable printing
  details for more detected config errors

2 weeks agomodules: readme files regenerated - siputils ... [skip ci]
Kamailio Dev [Tue, 14 Jun 2022 08:31:17 +0000 (10:31 +0200)]
modules: readme files regenerated - siputils ... [skip ci]

2 weeks agosiputils: docs - proper module name in examples
Daniel-Constantin Mierla [Tue, 14 Jun 2022 08:27:06 +0000 (10:27 +0200)]
siputils: docs - proper module name in examples

2 weeks agosiputils: docs for e164_max_len param
Daniel-Constantin Mierla [Tue, 14 Jun 2022 08:25:15 +0000 (10:25 +0200)]
siputils: docs for e164_max_len param

2 weeks agosiputils: added e164_max_len modparam
Daniel-Constantin Mierla [Tue, 14 Jun 2022 08:20:59 +0000 (10:20 +0200)]
siputils: added e164_max_len modparam

- specify the max length for e164 number check, includting the leading
  '+'
- GH #3117

2 weeks agomodules: readme files regenerated - auth ... [skip ci]
Kamailio Dev [Tue, 14 Jun 2022 08:01:27 +0000 (10:01 +0200)]
modules: readme files regenerated - auth ... [skip ci]

2 weeks agoMerge pull request #3133 from sn4kebite/auth-dont-invalidate-nc
Daniel-Constantin Mierla [Tue, 14 Jun 2022 07:49:14 +0000 (09:49 +0200)]
Merge pull request #3133 from sn4kebite/auth-dont-invalidate-nc

auth: Add flag for not invalidating nc on auth failure

3 weeks agopackaging: on EL8 package with Python 3.9
Anthony Alba [Sat, 11 Jun 2022 01:05:26 +0000 (09:05 +0800)]
packaging: on EL8 package with Python 3.9

3 weeks agoapp_python3: use _ksr_is_main to detect child process
Anthony Alba [Fri, 10 Jun 2022 14:13:39 +0000 (22:13 +0800)]
app_python3: use _ksr_is_main to detect child process

3 weeks agosiputils: removed duplicated function for e164 check
Daniel-Constantin Mierla [Fri, 10 Jun 2022 12:05:09 +0000 (14:05 +0200)]
siputils: removed duplicated function for e164 check

3 weeks agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Fri, 10 Jun 2022 07:16:30 +0000 (09:16 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

3 weeks agodispatcher: extend documentation about default behaviour with missing match mode
Henning Westerholt [Fri, 10 Jun 2022 07:08:24 +0000 (07:08 +0000)]
dispatcher: extend documentation about default behaviour with missing match mode

3 weeks agoapp_python3: call PyOS_AfterFork_Child() only in child processes
Anthony Alba [Thu, 9 Jun 2022 15:02:18 +0000 (23:02 +0800)]
app_python3: call PyOS_AfterFork_Child() only in child processes

- GH #3125: we should not call PyOS_AfterFork_Child() in the main
process.

3 weeks agoapp_python3: workaround for abort in Python 3.8+
Anthony Alba [Thu, 9 Jun 2022 13:24:44 +0000 (21:24 +0800)]
app_python3: workaround for abort in Python 3.8+

3 weeks agomodules: readme files regenerated - sipdump ... [skip ci]
Kamailio Dev [Wed, 8 Jun 2022 21:31:21 +0000 (23:31 +0200)]
modules: readme files regenerated - sipdump ... [skip ci]

3 weeks agosipdump: docs - sync example with description
Daniel-Constantin Mierla [Wed, 8 Jun 2022 21:23:09 +0000 (23:23 +0200)]
sipdump: docs - sync example with description

3 weeks agouac: check new callid value for setting $uac_req() field
Daniel-Constantin Mierla [Tue, 7 Jun 2022 07:12:40 +0000 (09:12 +0200)]
uac: check new callid value for setting $uac_req() field

- GH #3135

4 weeks agoauth: Add flag for not invalidating nc on auth failure 3133/head
Jon Bergli Heier [Fri, 3 Jun 2022 13:43:39 +0000 (15:43 +0200)]
auth: Add flag for not invalidating nc on auth failure

If flag 32 is set then we skip updating nc in pre_auth. On success we
call check_nonce once more to do the update. This can be used to chain
calls to eg. pv_auth_check to authenticate against multiple passwords.

4 weeks agopkg/kamailio/deb: update Maintainer and Vcs fields [skip ci]
Victor Seva [Fri, 3 Jun 2022 09:40:46 +0000 (11:40 +0200)]
pkg/kamailio/deb: update Maintainer and Vcs fields [skip ci]

In order to be more clear of who is the origin of the packages

4 weeks agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Fri, 3 Jun 2022 09:31:28 +0000 (11:31 +0200)]
modules: readme files regenerated - tm ... [skip ci]

4 weeks agotm: new param to specify reply codes for dns srv failover
emvondo [Fri, 3 Jun 2022 09:28:16 +0000 (11:28 +0200)]
tm: new param to specify reply codes for dns srv failover

4 weeks agodispatcher: fix for checking reply code class rule
Daniel-Constantin Mierla [Fri, 3 Jun 2022 09:21:14 +0000 (11:21 +0200)]
dispatcher: fix for checking reply code class rule

4 weeks agoMerge pull request #3127 from atanasdb/ims_qos_fix
Daniel-Constantin Mierla [Thu, 2 Jun 2022 19:17:11 +0000 (21:17 +0200)]
Merge pull request #3127 from atanasdb/ims_qos_fix

ims_qos: fix module loading crash

4 weeks agoctl: skip checking end tag for BINRPC_T_DOUBLE values
Daniel-Constantin Mierla [Thu, 2 Jun 2022 10:48:38 +0000 (12:48 +0200)]
ctl: skip checking end tag for BINRPC_T_DOUBLE values

- related to GH #3123

4 weeks agomodules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
Kamailio Dev [Wed, 1 Jun 2022 16:16:21 +0000 (18:16 +0200)]
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]

4 weeks agoims_ipsec_pcscf: docs for the ipsec_forward() flag to set tcp transport parameter
Daniel-Constantin Mierla [Wed, 1 Jun 2022 16:15:26 +0000 (18:15 +0200)]
ims_ipsec_pcscf: docs for the ipsec_forward() flag to set tcp transport parameter

4 weeks agoims_ipsec_pcscf: new option for ipsec_forward() to set trasport for tcp dst uri
Daniel-Constantin Mierla [Wed, 1 Jun 2022 16:11:22 +0000 (18:11 +0200)]
ims_ipsec_pcscf: new option for ipsec_forward() to set trasport for tcp dst uri

4 weeks agolost: Makefile - support for FreeBSD build
drTr0jan [Wed, 1 Jun 2022 07:07:26 +0000 (10:07 +0300)]
lost: Makefile - support for FreeBSD build

- added libcurl deps.

4 weeks agomodules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
Kamailio Dev [Wed, 1 Jun 2022 12:16:40 +0000 (14:16 +0200)]
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]

4 weeks agoims_ipsec_pcscf: removed shadowing (sub-scope) variables
Daniel-Constantin Mierla [Wed, 1 Jun 2022 12:10:10 +0000 (14:10 +0200)]
ims_ipsec_pcscf: removed shadowing (sub-scope) variables

4 weeks agoims_ipsec_pcscf: docs for the ipsec_forward() flag to use UE client port for TCP...
Daniel-Constantin Mierla [Wed, 1 Jun 2022 11:52:15 +0000 (13:52 +0200)]
ims_ipsec_pcscf: docs for the ipsec_forward() flag to use UE client port for TCP requests

4 weeks agoims_ipsec_pcscf: ipsec_forward() option to use UE client port for requests over TCP
Daniel-Constantin Mierla [Wed, 1 Jun 2022 11:11:37 +0000 (13:11 +0200)]
ims_ipsec_pcscf: ipsec_forward() option to use UE client port for requests over TCP

4 weeks agoims_ipsec_pcscf: docs for flag to not reset dst uri
Daniel-Constantin Mierla [Wed, 1 Jun 2022 11:00:42 +0000 (13:00 +0200)]
ims_ipsec_pcscf: docs for flag to not reset dst uri

4 weeks agoims_ipsec_pcscf: new option to skip resetting the dst uri in ipsec_forward()
Daniel-Constantin Mierla [Wed, 1 Jun 2022 10:58:07 +0000 (12:58 +0200)]
ims_ipsec_pcscf: new option to skip resetting the dst uri in ipsec_forward()

4 weeks agocore: new socket global parameter to set listen attributes with a structure style
Daniel-Constantin Mierla [Wed, 1 Jun 2022 06:24:50 +0000 (08:24 +0200)]
core: new socket global parameter to set listen attributes with a structure style

- alternative to listen when a usual bind address is provided
- example:

socket = {
    bind = udp:127.0.0.1:5060;
    advertise = 1.2.3.4:5080;
    name = "udp0";
}

4 weeks agoMerge pull request #3130 from drTr0jan/fix-freebsd
Daniel-Constantin Mierla [Tue, 31 May 2022 16:43:31 +0000 (18:43 +0200)]
Merge pull request #3130 from drTr0jan/fix-freebsd

Fix Makefile.groups and SLACK for build on FreeBSD

4 weeks agoslack: Makefile - support for FreeBSD build 3130/head
drTr0jan [Tue, 31 May 2022 16:07:59 +0000 (19:07 +0300)]
slack: Makefile - support for FreeBSD build

- added LIBS and DEFS variables, making them consistent with
the rest of modules.

4 weeks agoMakefile.groups: renamed malloc_test to misctest
drTr0jan [Tue, 31 May 2022 16:02:04 +0000 (19:02 +0300)]
Makefile.groups: renamed malloc_test to misctest

- building module_group_standard fail due to rename of malloc_test module.

4 weeks agoims_qos: fix compilation warning 3127/head
Atanas Bakalov [Tue, 31 May 2022 10:52:38 +0000 (12:52 +0200)]
ims_qos: fix compilation warning