[1/9] gsup: Document passing MSISDN as part of the response
diff mbox

Message ID 1429825244-61253-1-git-send-email-holger@freyther.de
State Changes Requested
Headers show

Commit Message

Holger Freyther April 23, 2015, 9:40 p.m. UTC
From: Holger Hans Peter Freyther <holger@moiji-mobile.com>

---
 openbsc/doc/sgsn-remote-protocol.txt | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch
diff mbox

diff --git a/openbsc/doc/sgsn-remote-protocol.txt b/openbsc/doc/sgsn-remote-protocol.txt
index 3369d19..88a384e 100644
--- a/openbsc/doc/sgsn-remote-protocol.txt
+++ b/openbsc/doc/sgsn-remote-protocol.txt
@@ -121,6 +121,7 @@  Network peer -> SGSN
   01	IMSI			4.2.9			M	TLV	2-10
   04	PDP info complete	4.2.8			O	TLV	2
   05	PDP info		4.2.3			1-10	TLV
+  13	MSISDN			4.2.10			O	TLV	0-9
 
 If the PDP info complete IE is present, the old PDP info list shall be cleared.
 
@@ -357,6 +358,7 @@  IEI that shall be used for the encoding.
   | 0x10   PDP context id big endian int                    |
   | 0x11   PDP type       4.2.4                             |
   | 0x12   APN            04.08, 10.5.6.1                   |
+  | 0x13   MSISDN         ISDN-AddressString/octet          |
   | 0x20   RAND           octet string                      |
   | 0x21   SRES           octet string                      |
   | 0x22   Kc             octet string                      |
@@ -397,3 +399,24 @@  The IMSI is encoded like in octet 4-N of the Called Party BCD Number defined in
 Note 1) Either '1 1 1 1 | Number digit N' (N odd) or
         'Number digit N | Number digit N-1' (N even),
         where N is the number of digits.
+
+4.2.10. ISDN-AddressString / MSISDN /Called Party BCD Number
+
+
+MSISDN. ISDN-AddressString in GSM 09.02 and Called Party
+BCD Number in GSM 04.08.
+
+     8      7      6      5      4      3      2      1
+  +-----------------------------------------------------+
+  |     |  IEI                                          | octet 1
+  +-----------------------------------------------------+
+  |   Length of IE contents                             | octet 2
+  +-----------------------------------------------------+
+  | ext |  Type of num        |   Numbering plan        | octet 2
+  +-----------------------------------------------------+
+  |  Number digit 2           |   Number digit 1        | octet 3
+  +-----------------------------------------------------+
+  |  Number digit 4           |   Number digit 3        | octet 4
+  +-----------------------------------------------------+
+  :                                                     :   :
+  +-----------------------------------------------------+