Title: Message received handler called without actually receiving the SMS · Issue #241 · python-smpplib/python-smpplib · GitHub
Open Graph Title: Message received handler called without actually receiving the SMS · Issue #241 · python-smpplib/python-smpplib
X Title: Message received handler called without actually receiving the SMS · Issue #241 · python-smpplib/python-smpplib
Description: The handler gets called while the SMS is not received. I tested it by turning flight mode on and thus disconnecting from cell services. client.set_message_received_handler(lambda pdu: handle_deliver_sm(pdu)) handle_deliver_sm gets called...
Open Graph Description: The handler gets called while the SMS is not received. I tested it by turning flight mode on and thus disconnecting from cell services. client.set_message_received_handler(lambda pdu: handle_delive...
X Description: The handler gets called while the SMS is not received. I tested it by turning flight mode on and thus disconnecting from cell services. client.set_message_received_handler(lambda pdu: handle_delive...
Opengraph URL: https://github.com/python-smpplib/python-smpplib/issues/241
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Message received handler called without actually receiving the SMS","articleBody":"The handler gets called while the SMS is not received.\r\nI tested it by turning flight mode on and thus disconnecting from cell services.\r\n\r\n```python\r\nclient.set_message_received_handler(lambda pdu: handle_deliver_sm(pdu))\r\n```\r\n\r\n`handle_deliver_sm` gets called after some time which appears to be random.\r\n\r\nI printed some fields of the `DeliverSM` object in hopes to see a flag or sth similar...\r\nHowever, I could not find anything that seemed to be different from actually receiving the SMS\r\n\r\n```python\r\nclient.listen(auto_send_enquire_link=False)\r\n...\r\nclient.send_message(\r\n source_addr_ton=smpplib.consts.SMPP_TON_ALNUM,\r\n source_addr_npi=smpplib.consts.SMPP_NPI_UNK,\r\n source_addr=config.SOURCE_NAME,\r\n dest_addr_ton=smpplib.consts.SMPP_TON_INTL,\r\n dest_addr_npi=smpplib.consts.SMPP_NPI_ISDN,\r\n destination_addr=phone_number,\r\n short_message=part,\r\n data_coding=encoding_flag,\r\n esm_class=msg_type_flag,\r\n registered_delivery=True,\r\n)\r\n```\r\n\r\nAm I missing sth?","author":{"url":"https://github.com/micartey","@type":"Person","name":"micartey"},"datePublished":"2023-12-12T12:42:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/241/python-smpplib/issues/241"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7291a0a9-491d-b480-35bc-325d512cdf63 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACEE:303691:705188:9EFF6C:696F8863 |
| html-safe-nonce | cab9bbe5d8c648ab6318eaf7ee25daa91ddfc28b2f9f4c9d309a5c3b5cf11ae4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0VFOjMwMzY5MTo3MDUxODg6OUVGRjZDOjY5NkY4ODYzIiwidmlzaXRvcl9pZCI6IjcxNjU5Mjg4MTk0NTY0NDQ1MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 79cc5eb9a5d7898564545ff1111252d976a9e73393ed0193566f7846d095145d |
| hovercard-subject-tag | issue:2037675292 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-smpplib/python-smpplib/241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41e78e422b88eeccc70ff37e7e744db03bc44122ba3d4efcbaf1992fcd65a283/python-smpplib/python-smpplib/issues/241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41e78e422b88eeccc70ff37e7e744db03bc44122ba3d4efcbaf1992fcd65a283/python-smpplib/python-smpplib/issues/241 |
| og:image:alt | The handler gets called while the SMS is not received. I tested it by turning flight mode on and thus disconnecting from cell services. client.set_message_received_handler(lambda pdu: handle_delive... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | micartey |
| hostname | github.com |
| expected-hostname | github.com |
| None | c1b02b4e3a8edff2fe0bd71b0551654be66034591c7ab65aaaaf61a6096862d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-smpplib/python-smpplib git https://github.com/python-smpplib/python-smpplib.git |
| octolytics-dimension-user_id | 45378833 |
| octolytics-dimension-user_login | python-smpplib |
| octolytics-dimension-repository_id | 9441405 |
| octolytics-dimension-repository_nwo | python-smpplib/python-smpplib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9441405 |
| octolytics-dimension-repository_network_root_nwo | python-smpplib/python-smpplib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a1073fcc34432ac33cec03885ff2d96920686de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width