Re: UDH Support on OpenSMPPBox

garz m <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CAEZ6_OJxhCCh3_Rjctc2zBJBGTfN8n4RYiycpufDipg0dHyj4A@mail.gmail.com>
Hi Davor,

Thanks for the response. No, i'm not. I'm seeing ESME's seeing PDU like i'd
shared more often now. I think their purpose is to notify via SMPP Apple
devices.

Regards

On Thu, Mar 21, 2019 at 3:27 PM Davor Spasoski <[email protected]>
wrote:

> Are you trying to reverse engineer iMessage? I don't think it uses MAP for
> that purpose. iMessage is available only on Wi-Fi/Cellular data, it’s
> something proprietary to Apple and I’d even be surprised if it’s related to
> RCS. Can you shed some light if you know the insights?
>
> Cheers
>
> On Mar 21, 2019, at 2:27 AM, garz m <[email protected]> wrote:
>
> 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
>
>
>
> ------------------------------
>
> Disclaimer: one.Vip DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. one.Vip DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: оне.Вип ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. оне.Вип ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>
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.