[sr-dev] git:master:63f95447: dmq_usrloc: output AoR on warning message

Emmanuel Schmidbauer emmanuel at getweave.com
Thu Apr 18 14:01:07 CEST 2019


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

Author: Emmanuel Schmidbauer <emmanuel at getweave.com>
Committer: Emmanuel Schmidbauer <emmanuel at getweave.com>
Date: 2019-04-18T07:26:08-04:00

dmq_usrloc: output AoR on warning message

---

Modified: src/modules/dmq_usrloc/usrloc_sync.c

---

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

---

diff --git a/src/modules/dmq_usrloc/usrloc_sync.c b/src/modules/dmq_usrloc/usrloc_sync.c
index 1a7eef0ab8..5f7b55fb94 100644
--- a/src/modules/dmq_usrloc/usrloc_sync.c
+++ b/src/modules/dmq_usrloc/usrloc_sync.c
@@ -144,7 +144,7 @@ static int delete_contact(str aor, ucontact_info_t* ci)
 	/* it locks the udomain on success */
 	if (dmq_ul.get_urecord_by_ruid(_d, dmq_ul.get_aorhash(&aor),
 				&ci->ruid, &r, &c) != 0) {
-		LM_WARN("AOR/Contact not found\n");
+		LM_WARN("AOR/Contact ['%.*s'] not found\n", aor.len, aor.s);
 		return -1;
 	}
 	if (dmq_ul.delete_ucontact(r, c) != 0) {




More information about the sr-dev mailing list