diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-01-17 19:17:34 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-17 19:17:34 +0100 |
commit | b956b606d85a72dd19cb3ad632c2b4a965da37ef (patch) | |
tree | c15395c8d61f14b8c97630f794cf06a4e41fd8f9 /include | |
parent | 8254cf4f2a66fab40a31c1bdccfff13947ff6592 (diff) |
sccp_types.h: Fix value for SCCP_REFUSAL_UNEQUIPPED_USER
It seems we have been sending the wrong numeric value in SCCP connection
refusal due to an unqeuipped user. It turns out our list of refusal
causes was missing one entry, causing an off-by-one for this refusal
cause. While at it, add a comment which section of which spec is
relevant for this enum.
Change-Id: I113645bd6df1ec9ae5137977028df38560fc4789
Diffstat (limited to 'include')
-rw-r--r-- | include/sccp/sccp_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sccp/sccp_types.h b/include/sccp/sccp_types.h index 962bde4..ab7f74f 100644 --- a/include/sccp/sccp_types.h +++ b/include/sccp/sccp_types.h @@ -245,6 +245,7 @@ enum sccp_error_cause { SCCP_ERROR_UNQUALIFIED = 4, }; +/* ITU=T Q.713 Section 3.15 */ enum sccp_refusal_cause { SCCP_REFUSAL_END_USER_ORIGINATED = 0, SCCP_REFUSAL_END_USER_CONGESTION = 1, @@ -264,7 +265,8 @@ enum sccp_refusal_cause { SCCP_REFUSAL_UNQUALIFIED = 15, SCCP_REFUSAL_HOP_COUNTER_VIOLATION = 16, SCCP_REFUSAL_SCCP_FAILURE = 17, - SCCP_REFUSAL_UNEQUIPPED_USER = 18, + SCCP_REFUSAL_NO_TRANS_FOR_ADDRESS_NATURE = 18, + SCCP_REFUSAL_UNEQUIPPED_USER = 19, }; /* |