kamailio
2 years agokeepalive: removed function name from log messages
Daniel-Constantin Mierla [Mon, 31 Aug 2020 10:15:00 +0000 (12:15 +0200)]
keepalive: removed function name from log messages

2 years agopv: new transformation {uri.saor}
Daniel-Constantin Mierla [Mon, 31 Aug 2020 07:37:45 +0000 (09:37 +0200)]
pv: new transformation {uri.saor}

- return sip aor (sip:[user@]domain)

2 years agotls: proper ifdef on libssl version for tls_init_locks()
Daniel-Constantin Mierla [Sun, 30 Aug 2020 16:04:04 +0000 (18:04 +0200)]
tls: proper ifdef on libssl version for tls_init_locks()

- avoid compile warning on unused label

2 years agopv: new transformation {uri.duri}
Daniel-Constantin Mierla [Sat, 29 Aug 2020 17:45:20 +0000 (19:45 +0200)]
pv: new transformation {uri.duri}

- return uri needed for destination address (e.g., sip:host:port;transport=tcp)

2 years agopv: new transformation {uri.suri}
Daniel-Constantin Mierla [Fri, 28 Aug 2020 18:42:15 +0000 (20:42 +0200)]
pv: new transformation {uri.suri}

- get the simple routing uri - keep only transport parameter, if exists

2 years agousrloc: get_udomain() - safety checks for location table name parameter
Daniel-Constantin Mierla [Thu, 27 Aug 2020 10:34:50 +0000 (12:34 +0200)]
usrloc: get_udomain() - safety checks for location table name parameter

2 years agomodules: readme files regenerated - sqlops ... [skip ci]
Kamailio Dev [Tue, 25 Aug 2020 17:16:20 +0000 (19:16 +0200)]
modules: readme files regenerated - sqlops ... [skip ci]

2 years agosqlops module: added one more sql query function return value to README
Juha Heinanen [Tue, 25 Aug 2020 17:11:59 +0000 (20:11 +0300)]
sqlops module: added one more sql query function return value to README

2 years agosrc/Makefile: update deb rules
Victor Seva [Mon, 24 Aug 2020 13:18:52 +0000 (15:18 +0200)]
src/Makefile: update deb rules

* deb-stable rule should use buster nowadays
* deb rule should point to sid

pkg/kamailio/deb/debian is not suppose to be used directly is just
a base for creating all the different flavors

fixes #2432

2 years agodmq_usrloc: do not replicate socket if the field is not set:
Daniel-Constantin Mierla [Mon, 24 Aug 2020 10:28:07 +0000 (12:28 +0200)]
dmq_usrloc: do not replicate socket if the field is not set:

- GH #2451

2 years agotopoh: remove the Via cookie when skipping topoh via event route
Daniel-Constantin Mierla [Mon, 24 Aug 2020 08:22:52 +0000 (10:22 +0200)]
topoh: remove the Via cookie when skipping topoh via event route

- event route is now executed with parsed sip message to be sent out
- GH #2437

2 years agolog_custom: print to stderror if sending log message fails
Daniel-Constantin Mierla [Mon, 24 Aug 2020 08:01:20 +0000 (10:01 +0200)]
log_custom: print to stderror if sending log message fails

- help troubleshooting while avoiding looping to same function in case
the log engine is set to log custom module

2 years agomodules: readme files regenerated - keepalive ... [skip ci]
Kamailio Dev [Mon, 24 Aug 2020 07:46:15 +0000 (09:46 +0200)]
modules: readme files regenerated - keepalive ... [skip ci]

2 years agokeepalive: docs - documented owner parameter for add/delete functions
Daniel-Constantin Mierla [Mon, 24 Aug 2020 07:34:33 +0000 (09:34 +0200)]
keepalive: docs - documented owner parameter for add/delete functions

- related to GH #2438

2 years agoMerge pull request #2422 from kamailio/jchavanton/acc_totag
Daniel-Constantin Mierla [Mon, 24 Aug 2020 07:23:23 +0000 (09:23 +0200)]
Merge pull request #2422 from kamailio/jchavanton/acc_totag

acc: add to-tag for locally generated replies

2 years agocore: kemi - exported core route function
Daniel-Constantin Mierla [Thu, 20 Aug 2020 14:16:56 +0000 (16:16 +0200)]
core: kemi - exported core route function

2 years agocfgutils: exported route check functions to kemi
Daniel-Constantin Mierla [Thu, 20 Aug 2020 13:57:57 +0000 (15:57 +0200)]
cfgutils: exported route check functions to kemi

2 years agoMerge pull request #2450 from kamailio/grumvalski/fix_async_ms_route
Federico Cabiddu [Thu, 20 Aug 2020 13:33:59 +0000 (15:33 +0200)]
Merge pull request #2450 from kamailio/grumvalski/fix_async_ms_route

async: fix async_ms_route and export it to kemi

2 years agomodules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
Kamailio Dev [Thu, 20 Aug 2020 10:01:15 +0000 (12:01 +0200)]
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]

2 years agoims_usrloc_pcscf: changes in get_all_mem_ucontacts
Aleksandar Yosifov [Mon, 17 Aug 2020 09:05:24 +0000 (12:05 +0300)]
ims_usrloc_pcscf: changes in get_all_mem_ucontacts

Chnages in unused funciton get_all_mem_ucontacts.
Now the function is used to get all contacts and
check for unused tunnels.

2 years agoims_ipsec_pcscf: delete unused tunnels
Aleksandar Yosifov [Mon, 17 Aug 2020 09:03:07 +0000 (12:03 +0300)]
ims_ipsec_pcscf: delete unused tunnels

- ipsec_create - added a new function parameter to delete
unused tunnels before creation of new ipsec connection.
- added new global parameters for ipsec listen addresses.

2 years agoasync: fix async_ms_route and export it to kemi grumvalski/fix_async_ms_route 2450/head
Federico Cabiddu [Thu, 20 Aug 2020 09:06:56 +0000 (11:06 +0200)]
async: fix async_ms_route and export it to kemi

2 years agomodules: readme files regenerated - uac ... [skip ci]
Kamailio Dev [Tue, 18 Aug 2020 16:01:18 +0000 (18:01 +0200)]
modules: readme files regenerated - uac ... [skip ci]

2 years agoMerge pull request #2445 from tao-communications/master
Daniel-Constantin Mierla [Tue, 18 Aug 2020 15:54:53 +0000 (17:54 +0200)]
Merge pull request #2445 from tao-communications/master

uac: added uac_event_callback for kemi

2 years agousrloc: print Route header name in keepalive when Path is present
Daniel-Constantin Mierla [Tue, 18 Aug 2020 15:48:21 +0000 (17:48 +0200)]
usrloc: print Route header name in keepalive when Path is present

- related to GH #2446

2 years agouac: added uac_event_callback for kemi 2444/head 2445/head
Yufei Tao [Thu, 13 Aug 2020 15:18:49 +0000 (16:18 +0100)]
uac: added uac_event_callback for kemi

2 years agousrloc: export the ka_logmsg parameter
Daniel-Constantin Mierla [Mon, 17 Aug 2020 09:44:09 +0000 (11:44 +0200)]
usrloc: export the ka_logmsg parameter

- GH #2440

2 years agoMerge pull request #2442 from dwagin/master
Daniel-Constantin Mierla [Mon, 17 Aug 2020 09:25:27 +0000 (11:25 +0200)]
Merge pull request #2442 from dwagin/master

Makefile.defs: Fixed libs option for FreeBSD

2 years agoMakefile.defs: Fixed libs option for FreeBSD 2442/head
Dmitry [Sun, 16 Aug 2020 20:21:37 +0000 (23:21 +0300)]
Makefile.defs: Fixed libs option for FreeBSD

2 years agomodules: readme files regenerated - pipelimit ... [skip ci]
Kamailio Dev [Fri, 14 Aug 2020 10:46:28 +0000 (12:46 +0200)]
modules: readme files regenerated - pipelimit ... [skip ci]

2 years agopipelimit: docs - fixed typo
Bastian Triller [Thu, 13 Aug 2020 07:26:57 +0000 (09:26 +0200)]
pipelimit: docs - fixed typo

2 years agotls: added define condition on version functions
Daniel-Constantin Mierla [Thu, 13 Aug 2020 05:19:28 +0000 (07:19 +0200)]
tls: added define condition on version functions

- libssl 1.1 variants are not in 1.0
- following the changes by 234b02236b3ad13cdaf5624d11c727ad7d804747

2 years agoacc: use sent reason phrase for locally generated jchavanton/acc_totag 2422/head
Julien Chavanton [Wed, 12 Aug 2020 21:40:42 +0000 (14:40 -0700)]
acc: use sent reason phrase for locally generated

 replies

2 years agoetc/kamailio.cfg: set load_backends to 1 for permissions module
Daniel-Constantin Mierla [Wed, 12 Aug 2020 19:41:56 +0000 (21:41 +0200)]
etc/kamailio.cfg: set load_backends to 1 for permissions module

- the config uses only address table

2 years agomodules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
Kamailio Dev [Wed, 12 Aug 2020 18:46:12 +0000 (20:46 +0200)]
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]

2 years agoims_ipsec_pcscf: fixed spelling issue
alexyosifov [Thu, 6 Aug 2020 19:15:15 +0000 (22:15 +0300)]
ims_ipsec_pcscf: fixed spelling issue

2 years agoims_registrar_pcscf: fix extraction of received host in save()
alexyosifov [Thu, 6 Aug 2020 19:13:51 +0000 (22:13 +0300)]
ims_registrar_pcscf: fix extraction of received host in save()

2 years agoims_ipsec_pcscf: extend get_pcontact with the new parameter.
Aleksandar Yosifov [Mon, 3 Aug 2020 11:53:39 +0000 (14:53 +0300)]
ims_ipsec_pcscf: extend get_pcontact with the new parameter.

- added a new bitwise value for _cflags in ipsec_forward.
- performing a reverse search for a contact in ipsec_forward
  if the new flag IPSEC_REVERSE_SEARCH is set.

2 years agoims_qos: extend get_pcontact with the new parameter.
Aleksandar Yosifov [Mon, 3 Aug 2020 11:52:29 +0000 (14:52 +0300)]
ims_qos: extend get_pcontact with the new parameter.

2 years agoims_registrar_pcscf: update_contacts get received from req
Aleksandar Yosifov [Mon, 3 Aug 2020 11:46:22 +0000 (14:46 +0300)]
ims_registrar_pcscf: update_contacts get received from req

- update_contacts - if the reply doesn't include contact alias
  get received info from the request.
- extend get_pcontact eith the new parameter.

2 years agoims_usrloc_pcscf: added a reverse searchin get_pcontact
Aleksandar Yosifov [Mon, 3 Aug 2020 11:45:01 +0000 (14:45 +0300)]
ims_usrloc_pcscf: added a reverse searchin get_pcontact

- added a new parameter for reverse search in get_pcontact.

2 years agoacc: add to-tag for locally generated replies
Julien Chavanton [Tue, 28 Jul 2020 23:22:42 +0000 (23:22 +0000)]
acc: add to-tag for locally generated replies

2 years agotls: support compilation without deprecated OpenSSL APIs
Rosen Penev [Wed, 12 Aug 2020 14:37:13 +0000 (16:37 +0200)]
tls: support compilation without deprecated OpenSSL APIs

- GH #2428

2 years agoMerge pull request #2431 from nferreyra/siptrace/fix_drop_in_event_route
Daniel-Constantin Mierla [Wed, 12 Aug 2020 14:31:42 +0000 (16:31 +0200)]
Merge pull request #2431 from nferreyra/siptrace/fix_drop_in_event_route

siptrace: fix drop() usage in siptrace:msg event route

2 years agocore: proper test when initializing _ksr_shutdown_phase shm pointer
Daniel-Constantin Mierla [Tue, 11 Aug 2020 14:33:02 +0000 (16:33 +0200)]
core: proper test when initializing _ksr_shutdown_phase shm pointer

