[OpenSIPS-Devel] [OpenSIPS/opensips] 9c27ae: Revert "Optimize str_strstr()"

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c27ae41479a9ee48c1eef6859e559ba4b147014
  
https://github.com/OpenSIPS/opensips/commit/9c27ae41479a9ee48c1eef6859e559ba4b147014
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M ut.h

  Log Message:
  ---
  Revert "Optimize str_strstr()"

Partial revert of commit 418922f1452b5637efa

Reason: premature optimization :) new implementation was actually slower



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] a81afc: mid_registrar: Improve robustness vs. bad traffic ...

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a81afc112023a1b900198b2775e73cff13da64f1
  
https://github.com/OpenSIPS/opensips/commit/a81afc112023a1b900198b2775e73cff13da64f1
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M lib/reg/sip_msg.c
M lib/reg/sip_msg.h
M modules/mid_registrar/save.c
M parser/msg_parser.c
M parser/msg_parser.h

  Log Message:
  ---
  mid_registrar: Improve robustness vs. bad traffic in mode 2

In case the main registrar returns extra contacts, make sure to
correctly match the mid-registrar's *single* contact within the list,
then strip all Contacts from the 200 OK, effectively fixing it.

Thanks go to Slava Bendersky for reporting and helping troubleshoot.

(cherry picked from commit 7a9912602aa76b2af9dbdf8632cccb8aace7b22a)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ecda94: mid_registrar: Improve robustness vs. bad traffic ...

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ecda948a4cd6b2463d0402b0fefb0713c96bd4eb
  
https://github.com/OpenSIPS/opensips/commit/ecda948a4cd6b2463d0402b0fefb0713c96bd4eb
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M lib/reg/sip_msg.c
M lib/reg/sip_msg.h
M modules/mid_registrar/save.c
M parser/msg_parser.c
M parser/msg_parser.h

  Log Message:
  ---
  mid_registrar: Improve robustness vs. bad traffic in mode 2

In case the main registrar returns extra contacts, make sure to
correctly match the mid-registrar's *single* contact within the list,
then strip all Contacts from the 200 OK, effectively fixing it.

Thanks go to Slava Bendersky for reporting and helping troubleshoot.

(cherry picked from commit 7a9912602aa76b2af9dbdf8632cccb8aace7b22a)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 486e96: parser: Reuse add_last() macro when possible

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 486e9611853dcac0197b29d6e3e37805a4903864
  
https://github.com/OpenSIPS/opensips/commit/486e9611853dcac0197b29d6e3e37805a4903864
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M parser/msg_parser.c

  Log Message:
  ---
  parser: Reuse add_last() macro when possible



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 7a9912: mid_registrar: Improve robustness vs. bad traffic ...

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7a9912602aa76b2af9dbdf8632cccb8aace7b22a
  
https://github.com/OpenSIPS/opensips/commit/7a9912602aa76b2af9dbdf8632cccb8aace7b22a
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M lib/reg/sip_msg.c
M lib/reg/sip_msg.h
M modules/mid_registrar/save.c
M parser/msg_parser.c
M parser/msg_parser.h

  Log Message:
  ---
  mid_registrar: Improve robustness vs. bad traffic in mode 2

In case the main registrar returns extra contacts, make sure to
correctly match the mid-registrar's *single* contact within the list,
then strip all Contacts from the 200 OK, effectively fixing it.

Thanks go to Slava Bendersky for reporting and helping troubleshoot.


  Commit: 418922f1452b5637efa1a0016e9a279ce7d6b138
  
https://github.com/OpenSIPS/opensips/commit/418922f1452b5637efa1a0016e9a279ce7d6b138
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M test/test_ut.c
M ut.h

  Log Message:
  ---
  Optimize str_strstr(); Add some basic tests


Compare: 
https://github.com/OpenSIPS/opensips/compare/5e7be5626013...418922f1452b

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] f24f0f: usrloc: simplify processing of the refresh events

2024-05-07 Thread Maksym Sobolyev
  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f24f0fd350a937edab667494256cbf21bfd92e17
  
