elibom / mokai

Messaging Gateway
20 stars 15 forks source link

Sending Long SMS #32

Closed yalomoush closed 12 years ago

yalomoush commented 12 years ago

Hi,

I tried to send a long message, but I got ie.omk.smpp.message.InvalidParameterValueException: Message is too long exception.

germanescobar commented 12 years ago

I'm implementing a solution based on this thread: http://sourceforge.net/projects/smppapi/forums/forum/84650/topic/2631877

germanescobar commented 12 years ago

Done. The SMPP Connector now divides the message if the text is more than 160 chars long and sets the required fields on each "chunk". The only requirement is that the server accepts SMPP version 3.4 (and expresses so in the bind response).

lizhi2013 commented 9 years ago

how to use http://localhost:9081/?to=855189701525&from=1877&text=%E4%BD%A0%E5%A5%BD to send LONG sms

lizhi2013 commented 9 years ago

I suggest put 160 this value to config file