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

Fixing error in message type #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

garronej
Copy link

Hi,
I noticed an error in the 'type' field that was always set to None for SMS-DELIVER and to a wrong value for SMS-STATUS-REPORT.

I corredcted that and added the field tp_mms and tp_udhi on the way.

I let you see if you want to merge.

Regards.

@garronej
Copy link
Author

Hi,
I also noticed that in SMS-STATUS-REPORT the time zone of TP-SCTS and TP-DT where not parsed.
What I have done is simply reproduce the block of code that retreive the TP-SCTS of SMS-DELIVER and past it ( two time ) in _decode_status_report_pdu.

It's not elegant but it fix the bug.

Regards

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

Successfully merging this pull request may close these issues.

1 participant