2 years agotopoh: check if via param has the expected prefix, otherwise skip
Daniel-Constantin Mierla [Tue, 11 Aug 2020 10:36:02 +0000 (12:36 +0200)]
topoh: check if via param has the expected prefix, otherwise skip

- GH #2437

2 years agopike: rpc pike.top - support for case insensitive match of parameter
Daniel-Constantin Mierla [Tue, 11 Aug 2020 09:22:35 +0000 (11:22 +0200)]
pike: rpc pike.top - support for case insensitive match of parameter

2 years agomodules: readme files regenerated - pike ... [skip ci]
Kamailio Dev [Tue, 11 Aug 2020 09:16:25 +0000 (11:16 +0200)]
modules: readme files regenerated - pike ... [skip ci]

2 years agopike: docs - section for pike.list rpc command
Daniel-Constantin Mierla [Tue, 11 Aug 2020 09:11:35 +0000 (11:11 +0200)]
pike: docs - section for pike.list rpc command

2 years agomodules: readme files regenerated - xhttp_prom ... [skip ci]
Kamailio Dev [Mon, 10 Aug 2020 21:16:12 +0000 (23:16 +0200)]
modules: readme files regenerated - xhttp_prom ... [skip ci]

2 years agoMerge pull request #2435 from kamailio/vhernando/xhttp_prom_v2
vhernando [Mon, 10 Aug 2020 21:15:55 +0000 (23:15 +0200)]
Merge pull request #2435 from kamailio/vhernando/xhttp_prom_v2

xhttp_prom: add support for histogram metrics.

2 years agoxhttp_prom: add support for histogram metrics. 2435/head
Vicente Hernando Ara [Mon, 10 Aug 2020 17:52:59 +0000 (19:52 +0200)]
xhttp_prom: add support for histogram metrics.

2 years agoctl: skip handling rpc commands if kamilio is in shutdown phase
Daniel-Constantin Mierla [Mon, 10 Aug 2020 14:23:11 +0000 (16:23 +0200)]
ctl: skip handling rpc commands if kamilio is in shutdown phase

- related to #2433

2 years agocore: keep a global flag in shm for shut down phase
Daniel-Constantin Mierla [Mon, 10 Aug 2020 14:15:04 +0000 (16:15 +0200)]
core: keep a global flag in shm for shut down phase

- set when destroy modules is starting
- useful to check from other processes if shut down started

2 years agosiptrace: fix run_top_route() call to set ctx 2431/head
Nuno Ferreira [Fri, 7 Aug 2020 18:20:00 +0000 (19:20 +0100)]
siptrace: fix run_top_route() call to set ctx

- fix drop() usage in siptrace:msg event route

2 years agoMakefile.defs: map gcc v10.x to 9.0+ options
Daniel-Constantin Mierla [Wed, 5 Aug 2020 14:38:01 +0000 (16:38 +0200)]
Makefile.defs: map gcc v10.x to 9.0+ options

- detect properly the 10.x gcc version number, GH #2425

2 years agoevapi: use port in getaddrinfo() otherwise it does not bind as expected
Daniel-Constantin Mierla [Tue, 4 Aug 2020 13:19:39 +0000 (15:19 +0200)]
evapi: use port in getaddrinfo() otherwise it does not bind as expected

- regression added by cc098ecdfb556bf5efaab72fa767c773000f9fb6

2 years agopkg/kamailio/deb: add focal support
Victor Seva [Tue, 4 Aug 2020 10:15:52 +0000 (12:15 +0200)]
pkg/kamailio/deb: add focal support

fixes #2338

2 years agoMakefile.defs: get clang version only from --version output
Daniel-Constantin Mierla [Tue, 4 Aug 2020 06:36:18 +0000 (08:36 +0200)]
Makefile.defs: get clang version only from --version output

- the full version with stderr output included has a different first
line on MacOS, making head -n 1 not extract the version number line

