UDH Support on OpenSMPPBox

garz m <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAEZ6_OJ=sRSsVSrFr7JPYJtBKBiGqBRcHUVqr4VS+BrJeH+FdQ@mail.gmail.com>
Dear Users,

Greetings!

Just like to consult if our Opensmppbox service supports Apple type Push
Notification such as imessage and facetime? I have seen the correct UDH on
the PDU however I found a - maybe an error that I hope you can help check.
I'm sharing here the PDU captured:
==============================================================
DEBUG: SMPP: Got PDU:
DEBUG: SMPP PDU 0x7f1c10001270 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x00000004
DEBUG:   command_status: 0 = 0x00000000
DEBUG:   sequence_number: 128203 = 0x0001f4cb
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 1 = 0x00000001
DEBUG:   source_addr_npi: 1 = 0x00000001
DEBUG:   source_addr: "xxxxxxxxxxxx"
DEBUG:   dest_addr_ton: 1 = 0x00000001
DEBUG:   dest_addr_npi: 1 = 0x00000001
DEBUG:   destination_addr: "xxxxxxxxxxxx"
DEBUG:   esm_class: 67 = 0x00000043
DEBUG:   protocol_id: 0 = 0x00000000
DEBUG:   priority_flag: 0 = 0x00000000
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 1 = 0x00000001
DEBUG:   replace_if_present_flag: 0 = 0x00000000
DEBUG:   data_coding: 4 = 0x00000004
DEBUG:   sm_default_msg_id: 0 = 0x00000000
DEBUG:   sm_length: 90 = 0x0000005a
DEBUG:   short_message:
DEBUG:    Octet string at 0x7f1c100014d0:
DEBUG:      len:  90
DEBUG:      size: 91
DEBUG:      immutable: 0
DEBUG:      data: *06 05 04 15 79 00 00* 42 66 78 20 32 34 20 73 75
....y..Bfx 24 su
DEBUG:      data: 20 61 69 64 6c 75 65 2e 20 3f 20 32 50 76 3d 20
aidlue. ? 2Pv=
DEBUG:      data: 35 39 31 20 33 2d 38 20 39 2b 52 53 72 33 45 52   591 3-8
9+RSr3ER
DEBUG:      data: 20 38 3b 30 35 20 3d 33 6e 20 45 3d 33 20 34 31    8;05
=3n E=3 41
DEBUG:      data: 30 32 20 37 30 3d 20 31 31 33 73 20 36 42 3b 20   02 70=
113s 6B;
DEBUG:      data: 47 38 34 3b 20 30 35 43 33 2e                     G84;
05C3.
DEBUG:    Octet string dump ends.
DEBUG: SMPP PDU dump ends.
DEBUG: SMPP: UDH length read as 7
*DEBUG: Found unknown IEI 5 with length 4*
DEBUG: UDH was present, but no reference to multipart SMSs
DEBUG: Msg object at 0x7f1c10001a90:
DEBUG:  type: sms
DEBUG:  sms.sender:
DEBUG:  Octet string at 0x7f1c1000xxxx:
DEBUG:    len:  13
DEBUG:    size: 1024
DEBUG:    immutable: 0
DEBUG:    data: 2b             +
DEBUG:  Octet string dump ends.
DEBUG:  sms.receiver:
DEBUG:  Octet string at 0x7f1c1000yyyy:
DEBUG:    len:  13
DEBUG:    size: 1024
DEBUG:    immutable: 0
DEBUG:    data: 2b             +
DEBUG:  Octet string dump ends.
DEBUG:  sms.udhdata:
DEBUG:  Octet string at 0x7f1c100022e0:
DEBUG:    len:  7
DEBUG:    size: 8
DEBUG:    immutable: 0
DEBUG:    data: 06 05 04 15 79 00 00                              ....y..
DEBUG:  Octet string dump ends.
DEBUG:  sms.msgdata:
DEBUG:  Octet string at 0x7f1c100014d0:
DEBUG:    len:  83
DEBUG:    size: 91
DEBUG:    immutable: 0
DEBUG:    data: 42 66 78 20 32 34 20 73 75 20 61 69 64 6c 75 65   Bfx 24 su
aidlue
DEBUG:    data: 2e 20 3f 20 32 50 76 3d 20 35 39 31 20 33 2d 38   . ? 2Pv=
591 3-8
DEBUG:    data: 20 39 2b 52 53 72 33 45 52 20 38 3b 30 35 20 3d    9+RSr3ER
8;05 =
DEBUG:    data: 33 6e 20 45 3d 33 20 34 31 30 32 20 37 30 3d 20   3n E=3
4102 70=
DEBUG:    data: 31 31 33 73 20 36 42 3b 20 47 38 34 3b 20 30 35   113s 6B;
G84; 05
DEBUG:    data: 43 33 2e                                          C3.
DEBUG:  Octet string dump ends.
DEBUG:  sms.time: 1552605905
DEBUG:  sms.smsc_id:
DEBUG:  sms.smsc_number:
DEBUG:  sms.foreign_id:
DEBUG:  sms.service:
DEBUG:  Octet string at 0x7f1c100022b0:
DEBUG:    len:  4
DEBUG:    size: 5
DEBUG:    immutable: 0
DEBUG:    data:
DEBUG:  Octet string dump ends.
DEBUG:  sms.account:
DEBUG:  sms.id: e20f497c-cc20-45c2-b989-c9006d828d24
DEBUG:  sms.sms_type: 2
DEBUG:  sms.mclass: -1
DEBUG:  sms.mwi: -1
DEBUG:  sms.coding: 1
DEBUG:  sms.compress: 0
DEBUG:  sms.validity: -1
DEBUG:  sms.deferred: -1
DEBUG:  sms.dlr_mask: 19
DEBUG:  sms.dlr_url:
DEBUG:  sms.pid: 0
DEBUG:  sms.alt_dcs: 0
DEBUG:  sms.rpi: -1
DEBUG:  sms.charset:
DEBUG:  sms.boxc_id:
DEBUG:  Octet string at 0x7f1c10001590:
DEBUG:    len:  4
DEBUG:    size: 5
DEBUG:    immutable: 0
DEBUG:    data:
DEBUG:  Octet string dump ends.
DEBUG:  sms.binfo:
DEBUG:  sms.msg_left: -1
DEBUG:  sms.split_parts: (nil)
DEBUG:  sms.priority: 0
DEBUG:  sms.resend_try: -1
DEBUG:  sms.resend_time: -1
DEBUG:  sms.meta_data:
DEBUG:  Octet string at 0x7f1c10002310:
DEBUG:    len:  6
DEBUG:    size: 1024
DEBUG:    immutable: 0
DEBUG:    data: 3f 73 6d 70 70 3f                                 ?smpp?
DEBUG:  Octet string dump ends.
=================================================================
Setup Info:
Kannel bearerbox version `1.4.5'
Libxml version 2.9.3
Opensmppbox svn Revision: 86
OS : Ubuntu 16.04
==================================================================

Hoping someone can take a look if indeed the "unknown IEI" is an error or
not.

Thanks in advance.

Regards,

Garz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.