Module: kamailio
Branch: master
Commit: 3a19b122572ed70b8d5f6da59dd506c2f98b0e31
URL:
https://github.com/kamailio/kamailio/commit/3a19b122572ed70b8d5f6da59dd506c…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2015-11-11T13:41:32+02:00
modules/ims_charging: add direction for Ro session in debug print
---
Modified: modules/ims_charging/ims_ro.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3a19b122572ed70b8d5f6da59dd506c…
Patch:
https://github.com/kamailio/kamailio/commit/3a19b122572ed70b8d5f6da59dd506c…
---
diff --git a/modules/ims_charging/ims_ro.c b/modules/ims_charging/ims_ro.c
index 2d6c84a..f736311 100644
--- a/modules/ims_charging/ims_ro.c
+++ b/modules/ims_charging/ims_ro.c
@@ -973,13 +973,12 @@ int Ro_Send_CCR(struct sip_msg *msg, struct dlg_cell *dlg, int dir,
int reservat
int sdp_stream_num = 0;
- LM_DBG("Sending initial CCR request for reservation_units [%d] incoming_trunk_id
[%.*s] outgoing_trunk_id [%.*s]\n",
- reservation_units,
+ LM_DBG("Sending initial CCR request (%c) for reservation_units [%d]
incoming_trunk_id [%.*s] outgoing_trunk_id [%.*s]\n",
+ dir==RO_ORIG_DIRECTION?'O':'T',
+ reservation_units,
incoming_trunk_id->len, incoming_trunk_id->s,
outgoing_trunk_id->len, outgoing_trunk_id->s);
-
-
ssd = shm_malloc(sizeof (struct session_setup_data)); // lookup structure used to
load session info from cdp callback on CCA
if (!ssd) {
LM_ERR("no more shm mem\n");