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: github.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:9f10159a-c856-102c-e1aa-72ab3b06b1ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA70:327FB4:D97F45:1292194:696FF88C |
| html-safe-nonce | ca6e3ca0b8af119892309f7ad815332511fe5f49d30c620df17d6b9f7cf3cc4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTcwOjMyN0ZCNDpEOTdGNDU6MTI5MjE5NDo2OTZGRjg4QyIsInZpc2l0b3JfaWQiOiI0MzAxMzYxMzA1Nzc2ODE0MjIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bc201c2e94570921b60a809f295ce505fb0600e3de29cfa4c7231cf2395605f8 |
| 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 | 61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359 |
| 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 | 91ceb31fcdebd150222e05551caf4a28f9532341 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width