sip-router
20 hours agoapp_lua: added internal alternative to luaL_openlib() master
Daniel-Constantin Mierla [Mon, 17 Jan 2022 07:29:13 +0000 (08:29 +0100)]
app_lua: added internal alternative to luaL_openlib()

- it was deprecated in Lua API, no longer available in newer versions [wip]

3 days agokex: use unsigned long for rpc stats.fetchn values
Daniel-Constantin Mierla [Fri, 14 Jan 2022 15:50:07 +0000 (16:50 +0100)]
kex: use unsigned long for rpc stats.fetchn values

3 days agostatsc: use long long for rpc output value
Daniel-Constantin Mierla [Fri, 14 Jan 2022 15:19:03 +0000 (16:19 +0100)]
statsc: use long long for rpc output value

3 days agomodules: readme files regenerated - statsc ... [skip ci]
Kamailio Dev [Fri, 14 Jan 2022 08:16:13 +0000 (09:16 +0100)]
modules: readme files regenerated - statsc ... [skip ci]

3 days agostatsc: note that items param must be set before track
Daniel-Constantin Mierla [Fri, 14 Jan 2022 08:02:39 +0000 (09:02 +0100)]
statsc: note that items param must be set before track

3 days agostats: detect of mod param items is set after track
Daniel-Constantin Mierla [Fri, 14 Jan 2022 07:55:06 +0000 (08:55 +0100)]
stats: detect of mod param items is set after track

