Title: Hi everyone ) · Issue #210 · python-smpplib/python-smpplib · GitHub
Open Graph Title: Hi everyone ) · Issue #210 · python-smpplib/python-smpplib
X Title: Hi everyone ) · Issue #210 · python-smpplib/python-smpplib
Description: #!/usr/bin/env python3 import sys reload(sys) sys.setdefaultencoding('utf-8') import smpplib.gsm import smpplib.client import smpplib.consts def send_message(source, dest): client = smpplib.client.Client('[127.0.0.1](https://127.0.0.1/)'...
Open Graph Description: #!/usr/bin/env python3 import sys reload(sys) sys.setdefaultencoding('utf-8') import smpplib.gsm import smpplib.client import smpplib.consts def send_message(source, dest): client = smpplib.client....
X Description: #!/usr/bin/env python3 import sys reload(sys) sys.setdefaultencoding('utf-8') import smpplib.gsm import smpplib.client import smpplib.consts def send_message(source, dest): client = smpplib...
Opengraph URL: https://github.com/python-smpplib/python-smpplib/issues/210
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hi everyone )","articleBody":"```\r\n#!/usr/bin/env python3\r\nimport sys\r\nreload(sys)\r\nsys.setdefaultencoding('utf-8')\r\n\r\nimport smpplib.gsm\r\nimport smpplib.client\r\nimport smpplib.consts\r\n\r\ndef send_message(source, dest):\r\n client = smpplib.client.Client('[127.0.0.1](https://127.0.0.1/)', 2775)\r\n client.set_message_sent_handler(\r\n lambda pdu: sys.stdout.write('sent {} {}\\n'.format(pdu.sequence, pdu.message_id)))\r\n client.set_message_received_handler(\r\n lambda pdu: sys.stdout.write('delivered {}\\n'.format(pdu.receipted_message_id)))\r\n client.connect()\r\n client.bind_transceiver(system_id='OSMO-SMPP', password='1234')\r\n string = '\\x02\\x70\\x00\\x00\\x0e\\x0d\\x00\\x21\\x00\\x00\\xb2\\x00\\x00\\xaa\\xbb\\xcc\\xdd\\xee\\x00'\r\n coding = 0xf6\r\n pdu = client.send_message(\r\n msg_type=smpplib.consts.SMPP_MSGTYPE_USERACK,\r\n source_addr_ton=smpplib.consts.SMPP_TON_INTL,\r\n source_addr_npi=smpplib.consts.SMPP_NPI_ISDN,\r\n source_addr=source,\r\n dest_addr_ton=smpplib.consts.SMPP_TON_INTL,\r\n dest_addr_npi=smpplib.consts.SMPP_NPI_ISDN,\r\n destination_addr=dest,\r\n short_message=string,\r\n data_coding= sms_cod,\r\n protocol_id = 0x41,\r\n esm_class=smpplib.consts.SMPP_GSMFEAT_UDHI,\r\n registered_delivery=False,\r\n )\r\n \r\n\r\nif name == \"main\":\r\n source = sys.argv[1]\r\n dest = sys.argv[2]\r\n send_message(source, dest)\r\n```\r\nHi , maybe someone has a working copy of this code ?\r\n\r\ni need to send\r\n010007919 32350591211 0026 44 0c919 32390026xxxx 7ff6117042711404e113 0270 00000e0d 0021 0000b20000aabbccddee00","author":{"url":"https://github.com/jhonnybonny","@type":"Person","name":"jhonnybonny"},"datePublished":"2022-10-07T19:38:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/210/python-smpplib/issues/210"}
| 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:7805f4be-3235-3419-9481-f3d3845b6360 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAA6:13D6E:14518EA:1B2FF06:6970618D |
| html-safe-nonce | 1d74a6317ae381d276dcac87d5402ca48d71fc16e790b4c91d1470eaf627705e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUE2OjEzRDZFOjE0NTE4RUE6MUIyRkYwNjo2OTcwNjE4RCIsInZpc2l0b3JfaWQiOiIyMjQ1MDMzNTYyNjMwODA3OTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7cb1d6c50d98aa273ddbdbaca36bc550605a0cbd4e50f13fbeb86289d38d9f0a |
| hovercard-subject-tag | issue:1401596170 |
| 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/210/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6569fdf61e6385ed8ee385d26f5b506e6eb03c5a97eb4cbe148e739830a650ca/python-smpplib/python-smpplib/issues/210 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6569fdf61e6385ed8ee385d26f5b506e6eb03c5a97eb4cbe148e739830a650ca/python-smpplib/python-smpplib/issues/210 |
| og:image:alt | #!/usr/bin/env python3 import sys reload(sys) sys.setdefaultencoding('utf-8') import smpplib.gsm import smpplib.client import smpplib.consts def send_message(source, dest): client = smpplib.client.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhonnybonny |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width