gsup: convert all unknown causes into diameter UNABLE_TO_COMPLY

Change-Id: I7f19bf1fb3676a1302f0d6d7d7450a3f201ba5bb
This commit is contained in:
Alexander Couzens 2023-09-01 15:44:58 +02:00
parent 6ba22c2dbd
commit b8aef30a14
1 changed files with 1 additions and 2 deletions

View File

@ -198,8 +198,7 @@ gsup_cause2dia(?GMM_CAUSE_NET_FAIL) -> {[?DIAMETER_UNABLE_TO_COMPLY], []};
gsup_cause2dia(?GMM_CAUSE_CONGESTION) -> {[?DIAMETER_UNABLE_TO_COMPLY], []};
gsup_cause2dia(?GMM_CAUSE_INV_MAND_INFO) -> {[?DIAMETER_MISSING_AVP], []};
gsup_cause2dia(?GMM_CAUSE_PROTO_ERR_UNSPEC) -> {[?DIAMETER_UNABLE_TO_COMPLY], []};
% TODO: more values
gsup_cause2dia(_) -> {fixme, []}.
gsup_cause2dia(_) -> {[?DIAMETER_UNABLE_TO_COMPLY], []}.
% get the value for a tiven key in Map1. If not found, try same key in Map2. If not found, return Default
-spec twomap_get(atom(), map(), map(), any()) -> any().