Skip to content
Discussion options

You must be logged in to vote

I can't see your send_single_sms( ) function
I assume that you have registered_delivery = True in client.send_message( ) function
client.send_message( source_addr_ton=smpplib.consts.SMPP_TON_INTL, #source_addr_npi=smpplib.consts.SMPP_NPI_ISDN, # Make sure it is a byte string, not unicode: source_addr='SENDERPHONENUM', dest_addr_ton=smpplib.consts.SMPP_TON_INTL, #dest_addr_npi=smpplib.consts.SMPP_NPI_ISDN, # Make sure thease two params are byte strings, not unicode: destination_addr='PHONENUMBER', short_message=part, data_coding=encoding_flag, esm_class=msg_type_flag, registered_delivery=True, )

This causes smpp server to send Delivery Reports
and then setmessage_received_handler() is call…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eigenein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #183 on November 20, 2021 14:10.