[sr-dev] Re: Releasing v5.8.2

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Hello,

quick reminder that v5.8.2 is going to be released today, as usual, till
the release announcement is out, any commits to branch 5.8 should be
announced on sr-dev mailing list and wait for ack before pushing it to
the git repo. Once the release is out, commits can go into branch 5.8 as
usual.

Cheers,
Daniel

On 07.06.24 20:07, Daniel-Constantin Mierla wrote:
> Hello,
>
> I am considering to release Kamailio v5.8.2 (out of branch 5.8) on
> Wednesday,
> June 12, 2024. If anyone is aware of issues not yet on the bug tracker,
> report them there asap in order to have a better chance to be fixed.
>
> Cheers,
> Daniel
>
-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3874)

2024-06-11 Thread H. Yavari via sr-dev
@hyavari pushed 1 commit.

b224365fc8c47593b92d220379c121fba5b8e4b3  ims_usrloc_pcscf: Update the module 
document

-- 
View it on GitHub:
https://github.com/kamailio/kamailio/pull/3874/files/1fb43aef804110ce49455078a13620e10656fa8d..b224365fc8c47593b92d220379c121fba5b8e4b3
You are receiving this because you are subscribed to this thread.

Message ID: 

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3874)

2024-06-11 Thread H. Yavari via sr-dev
- Adding missing ims_icscf database parameters to admin documents.
- Change the default value for ims_icscf db_url to Kamailio default db_url 
value.

!-- Kamailio Pull Request Template --

!--
IMPORTANT:
  - for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
  - pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
  - backports to stable branches must be done with git cherry-pick -x 
...
  - code is contributed under BSD for core and main components (tm, sl, auth, 
tls)
  - code is contributed GPLv2 or a compatible license for the other components
  - GPL code is contributed with OpenSSL licensing exception
--

 Pre-Submission Checklist
!-- Go over all points below, and after creating the PR, tick all the 
checkboxes that apply --
!-- All points should be verified, otherwise, read the CONTRIBUTING 
guidelines from above--
!-- If youre unsure about any of these, dont hesitate to ask on 
sr-dev mailing list --
- [ :white_check_mark: ] Commit message has the format required by CONTRIBUTING 
guide
- [ :white_check_mark:] Commits are split per component (core, individual 
modules, libs, utils, ...)
- [ :white_check_mark:] Each component has a single commit (if not, squash them 
into one commit)
- [ :white_check_mark:] No commits to README files for modules (changes must be 
done to docbook files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ :white_check_mark:] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [ :white_check_mark:] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
!-- Describe your changes in detail --
Only an improvement for users to know they need to set database params for 
ims_icscf module.

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3874

-- Commit Summary --

  * ims_icscf: add missing documents for database params

-- File Changes --

M src/modules/ims_icscf/doc/ims_icscf_admin.xml (100)
M src/modules/ims_icscf/ims_icscf_mod.c (2)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/3874.patch
https://github.com/kamailio/kamailio/pull/3874.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3874
You are receiving this because you are subscribed to this thread.

Message ID: kamailio/kamailio/pull/3...@github.com
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3873)

2024-06-11 Thread H. Yavari via sr-dev
@hyavari pushed 1 commit.

071c025088e8b669650ffa099781c25883bd17bd  ims_icscf: add missing documents for 
database params

-- 
View it on GitHub:
https://github.com/kamailio/kamailio/pull/3873/files/478d2ebdaf7f64a894b43366389b85938eebfd1a..071c025088e8b669650ffa099781c25883bd17bd
You are receiving this because you are subscribed to this thread.

Message ID: 

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3873)

2024-06-11 Thread H. Yavari via sr-dev
Closed #3873.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3873#event-13122189828
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3873)

2024-06-11 Thread H. Yavari via sr-dev
Thanks, I will create a new one.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3873#issuecomment-2161515972
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3873)

2024-06-11 Thread Victor Seva via sr-dev
> Commits are split per component 

