Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hasattr(pdu, "nextPdu") always return False for multiple parts SMS #1238

Open
kimseasok opened this issue Nov 4, 2024 · 1 comment
Open

Comments

@kimseasok
Copy link
Contributor

kimseasok commented Nov 4, 2024

I've been trying to intercept the submit PDU and log the content to the database. However, I cannot access to the next part of the PDU. The below are the output of the print out console.

`jasmin | service_type: b''

jasmin | source_addr_ton: <AddrTon.ALPHANUMERIC: 6>

jasmin | source_addr_npi: <AddrNpi.UNKNOWN: 1>

jasmin | source_addr: b'PlasGateUAT'

jasmin | dest_addr_ton: <AddrTon.INTERNATIONAL: 2>

jasmin | dest_addr_npi: <AddrNpi.UNKNOWN: 1>

jasmin | destination_addr: b'855972432661'

jasmin | esm_class: EsmClass[mode: EsmClassMode.DEFAULT, type: EsmClassType.DEFAULT, gsmFeatures: {<EsmClassGsmFeatures.UDHI_INDICATOR_SET: 1>}]

jasmin | protocol_id: 0

jasmin | priority_flag: <PriorityFlag.LEVEL_0: 1>

jasmin | schedule_delivery_time: None

jasmin | validity_period: None

jasmin | registered_delivery: RegisteredDelivery[receipt: RegisteredDeliveryReceipt.NO_SMSC_DELIVERY_RECEIPT_REQUESTED, smeOriginatedAcks: set(), intermediateNotification: False]

jasmin | replace_if_present_flag: <ReplaceIfPresentFlag.DO_NOT_REPLACE: 1>

jasmin | data_coding: DataCoding[scheme: DataCodingScheme.DEFAULT, schemeData: DataCodingDefault.UCS2]

jasmin | sm_default_msg_id: 0

jasmin | short_message: b"\x05\x00\x03\x02\x02\x01Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text e"`

@marcinkowalczyk
Copy link

marcinkowalczyk commented Dec 23, 2024

Have a look into this one #1122 (comment) on interceptor use nextPdu. Works fine with 0.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants