Module: kamailio
Branch: master
Commit: d3c1ea0bd2aea71d2e7f124816a93aea2f818cd9
URL:
https://github.com/kamailio/kamailio/commit/d3c1ea0bd2aea71d2e7f124816a93ae…
Author: Marco Sinibaldi <marco.sinibaldi(a)athonet.com>
Committer: Marco Sinibaldi <marco.sinibaldi(a)athonet.com>
Date: 2016-07-21T14:38:39+02:00
ims_charging: move Expires AVP inside Event-Type AVP, according to TS 32.299
---
Modified: modules/ims_charging/ccr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d3c1ea0bd2aea71d2e7f124816a93ae…
Patch:
https://github.com/kamailio/kamailio/commit/d3c1ea0bd2aea71d2e7f124816a93ae…
---
diff --git a/modules/ims_charging/ccr.c b/modules/ims_charging/ccr.c
index a2fa489..82e5ae8 100644
--- a/modules/ims_charging/ccr.c
+++ b/modules/ims_charging/ccr.c
@@ -21,7 +21,7 @@ int Ro_write_event_type_avps(AAA_AVP_LIST * avp_list, event_type_t * x)
{
goto error;
if (x->expires)
- if (!cdp_avp->epcapp.add_Expires(avp_list, *(x->expires)))
+ if (!cdp_avp->epcapp.add_Expires(&aList, *(x->expires)))
goto error;
if (!cdp_avp->epcapp.add_Event_Type(avp_list, &aList, AVP_FREE_DATA)) //TODO:
used to be DONT FREE