please split the changes per module

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3873#issuecomment-2161482034
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] ims_icscf: add missing documents for database params (PR #3873)

2024-06-11 Thread H. Yavari via sr-dev
- Adding missing ims_icscf database parameters documents.
- Change the default value for ims_icscf db_url to Kamailio db_url.
- ims_usrloc_pcscf: fix the db_url type from into to string in document.

!-- Kamailio Pull Request Template --

!--
IMPORTANT:
  - for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
  - pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
  - backports to stable branches must be done with git cherry-pick -x 
...
  - code is contributed under BSD for core and main components (tm, sl, auth, 
tls)
  - code is contributed GPLv2 or a compatible license for the other components
  - GPL code is contributed with OpenSSL licensing exception
--

 Pre-Submission Checklist
!-- Go over all points below, and after creating the PR, tick all the 
checkboxes that apply --
!-- All points should be verified, otherwise, read the CONTRIBUTING 
guidelines from above--
!-- If youre unsure about any of these, dont hesitate to ask on 
sr-dev mailing list --
- [ :white_check_mark:] Commit message has the format required by CONTRIBUTING 
guide
- [ :white_check_mark:] Commits are split per component (core, individual 
modules, libs, utils, ...)
- [ :white_check_mark:] Each component has a single commit (if not, squash them 
into one commit)
- [ :white_check_mark:] No commits to README files for modules (changes must be 
done to docbook files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ :white_check_mark: ] Small bug fix (non-breaking change which fixes an 
issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [ :white_check_mark:] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
!-- Describe your changes in detail --

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3873

-- Commit Summary --

  * ims_icscf: add missing documents for database params

-- File Changes --

M src/modules/ims_icscf/doc/ims_icscf_admin.xml (100)
M src/modules/ims_icscf/ims_icscf_mod.c (3)
M src/modules/ims_usrloc_pcscf/doc/ims_usrloc_pcscf_admin.xml (3)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/3873.patch
https://github.com/kamailio/kamailio/pull/3873.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3873
You are receiving this because you are subscribed to this thread.

Message ID: kamailio/kamailio/pull/3...@github.com
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Initial Support for CMake in Kamailio - Feedback Needed!

2024-06-11 Thread Xenofon Karamanos via sr-dev
Hello all,

I've started working on integrating CMake as a build system for the Kamailio. 
This is an initial step towards potentially offering CMake as an alternative to 
the current build system across the entire Kamailio project.
Right now, the CMake configuration is quite basic and covers only the core 
module. It offers limited options described in Makefile.defs that are required 
to build the core module.
Some notes regarding the definitions can be found also in the 
CMakelists.notes
 that made the build failed and maybe it's good to remove from current 
Makefiles as well, if i am not wrong.
Before we consider extending it to other modules and components, i would like 
some feedback whether you find it useful at all.
You can find the initial CMake files in the cmake​ branch. Please take a look 
and feel free to share any feedback or suggestions. Your input will be much 
appreciated and nessecary if we want CMake as a build system.

For anyone wanting to try and compile using cmake, here are some basic 
instructions on how to get you started.
Checkout the cmake​ branch of kamailio repo.
Create a new folder, let's call it build.
mkdir build && cd build​
Then run CMake for the configuration
cmake ..​ (you can also then use  ccmake .​for a visual of the offered 
options)
Build and install using make
  make -j4​
  make install
OR
Build and install using cmake
  cmake --build .
  cmake --install .

You can of course use the CMake variable CMAKE_INSTALL_PREFIX​ to change the 
installation paths as follows and of course other preprocessor defintions:
  cmake -DCMAKE_INSTALL_PREFIX=./kamailio-cmake -DUSE_TCP=0 ..​
This will install it in the build/kamailio-cmake​ folder but fails to build 
because USE_TCP is required for kamailio to build (Check CMakelists.notes).​

Thank you all for your continuous contributions and support. Looking forward to 
hearing your thoughts and insights.
Best regards,
Xenofon
https://github.com/kamailio/kamailio/tree/cmake
[https://repository-images.githubusercontent.com/15101579/2d895000-e695-11e9-943e-d6dd9ef49a41]
GitHub - kamailio/kamailio at 
cmake
Kamailio - The Open Source SIP Server for large VoIP and real-time 
communication platforms - - GitHub - kamailio/kamailio at cmake
github.com

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] multiple subsytems: unsigned integer conversion fixes (PR #3828)

2024-06-11 Thread Tyler Moore via sr-dev
@miconda just wanted to post back real quick on this one, I think this might 
take a little while to review...

```
~/projects/kamailio|[git:sr_3.1_freeze:master !]$ grep -RE -m 1 -l 
'db_val2pv_spec|db1_res_t' src/modules/ | cut -d '/' -f 3 | sort -u
alias_db
auth_db
avpops
carrierroute
cplc
db_berkeley
db_cassandra
db_cluster
db_mongodb
db_mysql
db_oracle
db_perlvdb
db_postgres
db_redis
db_sqlite
db_text
db_unixodbc
dialog
dialplan
dispatcher
domain
domainpolicy
drouting
group
htable
imc
ims_charging
ims_dialog
ims_icscf
ims_usrloc_pcscf
ims_usrloc_scscf
lcr
matrix
mohqueue
mqueue
msilo
mtree
pdt
permissions
pipelimit
presence
presence_xml
pua
p_usrloc
rls
rtpengine
rtpproxy
sca
secfilter
speeddial
sqlops
topos
uac
uri_db
userblocklist
usrloc
utils
xcap_client
xcap_server
xhttp_pi
```

I have not had time to deep dive into this yet but there is probably a better 
way to filter down the list of modules converting those `db1_res_t` variables 
to pseudo variables.  
As far as I can tell though, even the references that are not eventually 
converted to PVs should be reviewed in case the logic was written without that 
assumption in mind.  
For example, I can already see in htable another case where a db_result_t in 
`ht_db_load_table()` is assumed to only to be an integer type and is used for 
indexing in the hash table (follow this variable down 
https://github.com/kamailio/kamailio/blob/e047f35ad5e1d7b4984a9cce72ffb782fdae3bda/src/modules/htable/ht_db.c#L187).
  

I'll post back when I have more time to review this one in depth.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3828#issuecomment-2160935296
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:e047f35a: dispatcher: debug messages for setting oc attributes

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: e047f35ad5e1d7b4984a9cce72ffb782fdae3bda
URL: 
https://github.com/kamailio/kamailio/commit/e047f35ad5e1d7b4984a9cce72ffb782fdae3bda

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2024-06-11T14:19:02+02:00

dispatcher: debug messages for setting oc attributes

---

Modified: src/modules/dispatcher/dispatch.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/e047f35ad5e1d7b4984a9cce72ffb782fdae3bda.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e047f35ad5e1d7b4984a9cce72ffb782fdae3bda.patch

---

diff --git a/src/modules/dispatcher/dispatch.c 
b/src/modules/dispatcher/dispatch.c
index 49e560a710b..84166540a37 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -466,8 +466,8 @@ int ds_oc_set_attrs(
LM_ERR("destination set [%d] not found\n", setid);
return -1;
}
-   LM_DBG("update oc rate for %.*s in group %d to %d\n", duri->len, 
duri->s,
-   setid, irval);
+   LM_DBG("updating oc attrs for %d %.*s to rate %d validity %d seq %d\n",
+   setid, duri->len, duri->s, irval, itval, isval);
 
gettimeofday(, NULL);
timerclear();
@@ -479,6 +479,7 @@ int ds_oc_set_attrs(
if(idx->dlist[i].uri.len == duri->len
&& strncasecmp(idx->dlist[i].uri.s, duri->s, 
duri->len) == 0) {
if(idx->dlist[i].ocseq >= isval) {
+   LM_DBG("skipping entry %d due to seq 
condition\n", i);
continue;
}
idx->dlist[i].attrs.ocrate = irval;
@@ -492,6 +493,7 @@ int ds_oc_set_attrs(
timeradd(, , >dlist[i].octime);
idx->dlist[i].ocseq = isval;
ret = 1;
+   LM_DBG("updated entry %d\n", i);
}
}
return ret;

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:842bb793: modules: readme files regenerated - dispatcher ... [skip ci]

2024-06-11 Thread Kamailio Dev via sr-dev
Module: kamailio
Branch: master
Commit: 842bb7936ea92a9785711b7e61392615bb541826
URL: 
https://github.com/kamailio/kamailio/commit/842bb7936ea92a9785711b7e61392615bb541826

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2024-06-11T13:46:10+02:00

modules: readme files regenerated - dispatcher ... [skip ci]

---

Modified: src/modules/dispatcher/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/842bb7936ea92a9785711b7e61392615bb541826.diff
Patch: 
https://github.com/kamailio/kamailio/commit/842bb7936ea92a9785711b7e61392615bb541826.patch

---

diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index 1e99229575a..fbac75c662d 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -122,7 +122,7 @@ Federico Cabiddu
   4.14. ds_load_unset()
   4.15. ds_reload()
   4.16. ds_dsg_fetch(setid)
-  4.17. ds_oc_set_attrs(setid, uri, rval, tval)
+  4.17. ds_oc_set_attrs(setid, uri, rval, tval, sval)
 
 5. RPC Commands
 
@@ -291,7 +291,7 @@ Chapter 1. Admin Guide
 4.14. ds_load_unset()
 4.15. ds_reload()
 4.16. ds_dsg_fetch(setid)
-4.17. ds_oc_set_attrs(setid, uri, rval, tval)
+4.17. ds_oc_set_attrs(setid, uri, rval, tval, sval)
 
5. RPC Commands
 
@@ -1118,7 +1118,7 @@ modparam("dispatcher", "ds_interval_mode", 7200)
4.14. ds_load_unset()
4.15. ds_reload()
4.16. ds_dsg_fetch(setid)
-   4.17. ds_oc_set_attrs(setid, uri, rval, tval)
+   4.17. ds_oc_set_attrs(setid, uri, rval, tval, sval)
 
 4.1.  ds_select_dst(set, alg[, limit])
 
@@ -1636,7 +1636,7 @@ onreply_route {
 xinfo("set id: 1 - all: $dsg(count); active: $dsg(active)\n");
 ...
 
-4.17.  ds_oc_set_attrs(setid, uri, rval, tval)
+4.17.  ds_oc_set_attrs(setid, uri, rval, tval, sval)
 
Sets the overload control rate and time internval limit for the
destination (setid, uri).
@@ -1650,12 +1650,15 @@ onreply_route {
  * tval - time interval limit to apply the overload control rate (in
milliseconds). If the value is 0 or negative, then the default
value 500 is used.
+ * sval - the sequence number for overload control.
+
+   The parameters can include variables.
 
This function can be used from ANY_ROUTE.
 
Example 1.60. ds_oc_set_attrs() usage
 ...
-ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30", "1000");
+ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30", "1000", "1");
 ...
 
 5. RPC Commands

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:e92be0e1: docs: new parameter for ds_oc_set_attrs()

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: e92be0e131193b4b0a294e71fb2cfb4f52f5ef6f
URL: 
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4f52f5ef6f

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2024-06-11T13:35:44+02:00

docs: new parameter for ds_oc_set_attrs()

---

Modified: src/modules/dispatcher/doc/dispatcher_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4f52f5ef6f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e92be0e131193b4b0a294e71fb2cfb4f52f5ef6f.patch

---

diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml 
b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 62e212f8744..70a30ed7f7e 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -2016,7 +2016,7 @@ onreply_route {



-   ds_oc_set_attrs(setid, uri, rval, 
tval)
+   ds_oc_set_attrs(setid, uri, rval, 
tval, sval)


Sets the overload control rate and time internval limit
@@ -2041,9 +2041,13 @@ onreply_route {
tval - time interval limit 
to apply the
overload control rate (in milliseconds). If the value 
is 0 or
negative, then the default value 500 is used.
-
+   
+
+   sval - the sequence number 
for overload
+   control.
+   

-
+   The parameters can include variables.

This function can be used from ANY_ROUTE.

@@ -2051,7 +2055,7 @@ onreply_route {
ds_oc_set_attrs() usage

 ...
-ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30", "1000");
+ds_oc_set_attrs("1", "sip:127.0.0.1:5080", "30", "1000", "1");
 ...
 


___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:b3eefcd3: core: additional fixup functions for int-str-int-int-int parameters

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: b3eefcd34fa16a13f233afcf285f3abbe4401394
URL: 
https://github.com/kamailio/kamailio/commit/b3eefcd34fa16a13f233afcf285f3abbe4401394

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2024-06-11T12:59:37+02:00

core: additional fixup functions for int-str-int-int-int parameters

---

Modified: src/core/mod_fix.c
Modified: src/core/mod_fix.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/b3eefcd34fa16a13f233afcf285f3abbe4401394.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b3eefcd34fa16a13f233afcf285f3abbe4401394.patch

---

diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c
index fa7e2c4b47a..18785662936 100644
--- a/src/core/mod_fix.c
+++ b/src/core/mod_fix.c
@@ -1095,3 +1095,39 @@ int fixup_free_isii(void **param, int param_no)
return E_UNSPEC;
}
 }
+
+/**
+ *
+ */
+int fixup_isiii(void **param, int param_no)
+{
+   switch(param_no) {
+   case 1:
+   case 3:
+   case 4:
+   case 5:
+   return fixup_igp_null(param, 1);
+   case 2:
+   return fixup_spve_null(param, 1);
+   default:
+   return E_UNSPEC;
+   }
+}
+
+/**
+ *
+ */
+int fixup_free_isiii(void **param, int param_no)
+{
+   switch(param_no) {
+   case 1:
+   case 3:
+   case 4:
+   case 5:
+   return fixup_free_igp_null(param, 1);
+   case 2:
+   return fixup_free_spve_null(param, 1);
+   default:
+   return E_UNSPEC;
+   }
+}
diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h
index 76c57bc9bf6..092f65b93bc 100644
--- a/src/core/mod_fix.h
+++ b/src/core/mod_fix.h
@@ -190,4 +190,7 @@ int fixup_free_isi(void **param, int param_no);
 int fixup_isii(void **param, int param_no);
 int fixup_free_isii(void **param, int param_no);
 
+int fixup_isiii(void **param, int param_no);
+int fixup_free_isiii(void **param, int param_no);
+
 #endif

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:803e8442: dispatcher: track oc-seq values

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 803e8442a2278adc19eebfbb2ff0aba31c180539
URL: 
https://github.com/kamailio/kamailio/commit/803e8442a2278adc19eebfbb2ff0aba31c180539

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2024-06-11T13:09:10+02:00

dispatcher: track oc-seq values

---

Modified: src/modules/dispatcher/dispatch.c
Modified: src/modules/dispatcher/dispatch.h
Modified: src/modules/dispatcher/dispatcher.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/803e8442a2278adc19eebfbb2ff0aba31c180539.diff
Patch: 
https://github.com/kamailio/kamailio/commit/803e8442a2278adc19eebfbb2ff0aba31c180539.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:9eb117ab: dispatcher: print oc rate and time in rpc list full

2024-06-11 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 9eb117abe34abbaa1ff228df3d81506b46933e53
URL: 
https://github.com/kamailio/kamailio/commit/9eb117abe34abbaa1ff228df3d81506b46933e53

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2024-06-11T10:57:31+02:00

dispatcher: print oc rate and time in rpc list full

---

Modified: src/modules/dispatcher/dispatcher.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9eb117abe34abbaa1ff228df3d81506b46933e53.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9eb117abe34abbaa1ff228df3d81506b46933e53.patch

---

diff --git a/src/modules/dispatcher/dispatcher.c 
b/src/modules/dispatcher/dispatcher.c
index c7ea8380543..4726992a559 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -1881,7 +1881,7 @@ int ds_rpc_print_set(
rpc->fault(ctx, 500, "Internal error creating 
dest struct");
return -1;
}
-   if(rpc->struct_add(wh, "SSdddSSS", "BODY",
+   if(rpc->struct_add(wh, "SSdddSSSujj", "BODY",
   &(node->dlist[j].attrs.body), "DUID",
   (node->dlist[j].attrs.duid.s)
   ? 
&(node->dlist[j].attrs.duid)
@@ -1899,7 +1899,11 @@ int ds_rpc_print_set(
   "OBPROXY",
   (node->dlist[j].attrs.obproxy.s)
   ? 
&(node->dlist[j].attrs.obproxy)
-  : )
+  : ,
+  "OCRATE", 
node->dlist[j].attrs.ocrate, "OCTIME_SEC",
+  (unsigned 
long)node->dlist[j].octime.tv_sec,
+  "OCTIME_USEC",
+  (unsigned 
long)node->dlist[j].octime.tv_usec)
< 0) {
rpc->fault(ctx, 500, "Internal error creating 
attrs struct");
return -1;

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tcpops module event_route[tcp:closed] route block $conid is null (Issue #3767)

2024-06-11 Thread Pintu Lohar via sr-dev
verified the patch as I encountered the same issue when testing on v.5.8.1, Its 
working . Thanks .  

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3767#issuecomment-2160047088
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org