<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Why is that? </p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">In short, I guess I was thinking to work around what looks like a big failure in the python-smpplib; in that it is expecting the response to the _last_ message _it_ sent in the _next_ received PDU, whereas, with many LURs/sec going on, it often gets an alert_notification. :(</p><p style="white-space: pre-wrap; word-wrap: break-word;">This can even happen on the bind_transmitter command</p><p style="white-space: pre-wrap; word-wrap: break-word;">So I figured, bind it as a transmitter and we won't get "unsolicited" PDUs</p><p style="white-space: pre-wrap; word-wrap: break-word;">But you are right, I misinterpreted the spec:</p><p style="white-space: pre-wrap; word-wrap: break-word;">"An ESME indicates its desire not to receive (mobile) originated messages from other SME’s<br>(e.g. mobile stations) by binding as a Transmitter."</p><p style="white-space: pre-wrap; word-wrap: break-word;">it says MO messages, says nothing about alert notifications.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Hmm.. I know we really don't want to work around other software's bugs, but given the lack of SMPP libraries out there, I wonder if this could become an obscure smpp config option useful to anybody.</p><p style="white-space: pre-wrap; word-wrap: break-word;">"no tx-to-transmitter" or some such. </p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm guessing we /really/ don't want to go down that road. :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">So.. the other patch that allows to exclude an ESME will help in binding an ESME in tranceiver mode for SMS but I guess python-smpplib HAS to be fixed, otherwise you cannot ever get away from this transaction possibility:</p><p style="white-space: pre-wrap; word-wrap: break-word;">ESME -> bind_transmitter - > SMSC<br>SMSC -> alert_notification - > ESME<br>ESME "huh I was expecting bind_transmitter_resp?"</p><p><a href="https://gerrit.osmocom.org/12599">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12599">change 12599</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12599"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Iec92d4c145ca050c2e212139572eeaae581b99df </div>
<div style="display:none"> Gerrit-Change-Number: 12599 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Keith Whyte <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Keith Whyte <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 17 Jan 2019 13:59:05 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>