- - Current code takes some time to start checking (ping_interval). So, if someone sets a really high ping_interval it takes a while to get destination status. This change fires the first OPTIONS check just 3 seconds (fixed) after the destination is added. The checks would be done with the pace defined in ping_interval.
- keepalive: Added callback to run on each destination response.
-
- - This functionality it's just available when using api.h bindings. For exported functions no callback will be used, so this doesn't break cfg or rpc api.
- - Modified add_destination function to provide this new callback as a parameter.
- keepalive: custom pinging interval per destination
-
- - This functionality it's just available when using api.h bindings. For exported functions current value ka_ping_interval is used.
- - Modified add_destination function to provide this new parameter.
- - Now we have one timer per destination, instead of multiple, so we don't need to iterate over all destinations. Timers are cleaned when destinations are removed.
- ims_registrar_scscf: pass event type as parameter
+ lib/srdb1: new and free connection callbacks expect one parameter
- - pass event type as parameter in notify_subscribers()
+ - new connection is executetd with a database id and free connection
+ with a pool con
+ - compiler warnings:
+ src/lib/srdb1/db.c:322:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ 322 | con = new_connection(id);
+ src/lib/srdb1/db.c:361:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
- This reverts commit 4acca8ad2f31f465b08f15d98cc4780236e2beb0.
+ > Warning: ./http_multi.h:64:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
+ > 64 | int init_http_multi();
+ > | ^
+ > http_multi.c:403:5: note: conflicting prototype is here
+ > Warning: ./usrloc_db.h:131:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
+ > int use_location_pcscf_table();
+ > ^
+ > usrloc_db.c:113:5: note: conflicting prototype is here
+ > Warning: ./pcontact.h:63:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
+ > int new_pcontact(
+ > ^
+ > pcontact.c:166:5: note: conflicting prototype is here
+ > Warning: udomain.c:232:17: warning: passing arguments to 'new_pcontact' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > Warning: peerstatemachine.c:120:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:182:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:395:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:400:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:420:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:462:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > log_peer_list(L_INFO);
+ > ^
+ > Warning: peerstatemachine.c:467:19: warning: passing arguments to 'log_peer_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > Warning: presence_dmq.c:38:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
+ > int pres_dmq_send_all_presentities();
+ > ^
+ > presence_dmq.c:487:5: note: conflicting prototype is here
+ > int pres_dmq_send_all_presentities(dmq_node_t *dmq_node)
+ > Warning: core/rand/isaac/rand.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
+ > void isaac(ctx) randctx *ctx;
+ > ^
+ > Warning: core/rand/isaac/rand.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
- http_async_client: updated with relocation of lib/srutils to core/utils
+ core: Improved URN parsing according to RFC8141
+
+ - Improved URN parsing to allow consuming URNs that contain 3 or more colons. Previosly URI parser treated some of the colons as separator between host and port causing the URN parsing to fail.
- cfgt: updated with relocation of lib/srutils to core/utils
+ ims_registrar_pcscf: added trust_bottom_via parameter, added ignore_contact_rxproto_check, fixes for logging, fixes for SUBSCRIBE to reginfo for including Service-Route, allow use without ims_ipsec_pcscf
+ Currently statsd functions return bool: `true` or `false` depending when
+ the function succeeds or fails respectively.
+
+ This value gets implicitly converted to `int`: `true` -> `1`, `false` ->
+ `0`.
+
+ For Kamailio `1` means succesfull execution, but `0` means to stop
+ processing messages, which is not what we want as statsd should not impact
+ flow execution. Instead we want to return `-1` which signifies error,
+ but the flow continues.
+
+ * modules/statsd: do not fail module initilization when statsd init fails
+
+ statsd_init executes `statsd_connect` which tries to connect to statd
+ server.
+
+ If connection fails then kamailio fails to start.
+ This is not the desired behaviour as:
+ 1. Kamailio should continue working even if statsd server is down,
+ metrics should not impact runtime.
+ 2. `statsd_connect` is also re-executed each time we try to send the metric https://github.com/salemove/kamailio/blame/master/src/modules/statsd/lib_statsd.c#L76,
+ so it's initial result is not essential.
+
+ Note, that before 5.8 the result of init was already ignored due to
+ The created ssl context does not use client certificates [1,2] which is against the default in current Redis configurations [3]. The used Redis server therefore needs to be configured to not use tls-auth-clients [3].
- - only handles active dialogs in state 4
- - wipes out a given dialog callously
- - no subcalls to dialog-ending functions
- - dialog is then removed by the recurring cleaning function execution
- - as discussed in sr-users in topic "[Dialog] Removing entries from dialog memory"
+ There is also a small typo in "ac_path" which was fixed to "ca_path".
+ The created ssl context does not use client certificates [1,2] which is against the default in current Redis configurations [3]. The used Redis server therefore needs to be configured to not use tls-auth-clients [3].
+
+ There is also a small typo in "ac_path" which was fixed to "ca_path".
+ pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]
+
+ Building the WolfSSL module should be optional, even if it is on by default, builders should be able to choose to not need to install 4th party repositories.