René's URL Explorer Experiment


Title: Message received handler called without actually receiving the SMS · python-smpplib/python-smpplib · Discussion #244 · GitHub

Open Graph Title: Message received handler called without actually receiving the SMS · python-smpplib/python-smpplib · Discussion #244

X Title: Message received handler called without actually receiving the SMS · python-smpplib/python-smpplib · Discussion #244

Description: Message received handler called without actually receiving the SMS

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/discussions/244

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Message received handler called without actually receiving the SMS","text":"

The handler gets called while the SMS is not received.
\nI tested it by turning flight mode on and thus disconnecting from cell services.

\n
client.set_message_received_handler(lambda pdu: handle_deliver_sm(pdu))
\n

handle_deliver_sm gets called after some time which appears to be random.

\n

I printed some fields of the DeliverSM object in hopes to see a flag or sth similar...
\nHowever, I could not find anything that seemed to be different from actually receiving the SMS

\n
client.listen(auto_send_enquire_link=False)\n...\nclient.send_message(\n            source_addr_ton=smpplib.consts.SMPP_TON_ALNUM,\n            source_addr_npi=smpplib.consts.SMPP_NPI_UNK,\n            source_addr=config.SOURCE_NAME,\n            dest_addr_ton=smpplib.consts.SMPP_TON_INTL,\n            dest_addr_npi=smpplib.consts.SMPP_NPI_ISDN,\n            destination_addr=phone_number,\n            short_message=part,\n            data_coding=encoding_flag,\n            esm_class=msg_type_flag,\n            registered_delivery=True,\n)
\n

Am I missing sth?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Turns out we have a SMSC with version 3 and the flag isn't supported until version 5.

\n

Second mistake was that the messages are actually older confirmations that haven't been processed. The SMSC seems to send those confirmations occasionally when not received yet.

","upvoteCount":0,"url":"https://github.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:28de9d6c-afda-97d0-f994-7aafff28f9f4
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idD66C:F5764:18C161E:22A4D92:696F536A
html-safe-noncec03a1a3fe762f476617420632f4b3431d34b8e35a93180b14c06db5ae7e77fe8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjZDOkY1NzY0OjE4QzE2MUU6MjJBNEQ5Mjo2OTZGNTM2QSIsInZpc2l0b3JfaWQiOiIzNTc2MTgwODQyNjI4NjAwNjgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac56c1dfc867d5a4df608030daf7a0102a2b86dfb7e51aac701faab8e2f80ccf6f
hovercard-subject-tagdiscussion:5958051
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/python-smpplib/python-smpplib/244/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/6f29b6798d6b0383a602e437681eeb17f422a4a8bc2a6995f2849811f1af7f0d/python-smpplib/python-smpplib/discussions/244
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6f29b6798d6b0383a602e437681eeb17f422a4a8bc2a6995f2849811f1af7f0d/python-smpplib/python-smpplib/discussions/244
og:image:altThe 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None49bb2ee76ae1b4ec758faefafda636ff20b05a9708bb290d28422cdf542ae979
turbo-cache-controlno-preview
go-importgithub.com/python-smpplib/python-smpplib git https://github.com/python-smpplib/python-smpplib.git
octolytics-dimension-user_id45378833
octolytics-dimension-user_loginpython-smpplib
octolytics-dimension-repository_id9441405
octolytics-dimension-repository_nwopython-smpplib/python-smpplib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9441405
octolytics-dimension-repository_network_root_nwopython-smpplib/python-smpplib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release036f37fe552777ac9c6ee661957f947285aab936
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-smpplib%2Fpython-smpplib%2Fdiscussions%2F244
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-smpplib%2Fpython-smpplib%2Fdiscussions%2F244
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=python-smpplib%2Fpython-smpplib
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
Reloadhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
python-smpplib https://patch-diff.githubusercontent.com/python-smpplib
python-smpplibhttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Fork 143 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Star 187 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-smpplib%2Fpython-smpplib
Code https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Issues 20 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/issues
Pull requests 15 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulls
Discussions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions
Actions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
Insights https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulse
Code https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib
Issues https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/issues
Pull requests https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulls
Discussions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions
Actions https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/actions
Security https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/security
Insights https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/pulse
Answered https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589
micarteyhttps://patch-diff.githubusercontent.com/micartey
micartey https://patch-diff.githubusercontent.com/micartey
Q&Ahttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/categories/q-a
Message received handler called without actually receiving the SMS https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#top
micartey https://patch-diff.githubusercontent.com/micartey
Answered https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589
micarteyhttps://patch-diff.githubusercontent.com/micartey
Return to tophttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
micartey https://patch-diff.githubusercontent.com/micartey
Dec 12, 2023 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussion-5958051
Give feedback.https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
micartey https://patch-diff.githubusercontent.com/micartey
Jan 4, 2024 https://github.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589
View full answer https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589
Oldest https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244?sort=old
Newest https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244?sort=new
Top https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
eigenein https://patch-diff.githubusercontent.com/eigenein
Dec 13, 2023 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-7846758
Give feedback.https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/micartey
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
micarteyhttps://patch-diff.githubusercontent.com/micartey
Jan 2, 2024 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-7992234
Give feedback.https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/eigenein
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
eigeneinhttps://patch-diff.githubusercontent.com/eigenein
Jan 3, 2024 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8002305
Give feedback.https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/micartey
Please reload this pagehttps://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
micarteyhttps://patch-diff.githubusercontent.com/micartey
Jan 4, 2024 https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244#discussioncomment-8012589
Give feedback.https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
eigeneinhttps://patch-diff.githubusercontent.com/eigenein
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-smpplib%2Fpython-smpplib%2Fdiscussions%2F244
🙏 Q&A https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/categories/q-a
https://patch-diff.githubusercontent.com/micartey
https://patch-diff.githubusercontent.com/eigenein
#241https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/issues/241
https://patch-diff.githubusercontent.com/python-smpplib/python-smpplib/discussions/244
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.