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

Author: Carsten Bock <cars...@ng-voice.com>
Committer: Carsten Bock <cars...@ng-voice.com>
Date: 2015-09-27T19:25:35+02:00

ims_usrloc_pcscf: Add some debug output for asserting identities

---

Modified: modules/ims_usrloc_pcscf/udomain.c

---

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

---

diff --git a/modules/ims_usrloc_pcscf/udomain.c 
b/modules/ims_usrloc_pcscf/udomain.c
index 421cf52..b3b431b 100644
--- a/modules/ims_usrloc_pcscf/udomain.c
+++ b/modules/ims_usrloc_pcscf/udomain.c
@@ -505,6 +505,7 @@ int get_pcontact(udomain_t* _d, pcontact_info_t* 
contact_info, struct pcontact**
 
        for (i = 0; i < _d->table[sl].n; i++) {
             LM_DBG("comparing contact with aorhash [%u], aor [%.*s]\n", 
c->aorhash, c->aor.len, c->aor.s);
+            LM_DBG("  contact host [%.*s:%d]\n", c->contact_host.len, 
c->contact_host.s, c->contact_port);
                if ((c->aorhash == aorhash) && (c->contact_host.len == 
contact_info->via_host.len) && (memcmp(contact_info->via_host.s, 
c->contact_host.s, c->contact_host.len)==0) && (c->contact_port == 
contact_info->via_port)
                         && (!(contact_info->searchflag&SEARCH_RECEIVED) || 
((contact_info->searchflag&SEARCH_RECEIVED)
                         && (c->received_host.len == 
contact_info->received_host.len && (memcmp(c->received_host.s, 
contact_info->received_host.s, contact_info->received_host.len)==0))


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to