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

0.11.1 #1187

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

0.11.1 #1187

wants to merge 33 commits into from

Conversation

farirat
Copy link
Contributor

@farirat farirat commented Mar 27, 2024

Fix #

Description

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

farirat and others added 30 commits November 15, 2023 15:03
…ve. Fixed PACKAGE_VERSION in postinstall script for multiline version output - might happen on reinstalling package
Updated packaging for RPM and DEB
Rest api config to /etc/jasmin/rest-api.cfg
Update jasmind.py:
- Enable DeliverSm Thrower service
DLR for SMS with more than one segment
Moved setting DLR mas from HTTP request before interception is done.
…erver-and-REST-API

Add logging to stdout for HTTP server and REST API
udh segment_seqnum from the current part not always read it from first part
@@ -387,10 +387,10 @@ def submit_sm_resp_event(self, r, amqpMessage):

# Send DLR to DLRLookup
if r.response.status == CommandStatus.ESME_ROK:
dlr = DLR(pdu_type=r.response.id, msgid=msgid, status=r.response.status,
smpp_msgid=r.response.params['message_id'])
dlr = DLR(pdu_type=_pdu.response.id, msgid=msgid, status=_pdu.response.status,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

I recently ran an apt update and got upgraded to v0.11.1. However, it seems that this version introduced a breaking bug related to DLRs. Specifically, _pdu is set to r.request on line 296, causing issues with fetching the response correctly.

I've locally reverted this change back to r.response, which has resolved my DLRMapNotFound issues.

It seems that this code change has not been merged to master yet or released on GitHub, but it has been released via apt (jasmin-sms-gateway/jammy,now 0.11.1 all [installed]).

I can create a PR to revert this change but I wanted to query it here first.

Cheers,
Dylan

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.

None yet

6 participants