https://github.com/OpenSIPS/opensips/commit/f24f0fd350a937edab667494256cbf21bfd92e17
  Author: Maksym Sobolyev 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/usrloc/ul_evi.c
M modules/usrloc/ul_evi.h

  Log Message:
  ---
  usrloc: simplify processing of the refresh events

Do not abuse "struct socket_info" just to pass sock_str over.
Instead, add str to the refresh event data and pass that alone.
Not only it reduces amount of data to pass, but also makes
code much easier to read and understand.

(cherry picked from commit 04cb08e70ef467e5d599289abec485c957587d7c)
(cherry picked from commit 126712e37f9c8cf28b0441cd4aab5cd7a571892c)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 126712: usrloc: simplify processing of the refresh events

2024-05-07 Thread Maksym Sobolyev
  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 126712e37f9c8cf28b0441cd4aab5cd7a571892c
  
https://github.com/OpenSIPS/opensips/commit/126712e37f9c8cf28b0441cd4aab5cd7a571892c
  Author: Maksym Sobolyev 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/usrloc/ul_evi.c
M modules/usrloc/ul_evi.h

  Log Message:
  ---
  usrloc: simplify processing of the refresh events

Do not abuse "struct socket_info" just to pass sock_str over.
Instead, add str to the refresh event data and pass that alone.
Not only it reduces amount of data to pass, but also makes
code much easier to read and understand.

(cherry picked from commit 04cb08e70ef467e5d599289abec485c957587d7c)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 04cb08: usrloc: simplify processing of the refresh events

2024-05-07 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 04cb08e70ef467e5d599289abec485c957587d7c
  
https://github.com/OpenSIPS/opensips/commit/04cb08e70ef467e5d599289abec485c957587d7c
  Author: Maksym Sobolyev 
  Date:   2023-12-03 (Sun, 03 Dec 2023)

  Changed paths:
M modules/usrloc/ul_evi.c
M modules/usrloc/ul_evi.h

  Log Message:
  ---
  usrloc: simplify processing of the refresh events

Do not abuse "struct socket_info" just to pass sock_str over.
Instead, add str to the refresh event data and pass that alone.
Not only it reduces amount of data to pass, but also makes
code much easier to read and understand.


  Commit: 5e7be56260139a365d238e274652c4c031cbb52b
  
https://github.com/OpenSIPS/opensips/commit/5e7be56260139a365d238e274652c4c031cbb52b
  Author: Liviu Chircu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/usrloc/ul_evi.c
M modules/usrloc/ul_evi.h

  Log Message:
  ---
  Merge branch 'pr_ct_refresh_event' of https://github.com/sippy/opensips into 
sippy-pr_ct_refresh_event


Compare: 
https://github.com/OpenSIPS/opensips/compare/ca98f5778f73...5e7be5626013

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 46db9d: [uac_registrant] tune the calculation of the timeo...

2024-05-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 46db9d93a96629bb480558947a0487ef3f255c01
  
https://github.com/OpenSIPS/opensips/commit/46db9d93a96629bb480558947a0487ef3f255c01
  Author: Bogdan-Andrei Iancu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/uac_registrant/registrant.c

  Log Message:
  ---
  [uac_registrant] tune the calculation of the timeout in error cases

Use the "expires" if the "failure_retry_interval" is not set
Completes #3270
Related to 570c853beb2b8fa24f65cf29d81917833d45acf8


  Commit: da52437b08e83c6f73af340fca20fd5738ce03d8
  
https://github.com/OpenSIPS/opensips/commit/da52437b08e83c6f73af340fca20fd5738ce03d8
  Author: Bogdan-Andrei Iancu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/uac_registrant/doc/uac_registrant_admin.xml

  Log Message:
  ---
  [uac_registrant] add `failure_retry_interval` to docs

Completes #3270
Related to 570c853beb2b8fa24f65cf29d81917833d45acf


  Commit: ca98f5778f73425d6e623c3aae93a3ceff79af37
  
