Module: kamailio
Branch: master
Commit: c181362533ca2c7178218aa5b3724219d5deb58c
URL:
https://github.com/kamailio/kamailio/commit/c181362533ca2c7178218aa5b372421…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2022-12-21T15:27:28+01:00
DMQ: Add debug line when creating list and adding first notification address
---
Modified: src/modules/dmq/dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c181362533ca2c7178218aa5b372421…
Patch:
https://github.com/kamailio/kamailio/commit/c181362533ca2c7178218aa5b372421…
---
diff --git a/src/modules/dmq/dmq.c b/src/modules/dmq/dmq.c
index f4a66c3d84..45d92d8400 100644
--- a/src/modules/dmq/dmq.c
+++ b/src/modules/dmq/dmq.c
@@ -388,6 +388,8 @@ static int dmq_add_notification_address(modparam_t type, void * val)
dmq_tmp_list = dmq_notification_address_list;
dmq_tmp_list->s = tmp_str;
dmq_tmp_list->next = NULL;
+ LM_DBG("Created list and added new notification address to the list %.*s\n",
+ dmq_tmp_list->s.len, dmq_tmp_list->s.s);
} else {
dmq_tmp_list = append_str_list(tmp_str.s, tmp_str.len, &dmq_tmp_list,
&total_list);
if (dmq_tmp_list == NULL) {