[sr-dev] git:5.3:475e3d93: ims_charging: add missing change for ccr.c (related to previous commit f5e44252c39c7695cb)
Henning Westerholt
hw at skalatan.de
Thu Jul 2 11:12:39 CEST 2020
Module: kamailio
Branch: 5.3
Commit: 475e3d93329a782758e50e52de4ef49f72ef8a6c
URL: https://github.com/kamailio/kamailio/commit/475e3d93329a782758e50e52de4ef49f72ef8a6c
Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-07-02T09:12:05Z
ims_charging: add missing change for ccr.c (related to previous commit f5e44252c39c7695cb)
(cherry picked from commit 4cb61cc35a695e2636007f6518a63ed8e508b67f)
---
Modified: src/modules/ims_charging/ccr.c
---
Diff: https://github.com/kamailio/kamailio/commit/475e3d93329a782758e50e52de4ef49f72ef8a6c.diff
Patch: https://github.com/kamailio/kamailio/commit/475e3d93329a782758e50e52de4ef49f72ef8a6c.patch
---
diff --git a/src/modules/ims_charging/ccr.c b/src/modules/ims_charging/ccr.c
index 0c1d069b14..20422e662e 100644
--- a/src/modules/ims_charging/ccr.c
+++ b/src/modules/ims_charging/ccr.c
@@ -215,7 +215,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;
}
More information about the sr-dev
mailing list