farhadi / node-smpp

SMPP client and server implementation in node.js
MIT License
417 stars 177 forks source link

not sent multi-parts (concatended) sms #218

Closed hnor closed 1 year ago

hnor commented 2 years ago

It is very good, but it is not very useful because it cannot send multi-part SMS. I also tried, but it did not work because the design model does not allowed append udh and when you change the esm-class to 40 or 0x40, a blank text is sent

guicuton commented 2 years ago

For concatenation you can pass udh and message as parameter of short_message sent on submit_sm like:

short_message: {
    udh: part
    message: message
}

See a example here: https://github.com/farhadi/node-smpp/issues/56#issuecomment-267620589

Also, you need check with your provider if they support UDH for concatenation, if not, you'll have to send the "splited" message by your own

hnor commented 2 years ago

tanks for answer i test it and not worked

On Thu, Aug 4, 2022 at 11:37 PM Guilherme Mascarenhas < @.***> wrote:

For concatenation you can pass udh and message as parameter of short_message sent on submit_sm like:

short_message: { udh: part message: message}

See a example here: #56 (comment) https://github.com/farhadi/node-smpp/issues/56#issuecomment-267620589

Also, you need check with your provider if they support UDH for concatenation, if not, you'll have to send the "splited" message by your own

— Reply to this email directly, view it on GitHub https://github.com/farhadi/node-smpp/issues/218#issuecomment-1205665044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKNUVQQEGYIIWQYYL7MDGTVXQIIDANCNFSM55NTR2HQ . You are receiving this because you authored the thread.Message ID: @.***>

guicuton commented 2 years ago

tanks for answer i test it and not worked

On Thu, Aug 4, 2022 at 11:37 PM Guilherme Mascarenhas < @.***> wrote:

For concatenation you can pass udh and message as parameter of short_message sent on submit_sm like:

short_message: { udh: part message: message}

See a example here: #56 (comment) https://github.com/farhadi/node-smpp/issues/56#issuecomment-267620589

Also, you need check with your provider if they support UDH for concatenation, if not, you'll have to send the "splited" message by your own

— Reply to this email directly, view it on GitHub https://github.com/farhadi/node-smpp/issues/218#issuecomment-1205665044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKNUVQQEGYIIWQYYL7MDGTVXQIIDANCNFSM55NTR2HQ . You are receiving this because you authored the thread.Message ID: @.***>

Share your code With code it would be more easy to help

hnor commented 1 year ago

ممنون آقای فرهادی مجددا تست کردم و کارکرد.متشکرم dear Mr farhadi tanks i test it again and its worked

On Tue, Aug 9, 2022 at 1:44 AM Hamid Norouzi @.***> wrote:

tanks for answer i test it and not worked

On Thu, Aug 4, 2022 at 11:37 PM Guilherme Mascarenhas < @.***> wrote:

For concatenation you can pass udh and message as parameter of short_message sent on submit_sm like:

short_message: { udh: part message: message}

See a example here: #56 (comment) https://github.com/farhadi/node-smpp/issues/56#issuecomment-267620589

Also, you need check with your provider if they support UDH for concatenation, if not, you'll have to send the "splited" message by your own

— Reply to this email directly, view it on GitHub https://github.com/farhadi/node-smpp/issues/218#issuecomment-1205665044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKNUVQQEGYIIWQYYL7MDGTVXQIIDANCNFSM55NTR2HQ . You are receiving this because you authored the thread.Message ID: @.***>