2 years agomodules: readme files regenerated - textopsx ... [skip ci]
Kamailio Dev [Sun, 2 Aug 2020 15:16:16 +0000 (17:16 +0200)]
modules: readme files regenerated - textopsx ... [skip ci]

2 years agotextopsx: docs for change_reply_status_code() function
Daniel-Constantin Mierla [Sun, 2 Aug 2020 15:07:20 +0000 (17:07 +0200)]
textopsx: docs for change_reply_status_code() function

2 years agotextopsx: added change_reply_status_code(vcode)
Daniel-Constantin Mierla [Sun, 2 Aug 2020 15:04:34 +0000 (17:04 +0200)]
textopsx: added change_reply_status_code(vcode)

- function to change only the status code for non-2xx replies

2 years agodb_text: free pointer in case of error
Daniel-Constantin Mierla [Sat, 1 Aug 2020 14:51:39 +0000 (16:51 +0200)]
db_text: free pointer in case of error

2 years agoxcap_server: check before going to the end of the buffer
Daniel-Constantin Mierla [Fri, 31 Jul 2020 18:45:47 +0000 (20:45 +0200)]
xcap_server: check before going to the end of the buffer

- use marcros to set and restore char for ending 0

2 years agopua: update_version_puadb() use pres_id to select record
Victor Seva [Fri, 31 Jul 2020 14:00:06 +0000 (16:00 +0200)]
pua: update_version_puadb() use pres_id to select record

* only relevant when db_mode is PUA_DB_ONLY
* call_id/to_tag/from_tag values can be "", for instance with
  DIALOG_PUBLISH.* records. Then **ALL** records get version
  field update
* update_vesion_puadb() is called from send_publish() and pres->id
  value is valid after a call to get_record_puadb()

related to #2414

2 years agomodules: readme files regenerated - app_lua ... [skip ci]
Kamailio Dev [Thu, 30 Jul 2020 18:46:13 +0000 (20:46 +0200)]
modules: readme files regenerated - app_lua ... [skip ci]

2 years agoapp_lua: docs - note about availability of 'sr' Lua module
Daniel-Constantin Mierla [Thu, 30 Jul 2020 18:32:02 +0000 (20:32 +0200)]
app_lua: docs - note about availability of 'sr' Lua module

- use KSR in the examples

2 years agotopos: more flexible contact_mode 1/2 param parsing by using existing parse functions
Henning Westerholt [Thu, 30 Jul 2020 15:53:37 +0000 (15:53 +0000)]
topos: more flexible contact_mode 1/2 param parsing by using existing parse functions

2 years agopua: fix send_publish() behavior on PUA_DB_ONLY
Victor Seva [Thu, 30 Jul 2020 10:19:45 +0000 (12:19 +0200)]
pua: fix send_publish() behavior on PUA_DB_ONLY

* dialog PUBLISH was missing SIP-If-Mach
* pua was inserting a new record for every dialog state

fixes #2414

2 years agoevapi: export async_unicast() to kemi
Daniel-Constantin Mierla [Thu, 30 Jul 2020 08:36:01 +0000 (10:36 +0200)]
evapi: export async_unicast() to kemi

- PR #2415

2 years agopua_bla: clang-format
Victor Seva [Wed, 29 Jul 2020 11:28:39 +0000 (13:28 +0200)]
pua_bla: clang-format

* use STR_NULL

2 years agopua_bla: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 11:15:25 +0000 (13:15 +0200)]
pua_bla: convert to PKG/SHM memory logging helper functions

* remove trailing spaces
* remove history notes and $Id

2 years agopua_usrloc: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 11:10:04 +0000 (13:10 +0200)]
pua_usrloc: convert to PKG/SHM memory logging helper functions

2 years agoChangeLog: updated for 5.5.0 development
Daniel-Constantin Mierla [Wed, 29 Jul 2020 10:11:16 +0000 (12:11 +0200)]
ChangeLog: updated for 5.5.0 development

2 years agopua: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 08:53:48 +0000 (10:53 +0200)]
pua: convert to PKG/SHM memory logging helper functions