https://github.com/OpenSIPS/opensips/commit/ca98f5778f73425d6e623c3aae93a3ceff79af37
  Author: Bogdan-Andrei Iancu 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/uac_registrant/doc/uac_registrant_admin.xml
M modules/uac_registrant/registrant.c

  Log Message:
  ---
  [uac_registrant] added new reg_force_register MI command

to force the (re-)registration of a record (before its normal timeout/retry 
interval)


Compare: 
https://github.com/OpenSIPS/opensips/compare/570c853beb2b...ca98f5778f73

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] c3b135: uac_registrant: add "failure_retry_interval" modparam

2024-05-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3b1356a1bf72272dfdae9cdaaf286901caeab0b
  
https://github.com/OpenSIPS/opensips/commit/c3b1356a1bf72272dfdae9cdaaf286901caeab0b
  Author: James Stanley 
  Date:   2023-12-23 (Sat, 23 Dec 2023)

  Changed paths:
M modules/uac_registrant/registrant.c

  Log Message:
  ---
  uac_registrant: add "failure_retry_interval" modparam


  Commit: 570c853beb2b8fa24f65cf29d81917833d45acf8
  
https://github.com/OpenSIPS/opensips/commit/570c853beb2b8fa24f65cf29d81917833d45acf8
  Author: Bogdan Andrei IANCU 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/uac_registrant/registrant.c

  Log Message:
  ---
  Merge pull request #3270 from jes/jes/failure-retry-interval

uac_registrant: add "failure_retry_interval" modparam


Compare: 
https://github.com/OpenSIPS/opensips/compare/7ea63f394eb0...570c853beb2b

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 6f6bb1: Update notify.c to reduce noisy logs

2024-05-07 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6f6bb1af4a2919cbb369a202f08efd5ad4f23d2f
  
https://github.com/OpenSIPS/opensips/commit/6f6bb1af4a2919cbb369a202f08efd5ad4f23d2f
  Author: Norm Brandinger 
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
M modules/presence/notify.c

  Log Message:
  ---
  Update notify.c to reduce noisy logs


  Commit: 7ea63f394eb0c739362ba0ba9ce6f5b9398f655f
  
https://github.com/OpenSIPS/opensips/commit/7ea63f394eb0c739362ba0ba9ce6f5b9398f655f
  Author: Bogdan Andrei IANCU 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/presence/notify.c

  Log Message:
  ---
  Merge pull request #3384 from NormB/NormB-patch-2

Update notify.c to reduce noisy logs


Compare: 
https://github.com/OpenSIPS/opensips/compare/34520687b709...7ea63f394eb0

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] c85cce: Add support for publishing custom prometheus data ...

2024-05-07 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c85cce33be9c770e49f3083506629fbe80547976
  
https://github.com/OpenSIPS/opensips/commit/c85cce33be9c770e49f3083506629fbe80547976
  Author: Dudu Ben Moshe 
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
M modules/prometheus/README
M modules/prometheus/doc/prometheus_admin.xml
M modules/prometheus/prometheus.c

  Log Message:
  ---
  Add support for publishing custom prometheus data ( not stat driven )


  Commit: cf50485353309d64d356e0077ede229517f13065
  
https://github.com/OpenSIPS/opensips/commit/cf50485353309d64d356e0077ede229517f13065
  Author: Vlad Paiu 
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
M modules/prometheus/prometheus.c

  Log Message:
  ---
  Add script route ref support


  Commit: 34520687b709452c32a4397888444f09bace1443
  
https://github.com/OpenSIPS/opensips/commit/34520687b709452c32a4397888444f09bace1443
  Author: Răzvan Crainea 
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
M modules/prometheus/README
M modules/prometheus/doc/prometheus_admin.xml
M modules/prometheus/prometheus.c

  Log Message:
  ---
  Merge pull request #3310 from OpenSIPS/prometheus_custom_route

Add support for publishing custom prometheus data ( not stat driven )


Compare: 
https://github.com/OpenSIPS/opensips/compare/ca319630e2f5...34520687b709

To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel