Module: kamailio
Branch: master
Commit: ebdc7993aaca23b25da3788f7ff4311e2bd71be4
URL: 
https://github.com/kamailio/kamailio/commit/ebdc7993aaca23b25da3788f7ff4311e2bd71be4

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-07-11T08:37:18+02:00

tm: renamed reply attribute to mode for tm.t_uac_attrs rpc command

---

Modified: src/modules/tm/rpc_uac.c

---

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

---

diff --git a/src/modules/tm/rpc_uac.c b/src/modules/tm/rpc_uac.c
index 19b9b528a5c..2b43b53c6eb 100644
--- a/src/modules/tm/rpc_uac.c
+++ b/src/modules/tm/rpc_uac.c
@@ -1034,8 +1034,7 @@ void rpc_t_uac_attrs(rpc_t *rpc, void *c)
                        return;
                }
                for(pit = params_list; pit; pit = pit->next) {
-                       if(pit->name.len == 5
-                                       && strncasecmp(pit->name.s, "reply", 5) 
== 0) {
+                       if(pit->name.len == 4 && strncasecmp(pit->name.s, 
"mode", 4) == 0) {
                                if(pit->body.len == 4
                                                && strncasecmp(pit->name.s, 
"wait", 4) == 0) {
                                        tattrs.reply_wait = 1;

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to