'Can we use Credit-Control-Failure-Handling AVP in Gx interface
Will it be possible to use Credit-Control-Failure-Handling AVP in Gx interface. If PCRF goes down or due to network problem, so will it be possible that PCEF can use a Credit-Control-Failure-Handling AVP to try the failover. Is this an allowed behavior in Gx-Interface as per 3GPP Standards.
Thanks
Solution 1:[1]
Underlying SCTP layer carrying the Diameter traffic can take care of the Failover, where multi-homed SCTP path and session failure detection mechanisms (Heartbeat) can actively monitor the connectivity of the session and if there is any failure it can automatically choose the alternate path.
Solution 2:[2]
Credit-Control-Failure-Handling is applicable to Gy Interface only.
Solution 3:[3]
you can find what you are looking for here https://guides.micronaut.io/latest/micronaut-error-handling-maven-java.html#global-error
With this code in any controller you should be ok:
@Error(status = HttpStatus.NOT_FOUND, global = true)
fun notFoundHandler(request: HttpRequest<*>): HttpResponse<JsonError> {
return HttpResponse.status<JsonError>(HttpStatus.NOT_FOUND).body(JsonError("Page '$request' Not Found"))
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | arihant jain |
| Solution 3 | João Dias |
