summaryrefslogtreecommitdiffstats
path: root/include/sccp.hrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-08 00:45:43 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-08 00:45:43 +0100
commit21cde2e5dbc602ba0e4f938881975c1e105d5291 (patch)
treef39056d351d100b61c9ed732daa08a8dd597363c /include/sccp.hrl
parentca6f2cf41dc408670f68d37c006468b8d61946d6 (diff)
sccp: add definitions for NAI (nature of address indicator)
Diffstat (limited to 'include/sccp.hrl')
-rw-r--r--include/sccp.hrl8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sccp.hrl b/include/sccp.hrl
index 4201ce0..dda0020 100644
--- a/include/sccp.hrl
+++ b/include/sccp.hrl
@@ -67,6 +67,11 @@
-define(SCCP_SSN_BISDN, 2#000001101).
-define(SCCP_SSN_TC_TEST, 2#000001110).
+% According to Q.731 Section 3.4.2.3.1
+-define(SCCP_NAI_SUBSCRIBER, 2#00000001).
+-define(SCCP_NAI_NATIONA_SIGN, 2#00000011).
+-define(SCCP_NAI_INTERNATIONAL, 2#00000100).
+
% According to Q.713 Section 3.11 - Release Cause
%FIXME
@@ -134,7 +139,7 @@
-record(global_title, {
gti :: 0..15,
- nature_of_addr_ind :: 0..255,
+ nature_of_addr_ind :: 0..127,
trans_type,
encoding :: 0..15,
numbering_plan:: 0..15,
@@ -148,4 +153,3 @@
ssn, % optional
global_title % optional
}).
-