python-smpplib icon indicating copy to clipboard operation
python-smpplib copied to clipboard

SubmitMultiSM support

Open bhaskar-tweebr opened this issue 7 years ago • 7 comments

Is there any option to add multiple destination_addr.

bhaskar-tweebr avatar Mar 29 '19 09:03 bhaskar-tweebr

Something like this

for phone in list_phone:
    client.send_message(
        source_addr_ton=smpplib.consts.SMPP_TON_INTL,
        source_addr='SENDERPHONENUM',
        dest_addr_ton=smpplib.consts.SMPP_TON_INTL,
        destination_addr=phone,
        short_message=text,
        registered_delivery=True)

nikimaxim avatar Mar 30 '19 02:03 nikimaxim

Hi @bhaskar-tweebr,

send_message cannot support this, because behind the scenes it sends out SubmitSM which only allows one destination address.

What you need is SubmitMultiSM SMPP command, however we don't have it implemented at the moment, unfortunately.

eigenein avatar Mar 31 '19 15:03 eigenein

Thanks for the answer. Can you please let me know, how I can get DeliverySM for each number..

bhaskar-tweebr avatar Apr 01 '19 02:04 bhaskar-tweebr

Oops, somehow I've accidentally missed the message. I'm sorry. Is the question still actual?

eigenein avatar May 06 '19 14:05 eigenein

Will this ever be done?

daraul avatar Jun 10 '23 16:06 daraul

1+

sairmali avatar Dec 19 '23 06:12 sairmali