GSM-Forum

GSM-Forum (https://forum.gsmhosting.com/vbb/)
-   x1x to x45/x50 (https://forum.gsmhosting.com/vbb/f338/)
-   -   question about field "type of number" in SMS PDU (https://forum.gsmhosting.com/vbb/f338/question-about-field-type-number-sms-pdu-161500/)

ntcn 09-20-2004 16:41

question about field "type of number" in SMS PDU
 
In description of SMS PDU (available for me) it is specified, that the code 81h is equal to national number, and 91h - international (begins with "+"), for other codes suggest to look GSM 04.08, chapter 10.5.4.6, I could not find GSM 04.08, but to me have come SMS with type D0h and there instead of the simple numbers (4 bits per symbol) was latin word in the 7-bit coding ! And on the screen in phone the field "from" was not number, and a word. Where it is possible to take the list of codes (except for D0/81/91) ?

P.S. I have found the source code of the program for writing SMS PDU, but there is specified:
===
// Type of Number sub-field
DA_TON_UNKNOWN 0x80
DA_TON_INTERNATIONAL 0x90
DA_TON_NATIONAL 0xA0
DA_TON_NETWORK_SPECIFIC 0xB0
DA_TON_SUBSCRIBER 0xC0
DA_TON_ALPHANUMERIC 0xD0
DA_TON_ABBREVIATED 0xE0
DA_TON_RESERVED 0xF0
===
But national number has type 81h (instead 0xA0) !?

P.P.S. Here an example of the usual message (from S45i, a field of length of a line of the sender in 15DD2B, type of a line of the sender - 15DD2C, sender: "674", time in format "yy mm dd hh mm ss" in 15DD31):
===
15DD20: F2 00 9B 04 03 00 00 00 01 9B 04 03 B9 76 F4 00
15DD30: 00 40 90 02 02 00 93 61 A0 CB BA 7C 0E 8A 81 AA
===

Here an example of the message with type D0h (sender: "BeeLineInfo"):
===
15DD20: F2 00 76 24 14 00 00 00 01 76 24 14 D0 C2 72 99
15DD30: 9D 76 97 93 6E F3 1B 00 00 40 90 02 81 93 90 61
===

maulwurf 09-20-2004 21:37

@ntcn

It's a long time ago that I programmed with PDU,
so I found this, maybe it helps you
*****
Type-of-number:
Bits 6 5 4
0 0 0 Unknown 1)
0 0 1 International number 2)
0 1 0 National number 3)
0 1 1 Network specific number 4)
1 0 0 Subscriber number 5)
1 0 1 Alphanumeric, (coded according to GSM TS 03.38 7-bit default alphabet)
1 1 0 Abbreviated number
1 1 1 Reserved for extension
The MS will interpret reserved values as "Unknown" but will store them exactly as received.
The SC may reject messages with a type of number containing a reserved value or one which is not supported.
1) "Unknown" is used when the user or network has no a priori information about the numbering plan. In this case,
the Address-Value field is organized according to the network dialling plan, e.g. prefix or escape digits might be
present.
2) The international format shall be accepted also when the message is destined to a recipient in the same country as
the MSC or as the SGSN.
3) Prefix or escape digits shall not be included.
4) "Network specific number" is used to indicate administration/service number specific to the serving network, e.g.
used to access an operator.
5) "Subscriber number" is used when a specific short number representation is stored in one or more SCs as part of a
higher layer application. (Note that "Subscriber number" shall only be used in connection with the proper PID
referring to this application).
gsm0340_V740
*****

I have the followed PDF-files
gsm0338_V720.pdf
gsm0340_V740.pdf
gsm0411_v510.pdf
gsm0411_v700.pdf
GSM_07.05.pdf
GSM_07.07.pdf

Please let me know,
if you need one of them via e-mail.

Best wishes
maulwurf

ntcn 09-20-2004 23:21

2maulwurf, thanks! I have found the similar information in http://rpu6.nm.ru/doc/appnote_constr...f_sms_pdus.pdf, but it was interesting to me how to get sender string for each type of SMS (for example, for type B9). That is for "alphabetically-digital" fields 7-bit coding, and for the others only "on 2 numbers in byte" is used?

