After a successful connection to the server after sending the message, the result does not come to the user. There are no errors when sending. But in reality, the message is not delivered.

private final static String TELEPHONE_NUMBER = "380954458675"; GeneralDataCoding coding = new GeneralDataCoding( Alphabet.ALPHA_UCS2, MessageClass.CLASS0, false); String messageId = session.submitShortMessage( "CMT", TypeOfNumber.ALPHANUMERIC, NumberingPlanIndicator.UNKNOWN, "ACME", TypeOfNumber.NATIONAL, NumberingPlanIndicator.NATIONAL, TELEPHONE_NUMBER, new ESMClass(), (byte)0, // (byte)0 (byte)1, // (byte)1 null, null, new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT), (byte)0, // (byte)0 coding, (byte)0, "jSMPP simplify SMPP on Java platform".getBytes()); 

I tried different formats of the phone number 380 , +380 , 81038 but the message is not delivered.

Also after sending the method works: onAcceptDeliverSm

  • How for what? Username and password from the SMPP server. What is yours? - Sergey Gornostaev
  • And there is a server with a trial period, or with a limited number of sms. In which provide a username and password.? - JAVAvladuxa
  • There are free servers. For example. kannel . Connect a mobile phone or a 3G modem to the machine, set up a server and you can send it. You can connect the kannel not to the device, but to the upstream smpp-server of the OPPS. But this is money and compliance with stringent requirements. Or you can not install a local server at all, but use a stranger. Google gives a lot of options for the query "SMPP server". Someone may have a trial. - Sergey Gornostaev
  • Thanks found SMPP server with 10 free sms. But the message is not delivered, although there are no errors when sending. The question description has changed. - JAVAvladuxa
  • @JAVAvladuxa, do not share the link to the SMPP сервер с 10 бесплатными смс ? - Anatol

0