[sr-dev] git:5.1:3c056ddd: uac: add debugging information also for display name removal case

Henning Westerholt hw at kamailio.org
Mon Mar 18 20:14:46 CET 2019


Module: kamailio
Branch: 5.1
Commit: 3c056ddde90ff87b0cc026cbdab6529de64c3c9b
URL: https://github.com/kamailio/kamailio/commit/3c056ddde90ff87b0cc026cbdab6529de64c3c9b

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2019-03-18T20:10:34+01:00

uac: add debugging information also for display name removal case

(cherry picked from commit 951570df487310537371468491c6eaa33d4fb0ee)

---

Modified: src/modules/uac/replace.c

---

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

---

diff --git a/src/modules/uac/replace.c b/src/modules/uac/replace.c
index 1b764f3796..ddc82360bb 100644
--- a/src/modules/uac/replace.c
+++ b/src/modules/uac/replace.c
@@ -326,6 +326,7 @@ int replace_uri( struct sip_msg *msg, str *display, str *uri,
 		/* some new display to set? */
 		if (display->len)
 		{
+			LM_DBG("adding new display [%.*s]\n", display->len, display->s);
 			/* add the new display exactly over the deleted one */
 			buf.s = pkg_malloc( display->len + 2 );
 			if (buf.s==0)




More information about the sr-dev mailing list