- it can lead to crash if items is set to greater value than the default
one (GH #2101)
- round up for better memory alignment in the allocated structures

4 days agodb_unixodbc: catch queries without result to skip printing error logs
Daniel-Constantin Mierla [Thu, 13 Jan 2022 15:49:33 +0000 (16:49 +0100)]
db_unixodbc: catch queries without result to skip printing error logs

- GH #2810

4 days agotm: update uri when refreshing local uac shortcuts
Daniel-Constantin Mierla [Thu, 13 Jan 2022 12:49:46 +0000 (13:49 +0100)]
tm: update uri when refreshing local uac shortcuts

4 days agodispatcher: reworked management of ping reply codes and classes
Daniel-Constantin Mierla [Thu, 13 Jan 2022 11:16:14 +0000 (12:16 +0100)]
dispatcher: reworked management of ping reply codes and classes

- do not generate all the 100 replies code for a class, but compare to be in
  in the range

4 days agodispatcher: removed module name from log message
Daniel-Constantin Mierla [Thu, 13 Jan 2022 09:37:46 +0000 (10:37 +0100)]
dispatcher: removed module name from log message

- updates to debug messages

5 days agokamcmd: double/float values printed without decimals when they are 0
Daniel-Constantin Mierla [Wed, 12 Jan 2022 16:05:21 +0000 (17:05 +0100)]
kamcmd: double/float values printed without decimals when they are 0

- cope better with long (long) values stored in double fields

5 days agocorex: rpc shm stats values printed as unsigned long
Daniel-Constantin Mierla [Wed, 12 Jan 2022 16:03:58 +0000 (17:03 +0100)]
corex: rpc shm stats values printed as unsigned long

- GH #2824

5 days agoctl: float/double values are stored over a long long int instead of int
Daniel-Constantin Mierla [Wed, 12 Jan 2022 16:02:11 +0000 (17:02 +0100)]
ctl: float/double values are stored over a long long int instead of int

- cope with larger values than MAX_INT/1000, supporint now
  up to MAX_LLONG/1000

5 days agocore: parser - print ascii code and position of invalid char for identity info
Daniel-Constantin Mierla [Wed, 12 Jan 2022 13:12:42 +0000 (14:12 +0100)]
core: parser - print ascii code and position of invalid char for identity info

6 days agopresence: small spelling fix in XML entity ID
Henning Westerholt [Tue, 11 Jan 2022 15:10:50 +0000 (15:10 +0000)]
presence: small spelling fix in XML entity ID

6 days agoevapi: small spelling fix in comment
Henning Westerholt [Tue, 11 Jan 2022 15:10:30 +0000 (15:10 +0000)]
evapi: small spelling fix in comment

6 days agodispatcher: Fix handling of inactive destination for alg 13
Morten Tryfoss [Wed, 8 Dec 2021 12:07:53 +0000 (13:07 +0100)]
dispatcher: Fix handling of inactive destination for alg 13

Alg 13 did try to distribute calls to inactive destinations.
If the highest priority destination is inactive, hash is not updated
and the xavp is not set. This is resulting in failover mechanism
not working at all for the given call.

When the hash variable is not updated, it makes alg 13 behave like
round robin if the scenario above occurs. If you got two destinations
and the highest priority is out of service, 50% of the calls will fail.

Now I tried a more simple approach updating hash with the first
entry of the sorted list.

6 days agomodules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev [Tue, 11 Jan 2022 11:46:26 +0000 (12:46 +0100)]
modules: readme files regenerated - dialog ... [skip ci]

6 days agodialog: update documentation
Riccardo Villa [Fri, 7 Jan 2022 10:34:21 +0000 (11:34 +0100)]
dialog: update documentation

6 days agodialog: add filter based on start timestamp to dlg.list_match
Riccardo Villa [Fri, 7 Jan 2022 10:34:10 +0000 (11:34 +0100)]
dialog: add filter based on start timestamp to dlg.list_match

6 days agopkg/kamailio/deb: add --atexit=no
Victor Seva [Tue, 11 Jan 2022 08:32:38 +0000 (09:32 +0100)]
pkg/kamailio/deb: add --atexit=no

This helps with openssl1.1 see #2912

6 days agopkg/kamailio/deb: version set 5.6.0~dev3
Victor Seva [Tue, 11 Jan 2022 08:29:51 +0000 (09:29 +0100)]
pkg/kamailio/deb: version set 5.6.0~dev3

6 days agodialog: init variable to fix warning
Daniel-Constantin Mierla [Tue, 11 Jan 2022 08:02:35 +0000 (09:02 +0100)]
dialog: init variable to fix warning

6 days agodb_text: init variable to fix warning
Daniel-Constantin Mierla [Tue, 11 Jan 2022 08:02:11 +0000 (09:02 +0100)]
db_text: init variable to fix warning

6 days agoavpops: init variable to fix warning
Daniel-Constantin Mierla [Tue, 11 Jan 2022 07:41:35 +0000 (08:41 +0100)]
avpops: init variable to fix warning

6 days agorls: free xml doc in case of error
Daniel-Constantin Mierla [Tue, 11 Jan 2022 07:30:46 +0000 (08:30 +0100)]
rls: free xml doc in case of error

6 days agodispatcher: safety checks for str fields
Daniel-Constantin Mierla [Tue, 11 Jan 2022 07:20:30 +0000 (08:20 +0100)]
dispatcher: safety checks for str fields

6 days agolcr: init buffers to try to get rid of new warnings
Daniel-Constantin Mierla [Tue, 11 Jan 2022 07:19:42 +0000 (08:19 +0100)]
lcr: init buffers to try to get rid of new warnings

6 days agopresence: utils - use memcpy instead of strncpy for coherence
Daniel-Constantin Mierla [Tue, 11 Jan 2022 07:19:06 +0000 (08:19 +0100)]
presence: utils - use memcpy instead of strncpy for coherence

7 days agoims_usrloc_scscf: removed unrelated comment with is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:37:34 +0000 (18:37 +0100)]
ims_usrloc_scscf: removed unrelated comment with is_main

- was not even used

7 days agop_usrloc: removed unrelated comment with is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:37:17 +0000 (18:37 +0100)]
p_usrloc: removed unrelated comment with is_main

- was not even used

7 days agoims_usrloc_pcscf: removed unrelated comment with is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:36:49 +0000 (18:36 +0100)]
ims_usrloc_pcscf: removed unrelated comment with is_main

- was not even used

7 days agousrloc: removed unrelated comment with is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:35:58 +0000 (18:35 +0100)]
usrloc: removed unrelated comment with is_main

- was not even used

