diff --git a/src/modules/ims_charging/ccr.c b/src/modules/ims_charging/ccr.c index 144f08c0fd7..6f85ebbfc85 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; }