maulwurf 09-21-2004 21:40

Hi ntcn,

this are the links where I got my GSM-Docu

http://webapp.etsi.org/key/queryform.asp

it's the homepage of ETSI <http://www.etsi.org/services_products/freestandard/home.htm>

May this can help you.

Best wishes
maulwurf

ntcn 09-21-2004 22:25

Has loaded the description, but it is identical to that you specified above. Though this the standard - it should correspond :)

2 moderators: if it is possible - close or delete a topic, probably more information will not be.

fatehiman 01-20-2009 12:55

Sending SMS with SENDER NAME (TP-Message-Reference)
 
Quote:

Originally Posted by maulwurf (Post 852129)
@ntcn

It's a long time ago that I programmed with PDU,
so I found this, maybe it helps you
*****
Type-of-number:
Bits 6 5 4
0 0 0 Unknown 1)
0 0 1 International number 2)
0 1 0 National number 3)
0 1 1 Network specific number 4)
1 0 0 Subscriber number 5)
1 0 1 Alphanumeric, (coded according to GSM TS 03.38 7-bit default alphabet)
1 1 0 Abbreviated number
1 1 1 Reserved for extension
The MS will interpret reserved values as "Unknown" but will store them exactly as received.
The SC may reject messages with a type of number containing a reserved value or one which is not supported.
1) "Unknown" is used when the user or network has no a priori information about the numbering plan. In this case,
the Address-Value field is organized according to the network dialling plan, e.g. prefix or escape digits might be
present.
2) The international format shall be accepted also when the message is destined to a recipient in the same country as
the MSC or as the SGSN.
3) Prefix or escape digits shall not be included.
4) "Network specific number" is used to indicate administration/service number specific to the serving network, e.g.
used to access an operator.
5) "Subscriber number" is used when a specific short number representation is stored in one or more SCs as part of a
higher layer application. (Note that "Subscriber number" shall only be used in connection with the proper PID
referring to this application).
gsm0340_V740
*****

I have the followed PDF-files
gsm0338_V720.pdf
gsm0340_V740.pdf
gsm0411_v510.pdf
gsm0411_v700.pdf
GSM_07.05.pdf
GSM_07.07.pdf

Please let me know,
if you need one of them via e-mail.

Best wishes
maulwurf

Hi

I wanna send SMS, and define SENDER NAME, but I receive ERROR message from my mobile (not network). I can send normal SMS using PDU format with no problems; only have problems sending SMS with SENDER name (I mean TP-Message-Reference) I want, the receivers of my SMS, see a NAME instead of NUMBER.

Is there any sample of TP-Message-Reference<>0 in your PDF files? I think this is about gsm0338_V720.pdf

Thanks
A.B.Fatehi

maulwurf 02-02-2009 01:07

Quote:

Originally Posted by fatehiman (Post 4076809)
Hi

I wanna send SMS, and define SENDER NAME, but I receive ERROR message from my mobile (not network). I can send normal SMS using PDU format with no problems; only have problems sending SMS with SENDER name (I mean TP-Message-Reference) I want, the receivers of my SMS, see a NAME instead of NUMBER.

Is there any sample of TP-Message-Reference<>0 in your PDF files? I think this is about gsm0338_V720.pdf

Thanks
A.B.Fatehi

Hello Fatehi,

it's really long time ago that I done something with SMS and PDU.

I'm not sure if you have to use 7bit character.

If you want I can send you all the documents PDF which I have,
for this please give me your email address (for the @ use [at]).

maulwurf

quality85 06-22-2009 02:12

Quote:

Originally Posted by fatehiman (Post 4076809)
Hi

I wanna send SMS, and define SENDER NAME, but I receive ERROR message from my mobile (not network). I can send normal SMS using PDU format with no problems; only have problems sending SMS with SENDER name (I mean TP-Message-Reference) I want, the receivers of my SMS, see a NAME instead of NUMBER.

Is there any sample of TP-Message-Reference<>0 in your PDF files?

Have you solved this problem?
I must do the same thing, can you help me?


All times are GMT +1. The time now is 19:21.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -

Page generated in 0.14951 seconds with 6 queries

SEO by vBSEO