7 days agohttp_async_module: check return for event_base_dispatch()
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:33:53 +0000 (18:33 +0100)]
http_async_module: check return for event_base_dispatch()

- exit if it fails
- part of GH #2999

7 days agodb_text: rename is_main to _ksr_is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:33:24 +0000 (18:33 +0100)]
db_text: rename is_main to _ksr_is_main

7 days agoctl: rename is_main to _ksr_is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:32:43 +0000 (18:32 +0100)]
ctl: rename is_main to _ksr_is_main

7 days agocore: renamed global is_main to _ksr_is_main
Daniel-Constantin Mierla [Mon, 10 Jan 2022 17:31:38 +0000 (18:31 +0100)]
core: renamed global is_main to _ksr_is_main

- safer to avoid conflicts with other libs

7 days agomodules: readme files regenerated - siputils ... [skip ci]
Kamailio Dev [Mon, 10 Jan 2022 14:01:23 +0000 (15:01 +0100)]
modules: readme files regenerated - siputils ... [skip ci]

7 days agosiputils: remove ring 180/183 conversion functions (GH #2989)
Henning Westerholt [Mon, 10 Jan 2022 13:44:51 +0000 (13:44 +0000)]
siputils: remove ring 180/183 conversion functions (GH #2989)

- remove ring 180/183 conversion functions (GH #2989)
- they are not working correctly anymore, and can easily be replaced
  by textops/htable or reply routes

10 days agomodules: readme files regenerated - nats ... [skip ci]
Kamailio Dev [Fri, 7 Jan 2022 13:31:10 +0000 (14:31 +0100)]
modules: readme files regenerated - nats ... [skip ci]

10 days agoMerge pull request #2978 from kamailio/NATS-add-nats_publish
Emmanuel Schmidbauer [Fri, 7 Jan 2022 13:16:17 +0000 (08:16 -0500)]
Merge pull request #2978 from kamailio/NATS-add-nats_publish

NATS: add new function `nats_publish()`

10 days agocore: Updated check_local_addresses to use getifaddrs
Rhys Hanrahan [Fri, 24 Dec 2021 07:41:20 +0000 (18:41 +1100)]
core: Updated check_local_addresses to use getifaddrs

Changed virtual socket code to use getifaddrs instead of gethostbyname as this avoids lookups against the hosts file, which causes incorrect results.

10 days agoims_ipsec_pcscf: Added virtual flag to output of sockets list.
Rhys Hanrahan [Wed, 22 Dec 2021 11:15:48 +0000 (22:15 +1100)]
ims_ipsec_pcscf: Added virtual flag to output of sockets list.

10 days agocorex: Added virtual flag to output of "corex.list_sockets"
Rhys Hanrahan [Wed, 22 Dec 2021 11:15:18 +0000 (22:15 +1100)]
corex: Added virtual flag to output of "corex.list_sockets"

10 days agocore: Added virtual flag to output of core.sockets_list
Rhys Hanrahan [Wed, 22 Dec 2021 11:14:54 +0000 (22:14 +1100)]
core: Added virtual flag to output of core.sockets_list

10 days agocore: listen can now have a "virtual" flag to check for nonlocal floating IPs.
Rhys Hanrahan [Wed, 22 Dec 2021 11:13:47 +0000 (22:13 +1100)]
core: listen can now have a "virtual" flag to check for nonlocal floating IPs.

A new option to "listen" has been added called "virtual". This sets a flag on the listening socket to modify the behaviour of grep_sock_info.
When this flag is set, grep_sock_info will only consider the listening IP a match if the IP is found in the system's current list of
local IP addresses. If the IP is not currently local, then the matching IP is ignored.
If the virtual flag is not set on the socket then existing behaviour used instead.

This is useful in scenarios with an active/active cluster where Kamailio must know if a floating IP is currently local or not.

10 days agotcpclose event_routes issue
Viktor [Thu, 23 Dec 2021 22:18:04 +0000 (00:18 +0200)]
tcpclose event_routes issue

10 days agotcpclose event_routes issue
Viktor [Mon, 20 Dec 2021 11:44:06 +0000 (13:44 +0200)]
tcpclose event_routes issue

10 days agotcpclose event_routes issue
Viktor [Mon, 20 Dec 2021 10:14:31 +0000 (12:14 +0200)]
tcpclose event_routes issue

11 days agoMakefile.defs: version set to 5.6.0-dev3
Daniel-Constantin Mierla [Thu, 6 Jan 2022 10:10:12 +0000 (11:10 +0100)]
Makefile.defs: version set to 5.6.0-dev3

11 days agodb_cluster: enclose block in curly braces
Daniel-Constantin Mierla [Thu, 6 Jan 2022 10:08:09 +0000 (11:08 +0100)]
db_cluster: enclose block in curly braces

- fix returning always introduced in previous commit

12 days agopua: use parameter default_expires instead of 3600 constant
Daniel-Constantin Mierla [Wed, 5 Jan 2022 17:44:41 +0000 (18:44 +0100)]
pua: use parameter default_expires instead of 3600 constant

- GH #2994

13 days agoSecfilter: Modify error messages to RPC error messages instead of printf
Olle E. Johansson [Tue, 4 Jan 2022 09:49:10 +0000 (10:49 +0100)]
Secfilter: Modify error messages to RPC error messages instead of printf

13 days agomtree: Re-instate error log messages in RPC reload removed in an earlier commit
Olle E. Johansson [Tue, 4 Jan 2022 09:47:28 +0000 (10:47 +0100)]
mtree: Re-instate error log messages in RPC reload removed in an earlier commit

2 weeks agoTLS: Add RPC success confirmation message
Olle E. Johansson [Mon, 3 Jan 2022 16:00:28 +0000 (17:00 +0100)]
TLS: Add RPC success confirmation message

2 weeks agortpengine: Fix typo in RPC response handling
Olle E. Johansson [Mon, 3 Jan 2022 15:36:26 +0000 (16:36 +0100)]
rtpengine: Fix typo in RPC response handling

2 weeks agosecfilter: Convert error messages to error responses in secf_rpc_add_dst()
Olle E. Johansson [Mon, 3 Jan 2022 15:33:08 +0000 (16:33 +0100)]
secfilter: Convert error messages to error responses in secf_rpc_add_dst()

2 weeks agomodules: readme files regenerated - rtp_media_server ... [skip ci]
Kamailio Dev [Mon, 3 Jan 2022 15:31:27 +0000 (16:31 +0100)]
modules: readme files regenerated - rtp_media_server ... [skip ci]

2 weeks agortp_media_server: Documentation update, typo fixing
Olle E. Johansson [Mon, 3 Jan 2022 15:28:27 +0000 (16:28 +0100)]
rtp_media_server: Documentation update, typo fixing

2 weeks agortpengine: Add RPC success message on reload
Olle E. Johansson [Mon, 3 Jan 2022 15:14:19 +0000 (16:14 +0100)]
rtpengine: Add RPC success message on reload

2 weeks agomatrix: Add RPC response on matrix reload success
Olle E. Johansson [Mon, 3 Jan 2022 15:00:05 +0000 (16:00 +0100)]
matrix: Add RPC response on matrix reload success

2 weeks agokeepalive: Add RPC success responses
Olle E. Johansson [Mon, 3 Jan 2022 14:55:41 +0000 (15:55 +0100)]
keepalive: Add RPC success responses

2 weeks agodmq: Add RPC success response on removing a node
Olle E. Johansson [Mon, 3 Jan 2022 14:37:52 +0000 (15:37 +0100)]
dmq: Add RPC success response on removing a node

2 weeks agodispatcher: Add RPC success message when removing destination from set
Olle E. Johansson [Mon, 3 Jan 2022 14:28:16 +0000 (15:28 +0100)]
dispatcher: Add RPC success message when removing destination from set

2 weeks agodispatcher: Add RPC success message on adding destination to set
Olle E. Johansson [Mon, 3 Jan 2022 14:27:36 +0000 (15:27 +0100)]
dispatcher: Add RPC success message on adding destination to set

2 weeks agodisaptcher: Add RPC success message on set_state
Olle E. Johansson [Mon, 3 Jan 2022 14:24:44 +0000 (15:24 +0100)]
disaptcher: Add RPC success message on set_state

2 weeks agodispatcher: Add RPC success response on reload
Olle E. Johansson [Mon, 3 Jan 2022 14:21:41 +0000 (15:21 +0100)]
dispatcher: Add RPC success response on reload

2 weeks agodb_cluster: Add RPC error message when clusters not found
Olle E. Johansson [Mon, 3 Jan 2022 14:16:41 +0000 (15:16 +0100)]
db_cluster: Add RPC error message when clusters not found

2 weeks agodb_cluster: Add RPC success and error messages to dbcl_rpc_enable_connection
Olle E. Johansson [Mon, 3 Jan 2022 14:14:39 +0000 (15:14 +0100)]
db_cluster: Add RPC success and error messages to dbcl_rpc_enable_connection

2 weeks agodb_cluster: Add RPC error messages and responses to dbcl_rpc_ddisable_connection
Olle E. Johansson [Mon, 3 Jan 2022 14:10:55 +0000 (15:10 +0100)]
db_cluster: Add RPC error messages and responses to dbcl_rpc_ddisable_connection

2 weeks agodbcluster: Add RPC error message wheb listing connections and no cluster is found
Olle E. Johansson [Mon, 3 Jan 2022 14:04:10 +0000 (15:04 +0100)]
dbcluster: Add RPC error message wheb listing connections and no cluster is found

2 weeks agomtree: Add RPC response on successful reload, re-organise function rpc_mtree_reload
Olle E. Johansson [Mon, 3 Jan 2022 13:53:05 +0000 (14:53 +0100)]
mtree: Add RPC response on successful reload, re-organise function rpc_mtree_reload

2 weeks agohtable: Add RPC response for storing htable to DB
Olle E. Johansson [Mon, 3 Jan 2022 13:43:53 +0000 (14:43 +0100)]
htable: Add RPC response for storing htable to DB

2 weeks agohtable: Add RPC response for successful reload of htable
Olle E. Johansson [Mon, 3 Jan 2022 13:42:58 +0000 (14:42 +0100)]
htable: Add RPC response for successful reload of htable

2 weeks agohtable: Add response for rpc flush failed and success states
Olle E. Johansson [Mon, 3 Jan 2022 13:33:16 +0000 (14:33 +0100)]
htable: Add response for rpc flush failed and success states

2 weeks agoNATS: add new function `nats_publish()` NATS-add-nats_publish 2978/head
Emmanuel Schmidbauer [Thu, 30 Dec 2021 15:37:27 +0000 (10:37 -0500)]
NATS: add new function `nats_publish()`

2 weeks agocore: parser sdp - print hdr name by length on error in get_sdp_hdr_field()
Daniel-Constantin Mierla [Tue, 28 Dec 2021 19:27:43 +0000 (20:27 +0100)]
core: parser sdp - print hdr name by length on error in get_sdp_hdr_field()

2 weeks agomodules: readme files regenerated - siputils ... [skip ci]
Kamailio Dev [Tue, 28 Dec 2021 19:16:21 +0000 (20:16 +0100)]
modules: readme files regenerated - siputils ... [skip ci]

2 weeks agosiputils: docs - note about restrictions of ring_insert_callid()
Daniel-Constantin Mierla [Tue, 28 Dec 2021 19:00:17 +0000 (20:00 +0100)]
siputils: docs - note about restrictions of ring_insert_callid()

- GH #2989

3 weeks agouac: fix unknown type name
Victor Seva [Wed, 22 Dec 2021 17:08:30 +0000 (18:08 +0100)]
uac: fix unknown type name

introduced at b6e264c9780fc0432e6e746f473024e41bc1126b

> uac_send.c: In function 'uac_send_tm_callback':
> uac_send.c:741:16: error: unknown type name 'authenticate_body_t'
>   741 |         static authenticate_body_t auth;
>       |                ^~~~~~~~~~~~~~~~~~~
> uac_send.c:781:49: warning: passing argument 2 of 'parse_authenticate_body' from incompatible pointer type [-Wincompatible-pointer-types]
>   781 |         if (parse_authenticate_body(&hdr->body, &auth)<0)
>       |                                                 ^~~~~
>       |                                                 |
>       |                                                 int *
> In file included from uac_send.c:42:
> auth_hdr.h:30:67: note: expected 'struct authenticate_body *' but argument is of type 'int *'
>    30 | int parse_authenticate_body( str *body, struct authenticate_body *auth);
>       |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
> uac_send.c:788:27: error: request for member 'realm' in something not a structure or union
>   788 |         cred.realm  = auth.realm;
>       |                           ^
> uac_send.c:795:56: warning: passing argument 4 of 'do_uac_auth' from incompatible pointer type [-Wincompatible-pointer-types]
>   795 |         do_uac_auth(&tp->s_method, &tp->s_ruri, &cred, &auth, response);
>       |                                                        ^~~~~
>       |                                                        |
>       |                                                        int *
> In file included from uac_send.c:41:
> auth.h:77:43: note: expected 'struct authenticate_body *' but argument is of type 'int *'
>    77 |                 struct authenticate_body *auth,
>       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
> uac_send.c:797:49: warning: passing argument 4 of 'build_authorization_hdr' from incompatible pointer type [-Wincompatible-pointer-types]
>   797 |                                                 &auth, response);
>       |                                                 ^~~~~
>       |                                                 |
>       |                                                 int *
> In file included from uac_send.c:42:
> auth_hdr.h:33:71: note: expected 'struct authenticate_body *' but argument is of type 'int *'
>    33 |                 struct uac_credential *crd, struct authenticate_body *auth,
>       |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
> make[2]: *** [../../Makefile.rules:100: uac_send.o] Error 1

3 weeks agopv_headers: restore pvh_real_hdr_del_by_name()
Victor Seva [Wed, 22 Dec 2021 10:19:19 +0000 (11:19 +0100)]
pv_headers: restore pvh_real_hdr_del_by_name()

it was wrongly removed at 09981c41cb6685fa18f61b9e7d66339917c4f097

3 weeks agoldap: rename private function ldap_connect
Sebastian Kemper [Wed, 15 Dec 2021 22:30:38 +0000 (23:30 +0100)]
ldap: rename private function ldap_connect

When compiling against openldap 2.6.0 kamailio's private ldap_connect() clashes
with openldap's own. curl dealt with a similar issue earlier (see [1]).

Simply rename the function to avoid the issue.

In file included from ldap_api_fn.c:37:
ldap_connect.h:34:12: error: conflicting types for 'ldap_connect'; have 'int(char *)'
   34 | extern int ldap_connect(char *_ld_name);
      |            ^~~~~~~~~~~~
In file included from ldap_api_fn.c:33:
/home/sk/tmp/sdk/openwrt-sdk-ath79-generic_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/ldap.h:1555:1: note: previous declaration of 'ldap_connect' with type 'int(LDAP *)' {aka 'int(struct ldap *)'}
 1555 | ldap_connect( LDAP *ld );
      | ^~~~~~~~~~~~
make[5]: *** [../../Makefile.rules:100: ldap_api_fn.o] Error 1
make[4]: *** [Makefile:511: modules] Error 1

[1] https://github.com/curl/curl/commit/8bdde6b14ce3b5fd71c772a578fcbd4b6fa6df19

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 weeks agouac: exposed internal flags for $uac_req(key) variable
Daniel-Constantin Mierla [Wed, 22 Dec 2021 07:37:40 +0000 (08:37 +0100)]
uac: exposed internal flags for $uac_req(key) variable

- if set to 1, the password is considered to be HA1 value
- GH #2982

3 weeks agoauth_identity: close file in case of errors
Daniel-Constantin Mierla [Wed, 22 Dec 2021 07:12:20 +0000 (08:12 +0100)]
auth_identity: close file in case of errors

- GH #2983

3 weeks agoctl: implement long and long long types of values
Daniel-Constantin Mierla [Tue, 21 Dec 2021 09:31:01 +0000 (10:31 +0100)]
ctl: implement long and long long types of values

- convert/store from/to double, based on supported types by binrpc,
similar to xmlrpc

3 weeks agoxmlrpc: implemented specifier for long and long long types of values
Daniel-Constantin Mierla [Tue, 21 Dec 2021 08:07:17 +0000 (09:07 +0100)]
xmlrpc: implemented specifier for long and long long types of values

- they are mapped over double, xmlrpc defines only int and double types
  http://xmlrpc.com/spec.md

4 weeks agojsonrpcs: support for long/long values in rpc messages
Daniel-Constantin Mierla [Mon, 20 Dec 2021 09:15:36 +0000 (10:15 +0100)]
jsonrpcs: support for long/long values in rpc messages

- l and j for long and unsigned long
- L and J for long long and unsigned long long

4 weeks agocore: utils/srjon - macros to get long long values
Daniel-Constantin Mierla [Mon, 20 Dec 2021 09:14:27 +0000 (10:14 +0100)]
core: utils/srjon - macros to get long long values

4 weeks agomisc/examples: kemi - sanity checks for response in python script
Daniel-Constantin Mierla [Mon, 20 Dec 2021 07:55:51 +0000 (08:55 +0100)]
misc/examples: kemi - sanity checks for response in python script

4 weeks agomisc/examples: kemi - update lua sample config
Daniel-Constantin Mierla [Sat, 18 Dec 2021 18:54:57 +0000 (19:54 +0100)]
misc/examples: kemi - update lua sample config

4 weeks agodlgs: optimize dlgs_init, if/else path are identical
Henning Westerholt [Fri, 17 Dec 2021 12:53:37 +0000 (12:53 +0000)]
dlgs: optimize dlgs_init, if/else path are identical

4 weeks agokemix: added KSR.kx.get_rcvaddr_sock() - return local received address in socket...
Daniel-Constantin Mierla [Fri, 17 Dec 2021 07:45:11 +0000 (08:45 +0100)]
kemix: added KSR.kx.get_rcvaddr_sock() - return local received address in socket format

4 weeks agokemix: rename get_sas() to get_srcaddr_sock()
Daniel-Constantin Mierla [Fri, 17 Dec 2021 07:38:25 +0000 (08:38 +0100)]
kemix: rename get_sas() to get_srcaddr_sock()

4 weeks agopv: added $Ras - return local received address in socket format
Daniel-Constantin Mierla [Fri, 17 Dec 2021 07:34:46 +0000 (08:34 +0100)]
pv: added $Ras - return local received address in socket format

4 weeks agocore: parser sdp - check if delimiter exceeds body limit
Daniel-Constantin Mierla [Thu, 16 Dec 2021 09:01:34 +0000 (10:01 +0100)]
core: parser sdp - check if delimiter exceeds body limit

4 weeks agocore: parser - clang format parser_f.c
Daniel-Constantin Mierla [Thu, 16 Dec 2021 08:44:54 +0000 (09:44 +0100)]
core: parser - clang format parser_f.c

4 weeks agokemix: exported kx.get_sas()
Daniel-Constantin Mierla [Wed, 15 Dec 2021 13:53:00 +0000 (14:53 +0100)]
kemix: exported kx.get_sas()

- return source address in socket format, similar to $sas

4 weeks agokazoo: fix prototype for ki_kz_amqp_publish_hdrs()
Daniel-Constantin Mierla [Wed, 15 Dec 2021 13:29:25 +0000 (14:29 +0100)]
kazoo: fix prototype for ki_kz_amqp_publish_hdrs()

4 weeks agomisc/examples: kemi - sanity check for response in lua script
Daniel-Constantin Mierla [Wed, 15 Dec 2021 11:37:48 +0000 (12:37 +0100)]
misc/examples: kemi - sanity check for response in lua script

4 weeks agocore: parser - clang format for parse_identityinfo.c
Daniel-Constantin Mierla [Wed, 15 Dec 2021 08:00:45 +0000 (09:00 +0100)]
core: parser - clang format for parse_identityinfo.c