SMS Causes

8
Руководство пользователя для подключения к платформе SMPP 3.4 (WEB.SZK-INFO.RU)

description

SMS_Causes

Transcript of SMS Causes

  • SMPP 3.4

    (WEB.SZK-INFO.RU)

  • :

    1. ....................................................................................................................... 3 2. ....................................................................................................... 4 3. , ......................... 4 4. ................................................................................................. 5 5. .............................................................................................. 6 6. SMS ( SMS ) ........................................... 7 7. .................................................................... 7

  • 1.

    06.08.2013 1.01 ..

    07.08.2013 1.02 .. ( )

    24.03.2014 1.03 .. ,

    30.10.2014 1.04 .. .

  • 2.

    SMPP-, :

    : SMPP 3.4;

    SMSC: smpp.szk-info.ru

    SMSC: 2775 ( 3700)

    /: ;

    : TRANSCEIVER;

    TON NPI src_addr_ton: 0x05

    src_addr_npi: 0x01

    dest_addr_ton: 0x01

    dest_addr_npi: 0x01;

    3. ,

    1. Default Alphabet (GSM 3.38), 7-bit characters - maximum of 160 characters; 2. Latin 1 (ISO-8859-1), 8-bit characters - limit is 140 characters; 3. Unicode (UTF16/USC-2), 16-bit characters - limit is 70 characters;

    : GSM 03.38, 160 . : ^,{,},\,[,],~,|,

    : UTF16, SMS 70 :

    : , - Data coding: 0x08 - SMPP Data Coding Scheme: UCS2 (ISO/IEC-10646) (0x08), UTF-16E (big endian)

    () UDH message_payload;

    : Message_payload SMPP 3.4 TLV (tag-length-value) , SMPP . , , 254 ; Message length: 0; Optional parameter: message_payload (0x0424);

    SMS UDH ESM_class=0x40, DCS UCS2 (ISO/IEC-10646) (0x08) Unicode DCS=0x00 GSM-default . UDH :

    a. 0x05 b. 0x00 c. 0x03 d. 1 - SMS

  • e. 1 - SMS f. 1 - SMS 1

    160 70 , :

    - Default Alphabet (GSM 3.38): 1 SMS - 160 ; 2 SMS - 153 * 2 = 306 .; 3 SMS - 459 . ..

    Unicode (UTF-16E): 1 SMS - 70 ; 2 SMS - 67 *2 = 134 .; 3 SMS - 201 .; 4 SMS - 268 ..

    : SMS, .. UDH 8- , SMS 134 (140-6). .. GSM-default SMS 153 (134*8/7=153), 67 (134 /2=67).

    4.

    : 1 ;

    : 1 ;

    (enquire_link PDU): 60 .;

    : Enquire_link' . transmitter' enquire_link', 2 .

    7 , 8 .

    SMS 50 SMS .

    , , , +, .

    - 11 ;

    1 . smpp

  • 5.

    submit_sm PDU registered_delivery = 0x01 ( SMPP 0x01), Deliver_sm PDU c .

    ( Deliver_sm) esm_class 0x3c.

    receipted_message_id , submit_sm_resp . receipted_message_state smpp.

    , deliver_sm PDU :

    Operation: Deliver_sm (0x00000005)

    Message type: 0x0f

    Optional parameters - Message state: DELIVERED (2) SMSC identifier: .: 234567892 Message, submit date done date message_state 2 - Message is delivered to destination

    : SMPP , , , .

    PDU , . DR :

    Field Size (octets) Type

    Id 10 C-Octet String (Decimal)

    sub 3 C-Octet String Fixed Length (Decimal)

    dlvrd 3 C-Octet String Fixed Length (Decimal)

    submit date 10 C-Octet String Fixed Length (Decimal)

    done date 10 C-Octet String Fixed Length (Decimal)

    stat 7 C-Octet String Fixed Length

    err 3 C-Octet String Fixed Length

    text var. max. 65 C-Octet String (Decimal)

    2 message_id submit_sm_resp PDU

  • 6. SMS ( SMS )

    Delivered

    Not Delivered

    Expired

    7.

    205 Unavailable while roaming ( ).

    1 Unknown subscriber ( ).

    5 Unidentifiend subscriber ( ).

    9 Illegal subcsriber ( ).

    11 Teleservice not provisioned ( SMS ).

    13 Call barred ( ).

    16 Illegal Supplementary Service operation ( ).

    21 Facility not supported.

    27 Absent subscriber ( ).

    31 Subscriber busy for MT-SMS ( ).

    32

    HLR, Equipment not SM equipped ( ).

    33

    HLR, Equipment protocol error ( ).

    34 System failure, 1 - HLR ( ).

    35

    HLR, Memory capacity exceeded ( ).

    36 Unexpected data value ( ).

    37 HLR, Unknown service centre ( SMS ).

    38

    PLMN, Equipment not SM equipped ( ).

    39

    PLMN, Equipment protocol error ( ).

    40

    PLMN, Memory capacity exceeded ( ).

    41 PLMN, Unknown service centre ( SMS ).

    42

    VLR, Equipment not SM equipped ( ).

    43

    VLR, Equipment protocol error ( ).

    44

    VLR, Memory capacity exceeded ( ).

    45 VLR, Unknown service centre ( SMS ).

    250 User Abort.

    251

    Outgoing MAP timeout expired ( MAP ).

    255 Fail HLR ( HLR).

  • 256 Fail VLR ( VLR).

    257 Fail PVLR ( PVLR).

    258 Fail controlling MSC ( MSC).

    259 Destination busy ( ).

    260

    HLR request timeout expired ( HLR).

    261

    Message delivery timeout expired ( ).

    262 System failure ( ).