Skip to content

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
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.

6 participants