* remove trailing spaces

2 years agopua_dialoginfo: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 08:32:05 +0000 (10:32 +0200)]
pua_dialoginfo: convert to PKG/SHM memory logging helper functions

2 years agodialog: print old state on dlg timeout
Daniel-Constantin Mierla [Mon, 27 Jul 2020 07:37:23 +0000 (09:37 +0200)]
dialog: print old state on dlg timeout

2 years agopkg/kamailio/obs: spec formating
Sergey Safarov [Mon, 27 Jul 2020 06:50:54 +0000 (09:50 +0300)]
pkg/kamailio/obs: spec formating

2 years agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Fri, 24 Jul 2020 20:31:23 +0000 (22:31 +0200)]
modules: readme files regenerated - tls ... [skip ci]

2 years agotls: docs - fixed typo
Daniel-Constantin Mierla [Fri, 24 Jul 2020 20:25:50 +0000 (22:25 +0200)]
tls: docs - fixed typo

- GH #2410

2 years agotm: lower log level for t_unref kill transaction to WARN
Henning Westerholt [Thu, 23 Jul 2020 15:23:15 +0000 (15:23 +0000)]
tm: lower log level for t_unref kill transaction to WARN

- lower log level for t_unref kill transaction to WARN
- immediate CANCEL on an INVITE could trigger this

2 years agomodules: readme files regenerated - topos ... [skip ci]
Kamailio Dev [Thu, 23 Jul 2020 14:01:15 +0000 (16:01 +0200)]
modules: readme files regenerated - topos ... [skip ci]

2 years agotopos: add two new modes for topology hiding to preserve Contact user
Henning Westerholt [Thu, 23 Jul 2020 13:48:58 +0000 (13:48 +0000)]
topos: add two new modes for topology hiding to preserve Contact user

- add two new modes for topology hiding to preserve Contact user
- add new variables contact_mode, cparam_name, a_contact_avp and b_contact_avp
- if contact_mode is 1, the internal key will be stored in a URI parameter
  instead of the Contact user, and the Contact users will be taken from the msg
- contact_mode 2 is the same as 1, but the Contact users will be taken from AVPs
- default is contact_mode 0 - the existing (old) behaviour

2 years agocore: added global parameter hdr_name_extra_chars
Daniel-Constantin Mierla [Thu, 23 Jul 2020 06:51:30 +0000 (08:51 +0200)]
core: added global parameter hdr_name_extra_chars

- allow specifying additional chars to be allowed in header names

2 years agocore: parse hdr name - removed unused defines
Daniel-Constantin Mierla [Wed, 22 Jul 2020 06:09:02 +0000 (08:09 +0200)]
core: parse hdr name - removed unused defines

- comments to describe indexing arrays

2 years agoREADME: updated version
Daniel-Constantin Mierla [Tue, 21 Jul 2020 20:32:23 +0000 (22:32 +0200)]
README: updated version

2 years agoims_registrar_scscf: added a new registrar event, notification improvements
Aleksandar Yosifov [Fri, 17 Jul 2020 07:45:00 +0000 (10:45 +0300)]
ims_registrar_scscf: added a new registrar event, notification improvements

    - Added a new IMS registrar event: IMS_REGISTRAR_SUBSEQUENT_SUBSCRIBE -
      used to skip NOTIFY msg after receiving of subsequent subscribe msg.
    - Added a new parameter in event_reg(), create_notifications() and
      notify_subscribers() methods: c_passed contact - used to mainly in
      create_notification().
    - Changes in create_notification() - the checks for sending NOTIFY
      msgs have been expanded and the new parameter c_passed is used for
      that.
    - Changes in subscribe_to_reg() - sending NOTIFY only for the
      initial subscriptions.
    - Changes in generate_reginfo_full() - the old functionality with
      all contacts in NOTIFY msg has been returned based on RFC3680. Added
      mechanism to change all contact states from
      CONTACT_EXPIRE_PENDING_NOTIFY to CONTACT_NOTIFY_READY after reginfo
      generation.

2 years agoims_usrloc_scscf: added a new contact state, udomain/impu improvements
Aleksandar Yosifov [Fri, 17 Jul 2020 07:42:15 +0000 (10:42 +0300)]
ims_usrloc_scscf: added a new contact state, udomain/impu improvements

    - Added a new contact state: CONTACT_NOTIFY_READY - protect the
      deletion of contact during the preparation of NOTIFY msg.
    - Improved mem_timer_udomain() - protect the deletion of contact
      during the preparation of NOTIFY msg.
    - Improved process_impurecord() - first doing the contacts'
      validity, then the subscribers' validity. This prevents contact
      from remaining in the database after deleting a subscriber.

2 years agoMerge pull request #2402 from kamailio/sip-parser-log
Daniel-Constantin Mierla [Tue, 21 Jul 2020 20:03:04 +0000 (22:03 +0200)]
Merge pull request #2402 from kamailio/sip-parser-log

core: add sip_parser_log core variable

2 years agocore: parse hdr name - added missing compact names in static map
Daniel-Constantin Mierla [Mon, 20 Jul 2020 14:15:33 +0000 (16:15 +0200)]
core: parse hdr name - added missing compact names in static map

- https://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-2

2 years agomodules: readme files regenerated - xhttp_prom ... [skip ci]
Kamailio Dev [Fri, 17 Jul 2020 13:16:12 +0000 (15:16 +0200)]
modules: readme files regenerated - xhttp_prom ... [skip ci]

2 years agoxhttp_prom: fixed typo in the documentation
Marat Gareev [Fri, 17 Jul 2020 12:22:33 +0000 (15:22 +0300)]
xhttp_prom: fixed typo in the documentation

2 years agocore: remove not needed parser definitions files after rework in commit ded4fa4ff
Henning Westerholt [Fri, 17 Jul 2020 10:30:34 +0000 (10:30 +0000)]
core: remove not needed parser definitions files after rework in commit ded4fa4ff

2 years agocore: add sip_parser_log core variable sip-parser-log 2402/head
lazedo [Fri, 17 Jul 2020 10:08:43 +0000 (10:08 +0000)]
core: add sip_parser_log core variable

* when handling non sip messages, parser errors are logged at core level
which defaults to ERR. since this may induce in error sysops or log
scanners, sometimes the core level is set to debug just to omit these
messages from log, which is not good since other messages are omitted
too. this commit adds a new core variable to set the log level for
message parsing errors. this way, we can explicitly set the log level
for message parsing while leaving the core level at ERR.

2 years agopkg/kamailio/deb: version set 5.5.0~dev1 [skip ci]
Victor Seva [Fri, 17 Jul 2020 08:42:45 +0000 (10:42 +0200)]
pkg/kamailio/deb: version set 5.5.0~dev1 [skip ci]

2 years agoMerge pull request #2399 from lbalaceanu/mdb_availability_control
Lucian Balaceanu [Fri, 17 Jul 2020 07:43:30 +0000 (10:43 +0300)]
Merge pull request #2399 from lbalaceanu/mdb_availability_control

p_usrloc: reworking mdb_availability_control

2 years agoMakefile.defs: version set to 5.5.0-dev1
Daniel-Constantin Mierla [Fri, 17 Jul 2020 07:18:58 +0000 (09:18 +0200)]
Makefile.defs: version set to 5.5.0-dev1

2 years agomodules: readme files regenerated - sipdump ... [skip ci]
Kamailio Dev [Fri, 17 Jul 2020 06:01:20 +0000 (08:01 +0200)]
modules: readme files regenerated - sipdump ... [skip ci]

2 years agosipdump: docs about mode flag 3 (value 8)
Daniel-Constantin Mierla [Fri, 17 Jul 2020 05:54:30 +0000 (07:54 +0200)]
sipdump: docs about mode flag 3 (value 8)

- corrected indexes for flags

2 years agowebsocket: emit core event on close
lazedo [Mon, 13 Jul 2020 12:53:25 +0000 (12:53 +0000)]
websocket: emit core event on close