I tried to send SMPP message via jsmpp and all works fine. So, the
problem was in mailformed packet, which breaks bearerbox or only
smsc_fake.

Dumps text representation are attached. Which parameters are mandatory
for smsc_fake?

--
Regards,
Eugene Prokopiev
No.     Time        Source                Destination           Protocol Info
     12 2.498996    127.0.0.1             127.0.0.1             SMPP     SMPP 
Submit_sm

Frame 12: 147 bytes on wire (1176 bits), 147 bytes captured (1176 bits)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 
(00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 
(127.0.0.1)
Transmission Control Protocol, Src Port: 35584 (35584), Dst Port: 13002 
(13002), Seq: 36, Ack: 27, Len: 93
Short Message Peer to Peer, Command: Submit_sm, Seq: 2, Len: 93
    Length: 93
    Operation: Submit_sm (0x00000004)
    Sequence #: 2
    Service type: CMT
    Type of number (originator): National (0x02)
    Numbering plan indicator (originator): ISDN (E163/E164) (0x01)
    Originator address: +0079185847476
    Type of number (recipient): National (0x02)
    Numbering plan indicator (recipient): ISDN (E163/E164) (0x01)
    Recipient address: Hello
    .... ..00 = Messaging mode: Default SMSC mode (0x00)
    ..00 00.. = Message type: Default message type (0x00)
    00.. .... = GSM features: No specific features selected (0x00)
    Protocol id.: 0x00
    Priority level: GSM: None      ANSI-136: Bulk         IS-95: Normal (0x00)
    Scheduled delivery time: Sep  9, 2012 13:21:33.300000000 MSK
    Validity period: SMSC default validity period
    .... ..00 = Delivery receipt: No SMSC delivery receipt requested (0x00)
    .... 00.. = Message type: No recipient SME acknowledgement requested (0x00)
    ...0 .... = Intermediate notif: No intermediate notification requested 
(0x00)
    .... ...0 = Replace: Don't replace (0x00)
    Data coding: 0x11
        SMPP Data Coding Scheme: Unknown (0x11)
        GSM SMS Data Coding
        0001 .... = DCS Coding Group for SMS: SMS DCS: General Data Coding 
indication - Uncompressed text (0x01)
        ..0. .... = DCS Text compression: Uncompressed text
        ...1 .... = DCS Class present: Message class is present
        .... 00.. = DCS Character set: GSM 7-bit default alphabet (0x00)
        .... ..01 = DCS Message class: Class 1 - ME specific (0x01)
        GSM CBS Data Coding
        0001 .... = DCS Coding Group for CBS: CBS DCS: Language indication at 
beginning of message (0x01)
        ..01 0001 = DCS CBS Message language: UCS-2 (16-bit) - message preceded 
by language indication (0x11)
    Predefined message: 0
    Message length: 22
    Message
No.     Time        Source                Destination           Protocol Info
      8 1.005229    127.0.0.1             127.0.0.1             SMPP     SMPP 
Submit_sm

Frame 8: 111 bytes on wire (888 bits), 111 bytes captured (888 bits)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 
(00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 
(127.0.0.1)
Transmission Control Protocol, Src Port: 35587 (35587), Dst Port: 13002 
(13002), Seq: 32, Ack: 27, Len: 57
Short Message Peer to Peer, Command: Submit_sm, Seq: 2, Len: 57
    Length: 57
    Operation: Submit_sm (0x00000004)
    Sequence #: 2
    Service type: (Default)
    Type of number (originator): Unknown (0x00)
    Numbering plan indicator (originator): Unknown (0x00)
    Type of number (recipient): Unknown (0x00)
    Numbering plan indicator (recipient): Unknown (0x00)
    Recipient address: +44206064379
    .... ..00 = Messaging mode: Default SMSC mode (0x00)
    ..00 00.. = Message type: Default message type (0x00)
    00.. .... = GSM features: No specific features selected (0x00)
    Protocol id.: 0x00
    Priority level: GSM: None      ANSI-136: Bulk         IS-95: Normal (0x00)
    Scheduled delivery time: Immediate delivery
    Validity period: SMSC default validity period
    .... ..00 = Delivery receipt: No SMSC delivery receipt requested (0x00)
    .... 00.. = Message type: No recipient SME acknowledgement requested (0x00)
    ...0 .... = Intermediate notif: No intermediate notification requested 
(0x00)
    .... ...0 = Replace: Don't replace (0x00)
    Data coding: 0x00
        SMPP Data Coding Scheme: SMSC default alphabet (0x00)
        GSM SMS Data Coding
        0000 .... = DCS Coding Group for SMS: SMS DCS: General Data Coding 
indication - Uncompressed text, no message class (0x00)
        ..0. .... = DCS Text compression: Uncompressed text
        ...0 .... = DCS Class present: No message class
        .... 00.. = DCS Character set: GSM 7-bit default alphabet (0x00)
        GSM CBS Data Coding
        0000 .... = DCS Coding Group for CBS: CBS DCS: Language using the GSM 
7-bit default alphabet (0x00)
        ..00 0000 = DCS CBS Message language: German (0x00)
    Predefined message: 0
    Message length: 12
    Message

Reply via email to