Open helioaymoto opened 6 months ago
Hi Guys,
I am having issue to unmashal the Event-Timestamp AVP... I have my CCR struct as: < type CCRDecode struct { SessionID datatype.UTF8String avp:"Session-Id" OriginHost datatype.DiameterIdentity avp:"Origin-Host" OriginRealm datatype.DiameterIdentity avp:"Origin-Realm" DestinationHost datatype.DiameterIdentity avp:"Destination-Host" DestinationRealm datatype.DiameterIdentity avp:"Destination-Realm" CCRequestType datatype.Unsigned32 avp:"CC-Request-Type" CCRequestNumber datatype.Unsigned32 avp:"CC-Request-Number" ServiceContextId datatype.UTF8String avp:"Service-Context-Id" EventTimestamp datatype.Time avp:"Event-Timestamp"
avp:"Session-Id"
avp:"Origin-Host"
avp:"Origin-Realm"
avp:"Destination-Host"
avp:"Destination-Realm"
avp:"CC-Request-Type"
avp:"CC-Request-Number"
avp:"Service-Context-Id"
avp:"Event-Timestamp"
Printing the message directally: I can see: Event-Timestamp {Code:55,Flags:0x40,Length:12,VendorId:0,Value:Time{2024-04-06 12:56:50 -0300 -03}}
but when I check the struct: "EventTimestamp": {},
Any help on this? Kind regards.
Hi Guys,
I am having issue to unmashal the Event-Timestamp AVP... I have my CCR struct as: < type CCRDecode struct { SessionID datatype.UTF8String
avp:"Session-Id"
OriginHost datatype.DiameterIdentityavp:"Origin-Host"
OriginRealm datatype.DiameterIdentityavp:"Origin-Realm"
DestinationHost datatype.DiameterIdentityavp:"Destination-Host"
DestinationRealm datatype.DiameterIdentityavp:"Destination-Realm"
CCRequestType datatype.Unsigned32avp:"CC-Request-Type"
CCRequestNumber datatype.Unsigned32avp:"CC-Request-Number"
ServiceContextId datatype.UTF8Stringavp:"Service-Context-Id"
EventTimestamp datatype.Timeavp:"Event-Timestamp"
Printing the message directally: I can see: Event-Timestamp {Code:55,Flags:0x40,Length:12,VendorId:0,Value:Time{2024-04-06 12:56:50 -0300 -03}}
but when I check the struct: "EventTimestamp": {},
Any help on this? Kind regards.