jsmpp

SMSLib: After getting NO_ROUTE, what should I do?

[亡魂溺海] 提交于 2020-01-06 13:54:12
问题 I have a webservice that receives one SMS to be delivered. One SMS = one HTTP call. That is: http://.../my-ws/?to=56998180333&body=blabla This webservice uses SMSLib, with a JSMPPGateway attached to it: JSMPPGateway gateway = new JSMPPGateway(systemType, ip, port, new BindAttributes(username, password, "cp", BindType.TRANSMITTER)); Service.getInstance().addGateway(gateway); This is done once, because getInstance() acts like a singleton. When I send SMS, I do it this way: public void send

How to use User Data in smpp?

送分小仙女□ 提交于 2019-12-11 05:39:54
问题 How to use User Data(UDH) in smpp? Now I want to send sms specified port. I use OpenSMPP as my project lib.. 回答1: Follow these steps to send UDH over SMPP: Set the UDHI bit to 1 on the esm_class field. The simplest way to do this - esm_class = esm_class | 0x40. Put UDH at the beginning of short_message field. Read on for a quick summary. See the references to know in details how to encode UDH. Here is how to encode UDH: The first byte of UDH must mention the length (in bytes) of remaining

SMS Transport sender in wso2 ESB

做~自己de王妃 提交于 2019-12-02 00:53:48
问题 Recently I read an article about Sending SMS notifications using WSo2 esb. Unfortunately it does not work for me and I am not 100% sure about some of those configurations. Following are the problems that I have. Are there any other library files, rather than the two files below, that can be used to enable SMS transport sender over SMPP? axis2-transport-sms-1.0.0.jar jsmpp-2.1.0.jar What is the actual directory into which I should put each of those jars - is it $ESB_HOME/repository/components

SMS Transport sender in wso2 ESB

不羁岁月 提交于 2019-12-01 20:23:51
Recently I read an article about Sending SMS notifications using WSo2 esb . Unfortunately it does not work for me and I am not 100% sure about some of those configurations. Following are the problems that I have. Are there any other library files, rather than the two files below, that can be used to enable SMS transport sender over SMPP? axis2-transport-sms-1.0.0.jar jsmpp-2.1.0.jar What is the actual directory into which I should put each of those jars - is it $ESB_HOME/repository/components/lib ?. Finally, what should the address endpoint for sending a specific number look like? Is it like