Module: kamailio
Branch: master
Commit: 4cb61cc35a695e2636007f6518a63ed8e508b67f
URL:
https://github.com/kamailio/kamailio/commit/4cb61cc35a695e2636007f6518a63ed…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-07-02T09:09:59Z
ims_charging: add missing change for ccr.c (related to previous commit
f5e44252c39c7695cb)
---
Modified: src/modules/ims_charging/ccr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4cb61cc35a695e2636007f6518a63ed…
Patch:
https://github.com/kamailio/kamailio/commit/4cb61cc35a695e2636007f6518a63ed…
---
diff --git a/src/modules/ims_charging/ccr.c b/src/modules/ims_charging/ccr.c
index 144f08c0fd..6f85ebbfc8 100644
--- a/src/modules/ims_charging/ccr.c
+++ b/src/modules/ims_charging/ccr.c
@@ -234,7 +234,11 @@ AAAMessage * Ro_write_CCR_avps(AAAMessage * ccr, Ro_CCR_t* x) {
if (x->origin_realm.s && x->origin_realm.len > 0) {
if (!cdp_avp->base.add_Origin_Realm(&(ccr->avpList),
x->origin_realm, 0)) goto error;
}
-
+
+ if (x->destination_host.s && x->destination_host.len > 0) {
+ if (!cdp_avp->base.add_Destination_Host(&(ccr->avpList),
x->destination_host, 0)) goto error;
+ }
+
if (x->destination_realm.s && x->destination_realm.len > 0) {
if (!ro_add_destination_realm_avp(ccr, x->destination_realm)) goto error;
}