We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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"
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.
The text was updated successfully, but these errors were encountered: