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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2017-09-25T15:13:58+02:00

dialog: adjusted debug messages when updating attributes

---

Modified: src/modules/dialog/dlg_handlers.c

---

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

---

diff --git a/src/modules/dialog/dlg_handlers.c 
b/src/modules/dialog/dlg_handlers.c
index c4218be50a..d4b70690d8 100644
--- a/src/modules/dialog/dlg_handlers.c
+++ b/src/modules/dialog/dlg_handlers.c
@@ -248,14 +248,15 @@ int populate_leg_info( struct dlg_cell *dlg, struct 
sip_msg *msg,
        if(leg==DLG_CALLER_LEG)
                dlg->from_rr_nb = skip_recs;
 
-       LM_DBG("route_set %.*s, contact %.*s, cseq %.*s and bind_addr %.*s\n",
-               rr_set.len, rr_set.s, contact.len, contact.s,
+       LM_DBG("leg(%d) route_set [%.*s], contact [%.*s], cseq [%.*s]"
+                       " and bind_addr [%.*s]\n",
+               leg, rr_set.len, rr_set.s, contact.len, contact.s,
                cseq.len, cseq.s,
                msg->rcv.bind_address->sock_str.len,
                msg->rcv.bind_address->sock_str.s);
 
        if (dlg_set_leg_info( dlg, tag, &rr_set, &contact, &cseq, leg)!=0) {
-               LM_ERR("dlg_set_leg_info failed\n");
+               LM_ERR("dlg_set_leg_info failed (leg %d)\n", leg);
                if (rr_set.s) pkg_free(rr_set.s);
                goto error0;
        }


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to