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

Author: Henning Westerholt <h...@gilawa.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2023-12-21T16:10:25Z

pua: fix possible copy/paste error, we should use reginfo_increase_version for 
reginfo events (GH #3234)

---

Modified: src/modules/pua/add_events.c

---

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

---

diff --git a/src/modules/pua/add_events.c b/src/modules/pua/add_events.c
index e2fc78be3ee..bf4a437e4b4 100644
--- a/src/modules/pua/add_events.c
+++ b/src/modules/pua/add_events.c
@@ -82,7 +82,7 @@ int pua_add_events(void)
        }
 
        /* add application/reginfo+xml */
-       if(dlginfo_increase_version) {
+       if(reginfo_increase_version) {
                if(add_pua_event(REGINFO_EVENT, "reg", 
"application/reginfo+xml",
                                   reginfo_process_body)
                                < 0) {

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

Reply via email to