Module: kamailio
Branch: master
Commit: 5bafb32fa3dd0aefdb5e0c1a8bbd94638fe1022d
URL:
https://github.com/kamailio/kamailio/commit/5bafb32fa3dd0aefdb5e0c1a8bbd946…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-22T10:11:56+02:00
topos: debug log messages with linked contact addresses
---
Modified: src/modules/topos/tps_storage.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5bafb32fa3dd0aefdb5e0c1a8bbd946…
Patch:
https://github.com/kamailio/kamailio/commit/5bafb32fa3dd0aefdb5e0c1a8bbd946…
---
diff --git a/src/modules/topos/tps_storage.c b/src/modules/topos/tps_storage.c
index fb159d4dac..5e0e87b249 100644
--- a/src/modules/topos/tps_storage.c
+++ b/src/modules/topos/tps_storage.c
@@ -360,6 +360,11 @@ int tps_storage_link_msg(sip_msg_t *msg, tps_data_t *td, int dir)
}
}
+ LM_DBG("downstream: %s acontact: [%.*s] bcontact: [%.*s]\n",
+ (dir==TPS_DIR_DOWNSTREAM)?"yes":"no",
+ td->a_contact.len, (td->a_contact.len>0)?td->a_contact.s:"",
+ td->b_contact.len, (td->b_contact.len>0)?td->b_contact.s:"");
+
return 0;
error: